fixes the wrong register used for return

This commit is contained in:
ergz 2023-03-28 00:22:09 -07:00
parent 9eeacd4206
commit 417ef74499
1 changed files with 2 additions and 2 deletions

View File

@ -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