vaje 2
This commit is contained in:
parent
f59c93b770
commit
8906317d1a
6 changed files with 107 additions and 0 deletions
17
ass1/print.asm
Normal file
17
ass1/print.asm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
print START 0
|
||||
zacetek CLEAR X
|
||||
loop LDCH txt, X
|
||||
WD #0xAA
|
||||
TIX #len .#len, ker je len EQU in ne dejanska lokacija v spominu!!!!!
|
||||
JLT loop
|
||||
|
||||
halt J halt
|
||||
|
||||
.constants
|
||||
txt BYTE C'SIC/XE'
|
||||
BYTE 0
|
||||
txtend EQU *
|
||||
len EQU txtend-txt .definicija konstante EQU, ki ni shranjena v pomnilniku, zato ko jo želimo uporabiti
|
||||
.rabimo #len
|
||||
|
||||
END zacetek
|
||||
Loading…
Add table
Add a link
Reference in a new issue