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