Write an assembly Language Programming for division of integer numbers.
data segment
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov al,24
mov bl,20
idiv bl
mov dx,ax
mov ax, 4c00h
int 21h
ends
end start
data segment
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov al,24
mov bl,20
idiv bl
mov dx,ax
mov ax, 4c00h
int 21h
ends
end start
No comments:
Post a Comment