ASM Hello World

嘿嘿,转载Lz嘀!
学习Lz,也玩汇编 Hello,World!

引用内容 引用内容

.386
.model flat,stdcall
option casemap:none
include
windows.inc
include kernel32.inc
include user32.inc
includelib kernel32.lib
includelib user32.lib

.data
    
szMsg db
'Hello,World!',0
    
szTil db
'ASM Hello World.',0
    
.code

start:
    invoke
MessageBox, NULL, offset szMsg, offset szTil, MB_OK or MB_ICONINFORMATION
    
call ExitProcess
end start



文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: ASM
评论: 2 | 引用: 0 | 查看次数: -
回复回复JiaJia[2007-11-06 09:52 PM | del]
不过还是有点MOV之类的汇编指令才比较有汇编的味道~
回复回复siLence[2007-11-06 06:06 PM | del]
做的比偶的简练  nice job
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.