[go: up one dir, main page]

Menu

[4cf102]: / sample.asm  Maximize  Restore  History

Download this file

19 lines (17 with data), 347 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
%include "aal.inc"
segment .data
message db "Hello world!",0x0a,0
segment .text
global main
extern printf
main:
push rfp
mov rfp, rsp
reserve 0
lea par1, [message]
%if REG_PARS = 6
xor retd, retd
%endif
call printf
leave
ret