Rcr-rcl-logic instruction-microprocessor, Assembly Language

RCR: Rotate Right through Carry:- This instruction rotates the contents  bit-wise of the destination operand right by the specified count through carry flag (CF). For each operation, the carry flag is pushed into the MSB of the operand and the LSB is pushed into carry flag.  Remaining bits are shifted right by the specified count positions. The PF, SF, ZF are not changed. The operand can be or memory location or a register. Given figure explains this operation.

1974_RCR.jpg

                                                Figure: Execution of RCR Instruction

 

RCL: Rotate Left through Carry:- This instruction rotates bit-wise the contents of the destination operand left by the specified count through the carry flag (CF). For each operation, the carry flag is pushed into LSB, and the MSB is pushed into the carry flag. Remaining bits are shifted left by the mention positions. The PF, SF, ZF are left operation. The operand can be memory location or a register. Given figure explains the operation.

1112_RCL.jpg

                                              Figure: Execution of RCL Instruction

The count for shifting or rotation is either 1 or is specified by using register CL, in case of all of the rotate and shift instructions.

 

Posted Date: 10/12/2012 3:12:40 AM | Location : United States







Related Discussions:- Rcr-rcl-logic instruction-microprocessor, Assignment Help, Ask Question on Rcr-rcl-logic instruction-microprocessor, Get Answer, Expert's Help, Rcr-rcl-logic instruction-microprocessor Discussions

Write discussion on Rcr-rcl-logic instruction-microprocessor
Your posts are moderated
Related Questions
CALL : Unconditional Call:- This instruction is utilized to call a subroutine from a basic program. In case of assembly language programming, the term procedure is utilized int

The 486 Introduced in the year 1989 the 80486 did not feature any radically new processor technology. Instead, it joints a 386 processor, a cache memory controller and a math c

SEG : Segment of a Label:- The SEG operator is which is used to decide the segment address of the, variable, label or procedure and substitutes the segment base address in plac

You have to write a subroutine (assembly language code using NASM) for the following equation.

Intel 8259 interrupt controller :  The 8088 processor has only two interrupt control inputs, and interrupt request (INTR) and non mask able interrupt (NMI). NMI are interrupts t

NAME : Logical Name of a Module: The NAME directive which is used to assign a name to an assembly language program module. The modulecan now be mention to by its declared name.

RCR: Rotate Right through Carry:- This instruction rotates the contents  bit-wise of the destination operand right by the specified count through carry flag (CF). For each operati

Write an assembly language program that defines symbolic constants for all seven days of the week

Write a MC68HC12 assembly language program to average ten 16-bit values that are stored starting at address $1100. Place the two-byte result at $1110. Use indexed addressing. Us

INTO : Interrupt on Overflow:- It is executed, when the overflow flag OF is set. The new contents of IP and CS register are taken from the address 0000:0000 as described in INT