MICROPROCESSOR AND MICROCONTROLLER

8051 INSTRUCTION SET ADDRESSING MODES

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following flag set, if the result is greater than 255 (if the most-significant byte is not zero), otherwise it is cleared?
A
Overflow flag
B
Carry flag
C
Parity flag
D
Auxiliary carry flag
Explanation: 

Detailed explanation-1: -Sign flag (S) = 0. Carry flag (CY) = no change. Zero flag (Z) = 1.

Detailed explanation-2: -Zero flag (Z): The Z flag is set to 1, if after arithmetic and logical operations, the 8-bit result thus produced, is 00H. If the 8-bit result is not equal to 00H, the Z flag is reset to 0. Thus the Z flag is hoisted to indicate that the result is 0.

There is 1 question to complete.