update readme

This commit is contained in:
Win 2024-06-10 18:59:27 +07:00
parent fcfa860a9a
commit f92a646a90
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# assembly-playground
Place for me to try out variants of Assembly Language
## Resources
- Jonathan Bartlett, Programming From The Ground Up

View File

@ -9,8 +9,8 @@
_start:
mov edi, 0 # copy 0 into edi - first addresss
mov eax, [data_items + edi * 4] # move the first number (edi * 4) to eax
mov ebx, eax # move ebx to eax
jmp start_loop
mov ebx, eax # move ebx to eax
start_loop:
cmp eax, 0 # check if eax is 0, return value stored in EFLAGS register