made length only print the length and nothing else
This commit is contained in:
parent
bc103e75bd
commit
ad76e24e30
1 changed files with 1 additions and 5 deletions
|
@ -7,7 +7,7 @@ default rel
|
|||
|
||||
|
||||
section .rodata
|
||||
format db "%#x", 10, 0
|
||||
format db "%#d", 10, 0
|
||||
|
||||
section .data
|
||||
text db "rEE",0
|
||||
|
@ -24,10 +24,6 @@ main:
|
|||
call length_func
|
||||
mov [testasd], rax
|
||||
|
||||
mov rdi, text
|
||||
cld
|
||||
call puts ;this is the puts way of printing a string
|
||||
|
||||
|
||||
mov rsi, [testasd]
|
||||
lea rdi, [rel format]
|
||||
|
|
Loading…
Reference in a new issue