0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-30 17:53:01 +00:00
uxn/projects/examples/devices/console.tal
2021-08-17 19:40:07 -07:00

19 lines
No EOL
250 B
Tal

( dev/console )
|00 @System $e &debug
|10 @Console $8 &write
( init )
|0100 ( -> )
;hello-word
&while
( send ) LDAk .Console/write DEO
INC2 LDAk ,&while JCN
POP2
( show debugger ) #01 .System/debug DEO
BRK
@hello-word "Hello 20 "World!