Skip to content

Commit 424aae9

Browse files
committed
typo
1 parent 0d5f383 commit 424aae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

08-32bit-print/32bit-print.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
; this is how constants are defined
44
VIDEO_MEMORY equ 0xb8000
5-
WHITE_OB_BLACK equ 0x0f ; the color byte for each character
5+
WHITE_ON_BLACK equ 0x0f ; the color byte for each character
66

77
print_string_pm:
88
pusha
99
mov edx, VIDEO_MEMORY
1010

1111
print_string_pm_loop:
1212
mov al, [ebx] ; [ebx] is the address of our character
13-
mov ah, WHITE_OB_BLACK
13+
mov ah, WHITE_ON_BLACK
1414

1515
cmp al, 0 ; check if end of string
1616
je print_string_pm_done

0 commit comments

Comments
 (0)