IO print.asm completed

This commit is contained in:
aljazbrodar. 2025-10-28 09:45:40 +01:00
parent 89d1888f75
commit d5e72719bb
4 changed files with 26 additions and 0 deletions

Binary file not shown.

1
vaja2/vhod_izhod/AA.dev Normal file
View file

@ -0,0 +1 @@
SIC/XE

View file

@ -0,0 +1,25 @@
PRVI START 0
LDX counter
loop LDA niz, X
WD device
LDA counter
ADD #3
STA counter
LDX counter
COMP #bytes_len
JLT loop
HALT J HALT
END PRVI
counter WORD 0
device BYTE X'AA'
niz WORD 83 .S
WORD 73 .I
WORD 67 .C
WORD 47 ./
WORD 88 .X
WORD 69 .E
WORD 10 .newline
lastin EQU *
bytes_len EQU lastin - niz