0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-19 20:35:10 +00:00
uxn/projects/examples/devices/console.tal
2021-07-28 15:41:07 -07:00

20 lines
No EOL
248 B
Tal

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