Question:

Add the two numbers 87H and 79H in the 8085 microprocessors, then

Show Hint

In binary addition, if there is a carry out of the most significant bit, the carry flag is set to 1. If the result is zero, the zero flag is set.
Updated On: May 5, 2025
  • Carry flag = 0 and zero flag = 0
  • Carry flag = 0 and zero flag = 1
  • Carry flag = 1 and zero flag = 0
  • Carry flag = 1 and zero flag = 1
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

When adding the two hexadecimal numbers 87H and 79H, the result is 100H. The carry flag is set to 1 because the result exceeds the maximum value that can be stored in an 8-bit register (FFH). The zero flag is 0 because the result is non-zero.
Was this answer helpful?
0
0