NO

Author Topic: poasm x64 examples  (Read 3961 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
poasm x64 examples
« on: February 01, 2012, 04:38:14 PM »
Is there anywhere poasm x64 examples ?
Code: [Select]
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
Code: [Select]
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
« Last Edit: February 01, 2012, 05:22:02 PM by timovjl »
May the source be with you

Offline Vortex

  • Member
  • *
  • Posts: 797
    • http://www.vortex.masmcode.com
Re: poasm x64 examples
« Reply #1 on: February 01, 2012, 05:01:25 PM »
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...