Added stuff. Fixed bug.
Data Pointer value now properly displayed in debug mode. Added conditional calls to match conditional branches.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
; 10/27/2024
|
||||
|
||||
; Include the subroutine file.
|
||||
#Include print.asm
|
||||
#Include Libraries/print.asm
|
||||
|
||||
#Program
|
||||
|
||||
@@ -14,12 +14,12 @@ start:
|
||||
CALL printString ; Call the string printing subroutine.
|
||||
CALL lineFeed ; Call the line feed subroutine to end the line.
|
||||
SETD MyDecimal ; Set the Data Pointer to the value to print as a decimal.
|
||||
CALL printDecimal ; Call the decimal printing subroutine.
|
||||
LDA ; Load it into A.
|
||||
CALL printByteDecimal ; Call the decimal printing subroutine.
|
||||
SETD MyMessage ; Set the Data Pointer to another string.
|
||||
CALL printString ; Call the string printing subroutine again.
|
||||
CALL lineFeed ; Call the line feed subroutine to end the line.
|
||||
HALT ; Stop the program.
|
||||
|
||||
#Data
|
||||
|
||||
MyString:
|
||||
|
||||
Reference in New Issue
Block a user