Narjen print.asm in primeri z vaj

This commit is contained in:
Timon 2025-10-30 12:58:15 +01:00
parent a363fd8403
commit 1a6a994e53
4 changed files with 44 additions and 0 deletions

15
ass1/vhod_izhod/print.asm Normal file
View file

@ -0,0 +1,15 @@
print START 0
CLEAR X
loop LDCH txt, X
WD #0xAA
TIX #txtlen
JLT loop
halt J halt
txt BYTE C'SIC/XE'
txtend EQU *
txtlen EQU txtend-txt
END print