Open In App

Register content and Flag status after Instructions

Basically, you are given a set of instructions and the initial content of the registers and flags of 8085 microprocessor. You have to find the content of the registers and flag status after each instruction.

Initially,



Below is the set of the instructions:

SUB A
MOV B, A
DCR B
INR B
SUI 01H
HLT 


Assumption:
Each instruction will use the result of the previous instruction for registers. Following is the description of each instruction with register content and flag status:



Article Tags :