data segment
n1 dw 3333h
n2 dw 2222h
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov ax,n1
div n2
int 03h
code ends
end start
n1 dw 3333h
n2 dw 2222h
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov ax,n1
div n2
int 03h
code ends
end start
No comments:
Post a Comment