上传者: 43728474
|
上传时间: 2021-10-29 14:58:58
|
文件大小: 548KB
|
文件类型: -
汇编语言程序设计
实验二 MASM 汇编器使用
.386
.model flat, stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\masm32.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\masm32.lib
.data
HelloWorld db "Hello World!", 0
.code
start:
invoke StdOut, addr HelloWorld
invoke ExitProcess, 0
end start