等会帮你编一个。
编好了:
data segment
x dw ?
y dw ?
z dw ?
w dw ?
data ends
stack segment stack
db 32 dup(?)
stack ends
code segment
assume cs:code,ds:data
start: mov ax,data
mov ds,ax
mov ax,x
push ax
mov bx,y
imul bx
add ax,z
adc dx,0
mov cx,dx
mov bx,ax
mov dx,0
mov ax,w
add ax,540
adc dx,0
sub ax,bx
sbb dx,cx
pop bx
idiv bx
nop
code ends
end start
温馨提示:内容为网友见解,仅供参考