From 424aae9c1020bb6d4dc5a75c81410b5e3a9a7ca8 Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 23 Mar 2015 09:27:40 +0100 Subject: [PATCH] typo --- 08-32bit-print/32bit-print.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/08-32bit-print/32bit-print.asm b/08-32bit-print/32bit-print.asm index 4169a17..e940aa9 100644 --- a/08-32bit-print/32bit-print.asm +++ b/08-32bit-print/32bit-print.asm @@ -2,7 +2,7 @@ ; this is how constants are defined VIDEO_MEMORY equ 0xb8000 -WHITE_OB_BLACK equ 0x0f ; the color byte for each character +WHITE_ON_BLACK equ 0x0f ; the color byte for each character print_string_pm: pusha @@ -10,7 +10,7 @@ print_string_pm: print_string_pm_loop: mov al, [ebx] ; [ebx] is the address of our character - mov ah, WHITE_OB_BLACK + mov ah, WHITE_ON_BLACK cmp al, 0 ; check if end of string je print_string_pm_done