3x+1 works
TODO fiks args
This commit is contained in:
parent
e36ba82ae7
commit
8a38471452
2 changed files with 5 additions and 6 deletions
9
3x+1.asm
9
3x+1.asm
|
@ -13,12 +13,11 @@ section .text
|
|||
main:
|
||||
sub rsp, 8
|
||||
|
||||
; add rsi, 8
|
||||
; mov r8, [rsi]
|
||||
; mov r9, [r8]
|
||||
; mov [tempstore], r9
|
||||
add rsi, 8
|
||||
mov r8, [rsi]
|
||||
mov [tempstore], r8
|
||||
|
||||
mov rdi, number
|
||||
mov rdi, [tempstore]
|
||||
call libz_atoi
|
||||
mov r8, rax
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bd059e097fbb5d3f0472c611d80f9af0791472e0
|
||||
Subproject commit 048a43083ab59b05f5139f0e21617a08a22550bf
|
Loading…
Reference in a new issue