标签:cli lap source ide 编写 分享 修改ip logs mil
预备知识:
(1)
ret :修改IP IP = SS*16 + SP SP+=2
retf :修改CS,IP IP = SS*16 + SP ,SP+=2 , CS = SS*16 + SP , SP+=2
Source Code:
assume cs:code stack segment db 16 dup (0) stack ends code segment mov ax,4c00H int 21H start: mov ax,stack mov ss,ax mov sp,16 push ax mov bx,0 ret code ends end start
标签:cli lap source ide 编写 分享 修改ip logs mil
原文地址:http://www.cnblogs.com/TreeDream/p/6929840.html