eaxhla/test/heyo.eax
2024-07-28 21:54:59 -04:00

30 lines
402 B
Plaintext

fast procedure heyo
s8 <> heyo_data = "Heyo world!\n"
begin
mov eax 1
mov edi 1
mov esi heyo_data
mov edx 12
syscall
end procedure
fast procedure cyaa
s8 <> cyaa_data = "Cyaa world!\n"
begin
mov eax 1
mov edi 1
mov esi cyaa_data
mov edx 12
syscall
end procedure
unix program main
begin
mov r10d 0x11223344
fastcall heyo
fastcall cyaa
fastcall heyo
fastcall cyaa
exit 60
end program