Write an assembly language program to determine (i) AND & (ii) XOR operation on two data bytes which are stored in general purpose registers. Store the result in memory location 8500H & 8501H, respectively.
#ORG 8000H
START: MVI B,FFH
MVI C,0FH
MOV A,C
ANA B
STA 8500H
MOV A,C
XRA BSTA 8501H
HLT
Post a Comment
0 Comments