We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5f383 commit 424aae9Copy full SHA for 424aae9
08-32bit-print/32bit-print.asm
@@ -2,15 +2,15 @@
2
3
; this is how constants are defined
4
VIDEO_MEMORY equ 0xb8000
5
-WHITE_OB_BLACK equ 0x0f ; the color byte for each character
+WHITE_ON_BLACK equ 0x0f ; the color byte for each character
6
7
print_string_pm:
8
pusha
9
mov edx, VIDEO_MEMORY
10
11
print_string_pm_loop:
12
mov al, [ebx] ; [ebx] is the address of our character
13
- mov ah, WHITE_OB_BLACK
+ mov ah, WHITE_ON_BLACK
14
15
cmp al, 0 ; check if end of string
16
je print_string_pm_done
0 commit comments