diff --git a/src/2_3.asm b/src/2_3.asm index 6554762..cf0b62f 100644 --- a/src/2_3.asm +++ b/src/2_3.asm @@ -7,7 +7,7 @@ maxlen = 256 .data -title_str byte "listing 2-3", 0 +title_str byte 'listing 2_3',0 init_prompt byte "enter an integer between 0-127: ", 0 fmt_str1 byte "the value in hexadecimal: %x", nl, 0 @@ -27,7 +27,7 @@ input byte maxlen dup (?) public get_title get_title PROC - lea rcx, title_str + lea rax, title_str ret get_title ENDP