• 2024-06-12FASM之Hello消息框
    include'win32ax.inc'.codestart: invokeMessageBox,HWND_DESKTOP,"你好!","hello",MB_OK invokeExitProcess,0.endstart主要使用invoke指令调用MessageBox消息框函数。MessageBox后面的四个参数:第一个参数,HWND_DESKTOP,表示桌面窗口句柄。第二个参数,"你好!",是
  • 2024-05-28FASM之HelloWorld
    1.环境准备下载汇编器fasm,flatassembler1.73.32forWindows配置环境变量:将fasm安装路径添加至path:D:\dev_tools\fasm\fasmw17332设置INCLUDE变量:D:\dev_tools\fasm\fasmw17332\INCLUDE2.编写代码创建hello.asm。formatPEconsoleentrystartinclude'win32a.inc