diff --git a/length.asm b/length.asm index cd41318..8f6a521 100644 --- a/length.asm +++ b/length.asm @@ -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]