实验3 编程,编译,连接,跟踪

(1)  t1.exe  

assume cs:code

code segment

  mov ax,2000H

  mov ss,ax

  mov sp,10

  pop ax

  pop bx

  push ax

  push bx

  pop ax

  pop bx

 

  mov ax,4c00h

  int 21H

code ends

end

(2)相关寄存器中的内容和栈顶的内容

(3)

psp : cpu与程序通信

程序段前缀:SA:0

程序起始地址:SA+10H:0

ds 指向 SA

CS:IP 指向程序SA+10:0

PSP 与 程序物理地址连续,段地址不同

 

PSP 中的内容 头两个字节为 CD20

-d 0760:0

 

 

 

猜你喜欢

转载自blog.csdn.net/weixin_43495262/article/details/114806709