汇编的hello world
时间:2011-06-15
来源:互联网
请高手们帮帮忙。
谢谢。
作者: sunguangshou1 发布时间: 2011-06-15
jmp hello msgstr: db "Hello world!",0 hello: push MB_OK push offset msgstr push offset msgstr push 0 call MessageBox
作者: cngst 发布时间: 2011-06-15
db 'hello world!', '$'
data ends
code segment
assume ds:data, cs:code
start:
mov ax, data
mov ds, ax
xor dx, dx
mov ah, 09h
int 21h
mov ah, 4ch
int 21h
code ends
end start
作者: sj3762437 发布时间: 2011-06-15
作者: agoago_2009 发布时间: 2011-06-15
.386
.model flat,stdcall
option casemap:none
include windows.inc
include kernel32.inc
includelib kernel32.lib
include user32.inc
includelib user32.lib
.data
hello db "hello ,world",0
result dw ?
.code
start:
invoke MessageBox,NULL,addr hello,NULL,MB_OK
ENDD:
invoke ExitProcess,NULL;
end start
作者: a514688934 发布时间: 2011-06-15
作者: sunguangshou1 发布时间: 2011-06-15
assume cs:code code segment start: msg db 'hello,world!$' push cs pop ds mov dx,offset msg mov ah,9 int 21h mov ah,4ch int 21h code ends end start
作者: masmaster 发布时间: 2011-06-15
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28