Narjen print.asm in primeri z vaj
This commit is contained in:
parent
a363fd8403
commit
1a6a994e53
4 changed files with 44 additions and 0 deletions
15
ass1/vhod_izhod/print.asm
Normal file
15
ass1/vhod_izhod/print.asm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue