ALP for subtraction of two 8 bit numbers using indirect addressing mode - Code

Latest

programs

Friday, October 7, 2011

ALP for subtraction of two 8 bit numbers using indirect addressing mode


ALP for subtraction of two 8 bit numbers using indirect addressing mode


data segment
first db ?
second db ?
diff db 1 dup(0)
data ends
code segment
assume cs:code, ds:data
start:
mov al,first
mov bl,second
sub al,bl
mov diff,al
code ends
end start

No comments:

Post a Comment