8085 MICROPROCESSOR
FEATURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
11010100
|
|
01010011
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -A Right Arithmetic Shift of one position moves each bit to the right by one. The least significant bit is discarded and the vacant MSB is filled with the value of the previous (now shifted one position to the right) MSB.
Detailed explanation-2: -The ROR instruction shifts each bit to the right, with the lowest bit copied in the Carry flag and into the highest bit. The RCL (Rotate and Carry Left) instruction shifts each bit to the left, copies the Carry flag to the least significant bit and copies the most significant bit into the Carry flag.
Detailed explanation-3: -Logical right shift means shifting the bits to the right and MSB(most significant bit) becomes 0. Example: Logical right shift of number 1 0 1 1 0 1 0 1 is 0 1 0 1 1 0 1 0. Arithmetic right shift means shifting the bits to the right and MSB(most significant bit) is same as in the original number.
Detailed explanation-4: -Yup right shift by 3 will be 0000 1000.