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.


                                                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.


                                              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
Write a program that defines symbolic constants for all of the days of the week

Write a program to calculate the first 20 numbers of Fibonacci series. Use the stack (memory) to store the calculated series. Your debugger output should look like the following sc

8088  Timing System Diagram The 8088 address/data  bus is divided  in 3 parts (a) the lower 8 address/data  bits, (b) the middle 8 address bits, and (c) the upper 4 status/

Prime Finder - assembly program: Problem:  Prime Finder   In this problem you will write a small program that tests whether a given integer is a prime number or not.  Let's

Print Media Advertising (PMA) has been providing a contract to market Buzz Cola via newspaper ads in a main southern newspaper. Full-page ads in the weekday editions (Monday throug

CMP: Compare: - This instruction compares the source operand, which can be a register or memory location an immediate data with a destination operand that might be a register or a


Write a program to merge two sorted arrays to create a third sorted array containing all values from the two original arrays. Merge is a key component to the mergesort algorithm.

For an 8088 the 2 addresses linked with an 8259A are normally consecutive, and the AO line is associated to the AO pin, but because there are just 8 data pins on the 8259A and the

When Seen in the choir, Terry was the picture of an angelic devil. I have to underline the predicate twice