对下列程序说法正确的是____4_。
assume cs:codesg
stack segment
dw 10 dup (0)
stack ends
codesg segment
mov ax,4c00h
int 21h
start: mov ax,stack
mov ss,ax
mov sp,20
mov ax,0
push cs
push ax
mov bx,0
retf
codesg ends
end start 1、 程序中start之后的汇编指令不能得到执行。 2、 程序加载后stack段在内存中实际占用的内存空间是20b。 3、 程序的每一条指令都能获得执行,但不能正常返回。 4、 指令retf可替换为ret,并能够正常返回。
2为什么不对呢,stack段定义了10个字的内容一个字占两个字节,stack段占用20个字节不对吗??? |