需要Irvine32.inc支持,下载方式见文后
1 INCLUDE Irvine32.inc 2 .data 3 endl EQU <0dh,0ah> 4 message LABEL BYTE 5 BYTE 048H,045H,04cH,04cH,04fH,020H,057H,04fH,052H,04cH,044H,endl 6 messageSize DWORD ($-message) 7 consoleHandle HANDLE 0 8 bytesWritten DWORD ? 9 .code10 main PROC11 INVOKE GetStdHandle, STD_OUTPUT_HANDLE12 mov consoleHandle,eax 13 INVOKE WriteConsole,14 consoleHandle,15 ADDR message,16 messageSize,17 ADDR bytesWritten,18 019 INVOKE ExitProcess,020 main ENDP21 END main
注意这里只不过是简单的炫技(都算不上)而已,不过是使用ASCII表示了字符串。
Irvine32.inc下载地址:
https://github.com/Eazybright/Irvine32
原文转载:http://www.shaoqun.com/a/480917.html
张洁:https://www.ikjzd.com/w/1663
笨鸟:https://www.ikjzd.com/w/2713
周宁:https://www.ikjzd.com/w/1647
使用ASM编译的HelloWorld程序需要Irvine32.inc支持,下载方式见文后1INCLUDEIrvine32.inc2.data3endlEQU<0dh,0ah>4messageLABELBYTE5BYTE048H,045H,04cH,04cH,04fH,020H,057H,04fH,052H,04cH,044H,endl6messageSizeDWORD($-messag
深诺互动:https://www.ikjzd.com/w/2746
数魔跨境:https://www.ikjzd.com/w/1425.html
Dibz:https://www.ikjzd.com/w/378
2019亚马逊prime day各站点爆款预测!:https://www.ikjzd.com/home/100267
日本海关严查!逆算法征收关税?亚马逊实用运营建议来救急!:https://www.ikjzd.com/home/126355
没有评论:
发表评论