scrap-is-not-scrap/scrap.asm

18 lines
350 B
NASM
Raw Normal View History

2016-01-13 01:05:45 +00:00
[BITS 64]
push rbp
mov rbp,rsp
sub rsp,0x30
mov QWORD [rbp-0x18],rdi
mov DWORD [rbp-0x1c],esi
2016-01-13 01:05:45 +00:00
mov QWORD [rbp-0x28],rdx
mov rax,QWORD [rbp-0x28]
mov QWORD [rbp-0x8],rax
mov ecx,DWORD [rbp-0x1c]
mov rdx,QWORD [rbp-0x18]
2016-01-13 01:05:45 +00:00
mov rax,QWORD [rbp-0x8]
mov esi,ecx
mov rdi,rdx
2016-01-13 01:05:45 +00:00
call rax
ret