|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
data segment
mulnum dw 0000,0ffffh,0000,0ffffh,4 dup(?)
data ends
stack segment para stack'stack'
db 100 dup(?)
stack ends
code segment
assume cs:code,ds:data,
ss:stack,es:data
start proc far
begin: push ds
mov ax,0
push ax
mov ax,data
mov ds,ax
mov es,ax
lea bx,mulnum
mulu32: mov ax,[bx]
mov si,[bx+4]
mov di,[bx+6]
mul si
mov [bx+8],ax
mov [bx+0ah],dx
mov ax,[bx+2]
mul si
add ax,[bx+0ah]
adc dx,0
mov [bx+0ah],ax
mov [bx+0ch],dx
mov ax,[bx]
mul di
add ax,[bx+0ah]
adc dx,[bx+0ch]
mov [bx+0ah],ax
mov [bx+0ch],dx
pushf
mov ax,[bx+2]
mul di
popf
adc ax,[bx+0ch]
adc dx,0
mov [bx+0ch],ax
mov [bx+0eh],dx
ret
start endp
code ends
end begin
为什么在MSAM上link时会出错!!!!!!!
求助大佬们,在线等
|
|