Masm32 SDK description, downloads and other helpful links
Started by aw27, March 01, 2017, 04:37:40 AM
000000013FBF16A8 sub rsp,20h
16: proc1 proc public FRAME uses xmm8 xmm9 arg1:qword, arg2:qword, arg3 :qword00007FF70377103A 48 83 EC 48 sub rsp,48h 00007FF70377103E C5 7A 7F 44 24 20 vmovdqu xmmword ptr [rsp+20h],xmm8 00007FF703771044 C5 7A 7F 4C 24 30 vmovdqu xmmword ptr [rsp+30h],xmm9 17: mov r9, rcx00007FF70377104A 4C 8B C9 mov r9,rcx 18: mov r10, rdx00007FF70377104D 4C 8B D2 mov r10,rdx 19: mov r11, r800007FF703771050 4D 8B D8 mov r11,r8 20: 21: INVOKE sub1, r10, r800007FF703771053 49 8B CA mov rcx,r10 00007FF703771056 49 8B D0 mov rdx,r8 00007FF703771059 E8 D2 FF FF FF call sub1 (07FF703771030h) 22: INVOKE sub2, r9, r1100007FF70377105E 49 8B C9 mov rcx,r9 00007FF703771061 49 8B D3 mov rdx,r11 00007FF703771064 E8 CC FF FF FF call sub2 (07FF703771035h) 23: mov rax, r900007FF703771069 49 8B C1 mov rax,r9 24: ret00007FF70377106C C5 7A 6F 44 24 20 vmovdqu xmm8,xmmword ptr [rsp+20h] 00007FF703771072 C5 7A 6F 4C 24 30 vmovdqu xmm9,xmmword ptr [rsp+30h] 00007FF703771078 48 83 C4 48 add rsp,48h 00007FF70377107C C3 ret
Quote from: aw27 on March 02, 2017, 05:23:43 PMI know the 1st stack variable is always 16-byte stack aligned but if the second variable is for example a REAL4, the 3rd variable will not be anymore 16-byte stack aligned. I know, I can move around the variables by hand, ...
Quote from: aw27 on March 14, 2017, 09:28:55 PMIt is a big library of more than 540 functions I put recently in Codeproject.com.
Quote from: johnsa on March 15, 2017, 09:00:19 PMallocating 16bytes per local is wasteful
This code was assembled with AsmC in 64-bit formatMyDword: 12fedcMyOword: 12fec8This code was assembled with ml64 in 64-bit formatMyDword: 12fedcMyOword: 12feccThis code was assembled with HJWasm32 in 64-bit formatMyDword: 12fedcMyOword: 12fec8