1
Fork 0
xchg-rax-rax/0x00.asm
2023-09-15 11:58:36 +00:00

17 lines
247 B
NASM

BITS 64
SECTION .text
global main
main:
xor eax, eax
lea rbx, [0]
; ecx usually starts with a high value, loop decrements this
; so this makes it all a bit faster
mov ecx, 10
loop $
mov rdx, 0
and esi, 0
sub edi, edi
push 0
pop rbp