From f9308338c4bfeb8439904491208a5f37449c5261 Mon Sep 17 00:00:00 2001 From: Anachronaut <75824887+RealBusinessAccount@users.noreply.github.com> Date: Sun, 27 Oct 2024 20:55:29 -0400 Subject: [PATCH] Update print.asm --- Programs/print.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Programs/print.asm b/Programs/print.asm index a59ab1d..1caa5c1 100644 --- a/Programs/print.asm +++ b/Programs/print.asm @@ -10,11 +10,11 @@ printString: CALL saveRegisters ; Store the registers so we can restore them later. printLoop: - LDA ; Move the first character of the string into A. - BRA Return ; If A is NULL, the string is finished, so return. - OUTA 0x00 ; Output the character. - INCD ; Increment Data Pointer to the next character. - BRI printLoop ; Branch to the beginning of the loop. + LDA ; Move the first character of the string into A. + BRA Return ; If A is NULL, the string is finished, so return. + OUTA 0x00 ; Output the character. + INCD ; Increment Data Pointer to the next character. + BRI printLoop ; Branch to the beginning of the loop. lineFeed: CALL saveRegisters ; Save the registers so they can be restored.