0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-27 16:23:02 +00:00
uxn/projects/examples/devices/console.tal
2021-06-28 09:42:55 -07:00

19 lines
No EOL
210 B
Tal

( dev/console )
|18 @Console/write
( init )
|0100 ( -> )
;hello-word
&loop
( send ) LDAk .Console/write DEO
( incr ) #0001 ADD2
( loop ) LDAk ,&loop JCN
POP2
BRK
@hello-word "Hello 20 "World!