Assignment 4
Assignment 4
Assignment 4
Assignment 4
Computer Architecture and Organization (230401)
Department of Information Technology (IT-IOT)
Program:
MVI A, Data
MVI B, 64 H
MVI C, C8 H
CMP B
JC RJCT
CMP C
JNC RJCT
OUT PORT 1
HLT
RJCT: SUB A
OUT PORT 1
HLT
Q. 9. Find content of Accumulator after line 4. Also, find PSW after line 8
MVI A, B5 H
MVI B, 0E H
XRI 69 H
ADD B
ANI 9B H
CPI 9F H
STA 3010 H
HLT