poasm x64 examples

Started by TimoVJL, February 01, 2012, 04:38:14 PM

Previous topic - Next topic

TimoVJL

Is there anywhere poasm x64 examples ?
MessageBoxA PROTO :QWORD,:QWORD,:QWORD,:QWORD
MessageBox EQU <MessageBoxA>
ExitProcess PROTO :QWORD
.data
szMsg db 'Hello!',0
szApp db 'MsgBox',0
.code
WinMainCRTStartup proc PARMAREA=4*QWORD
invoke MessageBox,0,ADDR szMsg,ADDR szApp,0
invoke ExitProcess,0
WinMainCRTStartup endp
end
MessageBoxA PROTO :QWORD,:QWORD,:QWORD,:QWORD
MessageBox EQU <MessageBoxA>
ExitProcess PROTO :QWORD
.data
szMsg db 'Hello!',0
szApp db 'MsgBox',0
.code
start:
sub rsp,28h
invoke MessageBox,0,ADDR szMsg,ADDR szApp,0
invoke ExitProcess,0
; add rsp,28h
; ret
end start
May the source be with you

Vortex

Hi timovjl,

I could suggest you to check Japheth's site. He's providing some Jwasm x64 samples. You could convert them maybe to Poasm.

http://japheth.de/JWasm.html
Code it... That's all...