MinGW(64bit) ちょっとしたこと (5)
■yasmの確認section .rdatamsg: db "test4", 0global mainextern __mainextern putssection .textmain: push rbp mov rbp, rsp sub rsp, 32 mov 16[rbp], ecx mov 24[rbp], rdx call __main lea rcx, [msg] call puts mov eax, 0 leave retyasm -fwin64 test4.sgcc -o test4 test4.obj[user@user-PC check]$ objdump -f test4.exetest4.exe: file format pei-x86-64architecture: i386:x86-64, flags 0x0000013a:EXEC_P, HAS_DEBUG, HAS_SYMS, HAS_LOCALS, D_PAGEDstart address 0x00000000004016c0