按理说结果应该是3次冪,为什么debug调试的结果是4次冪
assume cs:code,ds:datadata segment
dw 1,2,3,4,5,6,7,8
dd 0,0,0,0,0,0,0,0
data ends
code segment
start:
mov ax,data
mov ds,ax
mov si,0
mov di,16
mov cx,8
s:
mov bx,
call dream
mov ,ax
mov +2,dx
add si,2
add di,4
loop s
mov ax,4c00h
int 21h
dream:mov ax,bx
mul ax
mul ax
ret
code ends
end start
页:
[1]