spo/vhod_izhod/print.asm
2025-11-11 11:03:46 +01:00

26 lines
No EOL
191 B
NASM

.code
print START 0
CLEAR X
loop LDA txt, X
COMP NULL
JEQ halt
WD #AA
halt J halt
.data
txt BYTE C'SIC/XE'
NULL BYTE 0
textend EQU *
textlen EQU textend- text -1
END print