From ad76e24e3041d63bd177ce7c60f2736bbce05d45 Mon Sep 17 00:00:00 2001 From: zombie Date: Sat, 18 Sep 2021 05:45:19 -0400 Subject: [PATCH] made length only print the length and nothing else --- length.asm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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]