Settings | Sign in | Sign up

The author has 2 posts.

Windows下的一个简单汇编程序

Floor 1 巨大八爪鱼 2/11/16 22:35

MOV AH, 2
MOV DL, 'm'
INT 21H
MOV DL, 'a'
INT 21H
MOV DL, 'k'
INT 21H
MOV DL, 'e'
INT 21H
fin:
 HLT
 JMP fin


用NASM编辑后运行,输出make这个字符串。

exe的文件大小为21字节。

Floor 2 巨大八爪鱼 2/11/16 22:36

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.