uxn/projects/examples/devices/console.tal

20 lines
268 B
Tal
Raw Normal View History

2021-04-21 12:09:18 -04:00
( dev/console )
2021-02-20 18:00:34 -05:00
2021-07-28 18:41:07 -04:00
|0e @System/debug
2021-06-28 12:42:55 -04:00
|18 @Console/write
2021-04-21 12:48:04 -04:00
( init )
2021-04-21 12:48:04 -04:00
|0100 ( -> )
2021-02-20 18:00:34 -05:00
2021-07-28 18:41:07 -04:00
;hello-word
2021-08-08 13:21:58 -04:00
&while
2021-06-28 12:40:29 -04:00
( send ) LDAk .Console/write DEO
2021-05-17 18:13:46 -04:00
( incr ) #0001 ADD2
2021-08-08 13:21:58 -04:00
( loop ) LDAk ,&while JCN
2021-05-17 18:13:46 -04:00
POP2
2021-08-08 13:21:58 -04:00
( show debugger ) #01 .System/debug DEO
2021-07-28 18:41:07 -04:00
2021-05-13 11:47:18 -04:00
BRK
2021-02-20 18:00:34 -05:00
2021-05-17 18:13:46 -04:00
@hello-word "Hello 20 "World!