update readme
This commit is contained in:
parent
fcfa860a9a
commit
f92a646a90
|
@ -1,3 +1,6 @@
|
|||
# assembly-playground
|
||||
|
||||
Place for me to try out variants of Assembly Language
|
||||
|
||||
## Resources
|
||||
- Jonathan Bartlett, Programming From The Ground Up
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue