assemble hello world

1masm6.0解压到d:\masm

wKioL1MhT97R1mDPAACypDJar8E831.jpg

2masm文件夹内新建hello.asm

wKioL1MhT9-BSIB2AAAKm0-0ZNk000.jpg

wKiom1MhUAewDCaDAADbHJz7yVE487.jpg

3进入cmd,汇编assemblehello.asm,生成hello.obj

wKioL1MhT-PhijftAAAU37vtKCo201.jpg

wKiom1MhUAvz-OhdAAAKHBpDWEk080.jpg

wKiom1MhUAuhaClCAAAVTaSWo-I688.jpg

4 link hello.obj 生成hello.exe

5.运行 hello.exe,输出hello world

wKiom1MhUAzy-BW7AAAZIMuQ-f0711.jpg


你可能感兴趣的:(world,hello,assemble)