Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
22
Task/Hello-world-Text/Uxntal/hello-world-text.uxnatl
Normal file
22
Task/Hello-world-Text/Uxntal/hello-world-text.uxnatl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
( hello-world.tal )
|
||||
|00 @System [ &vector $2 &wst $1 &rst $1 &eaddr $2 &ecode $1 &pad $1 &r $2 &g $2 &b $2 &debug $1 &halt $1 ]
|
||||
|10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ]
|
||||
|
||||
( program )
|
||||
|0100 @on-reset ( -> )
|
||||
;hello print-str
|
||||
HALT
|
||||
BRK
|
||||
|
||||
@print-str ( str* -- )
|
||||
&while
|
||||
LDAk #18 DEO
|
||||
INC2 LDAk ?&while
|
||||
POP2
|
||||
JMP2r
|
||||
|
||||
@HALT ( -- )
|
||||
#01 .System/halt DEO
|
||||
JMP2r
|
||||
|
||||
@hello "Hello 20 "world! 0a 00
|
||||
Loading…
Add table
Add a link
Reference in a new issue