I made 32bit app, now I changed Win32ax.inc into Win64ax.inc but it doesn't want to compile. It says:
"section '.data' data readable writeable"
I just want to SSE4.2 instructions which seems I can't use in 32bit mode.
use64
include 'include/WIN64AX.INC'
.data
testt dd 0
test6 rb 10000000 ;10 MB
.code
proc Alert, msg
invoke MessageBox,0, [msg] ,'Information',MB_OK
ret
endp
main:
mov eax, 65
mov ecx, 5
start_loop: ; the code here would be executed 5 times
inc eax
loop start_loop
mov [testt], eax
mov [testt+1], 70
mov [testt+2],0
mov [test6], 71
mov [test6+1], 2
inc [test6]
;mov byte eax, [test6]
;add [test6], ebx
;mov [qword 0],rax
;vblendvpd ymm3, ymm2, ymm1, ymm15
crc32 rax, qword [rbx]
stdcall Alert, test6
stdcall Alert, testt
invoke ExitProcess, 0
.end main