Update print.asm

This commit is contained in:
Anachronaut
2024-10-27 20:54:21 -04:00
committed by GitHub
parent 2fc0986ac8
commit 26e6233f8a
+1 -1
View File
@@ -9,7 +9,7 @@
printString: printString:
CALL saveRegisters ; Store the registers so we can restore them later. CALL saveRegisters ; Store the registers so we can restore them later.
printLoop: printLoop:
LDA ; Move the first character of the string into A. LDA ; Move the first character of the string into A.
BRA Return ; If A is NULL, the string is finished, so return. BRA Return ; If A is NULL, the string is finished, so return.
OUTA 0x00 ; Output the character. OUTA 0x00 ; Output the character.