SUBTRACTION OF TWO 16-BIT NUMBERS

PROGRAM:
LXI B,2030H
LXI D,0666H
MOV A,C
SUB E
MOV L,A
MOV A,B
SBB D
MOV H,A
SHLD 0000H
HLT


ALGORITHM:

No comments:

Post a Comment