MVI A,0BH // MOVE IMMEDIATE DATA 0B TO ACCUMULATOR
MVI C,08H // MOVE IMMEDIATE DATA 0B TO REGISTER C
ADD C // ADD THE CONTENT OF C TO ACCUMULATOR (A<-- A+C)
MOV B,A // COPY THE CONTENT OF ACCUMULATOR TO REGISTER B [(B<--A which is 13 ( in binary 0001 0011)]
so after execution above program code result is : 13 = ( 0001 0011)
1 Answer