From 28affaa299a377fdc4413af070abea9a3fb90d83 Mon Sep 17 00:00:00 2001 From: bgregs514 <43556812+bgregs514@users.noreply.github.com> Date: Thu, 25 Jun 2020 16:15:34 -0500 Subject: [PATCH] Added jmp to step2 A jmp to step2 needs to be placed after the conversion to ASCII alpha character --- 05-bootsector-functions-strings/boot_sect_print_hex.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/05-bootsector-functions-strings/boot_sect_print_hex.asm b/05-bootsector-functions-strings/boot_sect_print_hex.asm index b537ef8..4685914 100644 --- a/05-bootsector-functions-strings/boot_sect_print_hex.asm +++ b/05-bootsector-functions-strings/boot_sect_print_hex.asm @@ -20,6 +20,7 @@ hex_loop: cmp al, 0x39 ; if > 9, add extra 8 to represent 'A' to 'F' jle step2 add al, 7 ; 'A' is ASCII 65 instead of 58, so 65-58=7 + jmp step2 step2: ; 2. get the correct position of the string to place our ASCII char