1
Fork 0

chapter 0x00

This commit is contained in:
Jan-Erik Rediger 2023-09-15 11:40:57 +00:00
parent 6a5a601814
commit 8a4bc9cf6c

16
0x00.asm Normal file
View file

@ -0,0 +1,16 @@
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