We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
si
esi
1 parent 8c880fd commit 5a4b487Copy full SHA for 5a4b487
src/stage_1.s
@@ -109,7 +109,7 @@ spin:
109
110
# print a string and a newline
111
# IN
112
-# esi: points at zero-terminated String
+# si: points at zero-terminated String
113
# CLOBBER
114
# ax
115
real_mode_println:
@@ -121,7 +121,7 @@ real_mode_println:
121
122
# print a string
123
124
125
126
127
real_mode_print:
@@ -130,7 +130,7 @@ real_mode_print_loop:
130
# note: if direction flag is set (via std)
131
# this will DECREMENT the ptr, effectively
132
# reading/printing in reverse.
133
- lodsb al, BYTE PTR [esi]
+ lodsb al, BYTE PTR [si]
134
test al, al
135
jz real_mode_print_done
136
call real_mode_print_char
0 commit comments