Assembly Programs
Assembly Programs
Assembly Programs
Output:
Memory after execution of code:
Input:
ADD_LOOP: MOV A, M
ADD B
MOV B, A
INX H
DCR C
JNZ ADD_LOOP
STA 111
LDA 2050
CALL Add
MVI C,00
LDA 2051
CALL Sub
LXI H,2058;
CALL Mul
HLT
Output: