final hw push
This commit is contained in:
parent
371cfddbde
commit
27b8de1bc2
36 changed files with 1018 additions and 6 deletions
25
ass1/vaje/vhod_izhod/print.asm
Normal file
25
ass1/vaje/vhod_izhod/print.asm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue