still only half working but here you go
This commit is contained in:
parent
d4a3a6fb77
commit
4903ea72fb
5 changed files with 644 additions and 606 deletions
18
hello.tal
Normal file
18
hello.tal
Normal file
|
@ -0,0 +1,18 @@
|
|||
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|
||||
|
||||
|100
|
||||
|
||||
@on-reset ( -> )
|
||||
;my-string print-text
|
||||
BRK
|
||||
|
||||
@print-text ( str* -- )
|
||||
&while
|
||||
LDAk .Console/write DEO
|
||||
INC2 LDAk ?&while
|
||||
POP2
|
||||
JMP2r
|
||||
|
||||
@my-string
|
||||
"Hello 20 "World! 00
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue