汇编221页的问题
assume cs:code,ds:datadata segment
dw 88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h
dw 11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h,11h
data ends
code segment
start: mov ax,data
mov ds,ax
mov si,0
mov di,16
mov cx,8
call add128
mov ax,4c00h
int 21h
add128: push ax
push cx
push si
push di
sub ax,ax
s: mov ax,
adc ax,
mov ,ax
inc si
inc si
inc di
inc di
loop s
pop di
pop si
pop cx
pop ax
ret
code ends
end
dosbox里面debug 但是没有指令怎么回事
file:///C:/Users/12712/Desktop/%5D%5BJR@P4SQYPN5YU9L@%25QJ%60J.png assume cs:code,ds:data
data segment
dw 88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h,88h
data ends
stack segment stack
dw 800h dup(00)
stack ends
code segment
main proc far
mov ax,data
mov ds,ax
xor si,si
mov di,16
mov cx,8
call add128
mov ax,4c00h
int 21h
main endp
add128 proc near
push ax
push cx
push si
push di
a: mov ax,
adc ,ax
inc si
inc si
inc di
inc di
loop a
pop di
pop si
pop cx
pop ax
ret
add128 endp
code ends
end main 程序结束end后面没有标明指令的入口啊,所以谁知道从哪开始。。。。。 nihility_z 发表于 2019-9-3 08:27
程序结束end后面没有标明指令的入口啊,所以谁知道从哪开始。。。。。
谢谢!前几天刚刚注意到!!!{:5_109:}
页:
[1]