编制第一个汇编程序

(1)将下面的程序保存为p1.asm,将其生成可执行文件p1.exe。

assume cs:code
code segment
         mov ax,0123H
         add ax,ax

         mov ax,4c00h
         int 21h
codesg ends
end

(2)在Debug中单步执行这个程序
(写编辑、编译、连接、运行各步骤的命令。贴图说明实验过程)
这里写图片描述
这里写图片描述
这里写图片描述

猜你喜欢

转载自blog.csdn.net/gjg666/article/details/81182754