Files
SplitBit-Emulator/Programs/testPrograms/printHexTest.asm
T
Anachronaut 228cf0593a Added stuff. Fixed bug.
Data Pointer value now properly displayed in debug mode.
Added conditional calls to match conditional branches.
2024-10-31 13:30:15 -04:00

23 lines
302 B
NASM

; Test for the hexadecimal printing routines.
#Program
printByteHexTest:
INIB 0xFF
CALL printByteHex
printHexTestLoop:
PSHA
INIA 0x00
CALL blankSpace
POPA
INCA
SUB
CCF
CALL printByteHex
BRQ printHexTestend
BRI printHexTestLoop
printHexTestend:
CALL lineFeed
RET
#Data