汇编小问题
如程序:data segment 'data'
buf1 db 'abcdefg'
data ends
stack segment para stack 'stack'
kg db 100 dup(?)
top db ?
stack ends
code segment 'code'
assume cs:code,ds:data,ss:stack
start: mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,offset top
mov bx,offset buf1
push [bx]
push [bx+1]
push [bx+2]
push [bx+3]
push [bx+4]
push [bx+5]
push [bx+6]
mov ah,4ch
int 21h
code ends
end start
我想知道字符串buf1入栈后的排列情况,还有sp在入栈前后的值?谢谢!!!