Saved Bookmarks
| 1. |
In 8085 microprocessor which of the following flag(s) is (are) affected by an arithmetic operation ?1. AC flag Only2. CY flag Only3. Z flag Only4. AC, CY, Z flags |
|
Answer» Correct Answer - Option 4 : AC, CY, Z flags The correct answer is option 4 All the Carry flag (CY), Auxiliary carry flag (AC) and Zero flag (Z) are affected when an arithmetic operation is performed. Auxiliary carry flag (AC): In the addition of two 8 bit hexadecimal numbers, if a carry occurs when the LS hex digits of the two numbers are added, then such a carry is called Auxiliary carry and AC flag is set. Carry flag (CY): Carry flag is set when two 8 bit numbers are added and the result has a carry. Zero flag (Z): Zero flag is set when any arithmetic operation is performed and the result is 00H. |
|