mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Added jmp to step2
A jmp to step2 needs to be placed after the conversion to ASCII alpha character
This commit is contained in:
parent
7aff64740e
commit
28affaa299
@ -20,6 +20,7 @@ hex_loop:
|
|||||||
cmp al, 0x39 ; if > 9, add extra 8 to represent 'A' to 'F'
|
cmp al, 0x39 ; if > 9, add extra 8 to represent 'A' to 'F'
|
||||||
jle step2
|
jle step2
|
||||||
add al, 7 ; 'A' is ASCII 65 instead of 58, so 65-58=7
|
add al, 7 ; 'A' is ASCII 65 instead of 58, so 65-58=7
|
||||||
|
jmp step2
|
||||||
|
|
||||||
step2:
|
step2:
|
||||||
; 2. get the correct position of the string to place our ASCII char
|
; 2. get the correct position of the string to place our ASCII char
|
||||||
|
Loading…
Reference in New Issue
Block a user