1
Fork 0
xchg-rax-rax/0x00.asm

17 lines
247 B
NASM
Raw Normal View History

2023-09-15 11:40:57 +00:00
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