fixes the wrong register used for return
This commit is contained in:
parent
9eeacd4206
commit
417ef74499
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue