uxn11/etc/link.tal

30 lines
419 B
Tal
Raw Normal View History

2023-08-25 12:18:37 -04:00
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|0100
;task1 #f0 DEO2
;task2 #f2 DEO2
#0000 #f0 DEO2k INC INC DEO2
2023-08-25 13:15:57 -04:00
;end-txt print-text
2023-08-25 12:18:37 -04:00
#800f DEO
2023-08-25 13:15:57 -04:00
BRK
2023-08-25 12:18:37 -04:00
@task1 ( -> )
;t1 print-text
BRK
@task2 ( -> )
;t2 print-text
BRK
@print-text ( str* -- )
2023-08-25 13:15:57 -04:00
( send ) LDAk .Console/write DEO
( loop ) INC2 LDAk ?print-text
2023-08-25 12:18:37 -04:00
POP2
JMP2r
2023-08-25 13:15:57 -04:00
@t1 "AAAAAAAAAAAAAAAA 00
@t2 "BBBBBBBBBBBBBBBB 00
@end-txt 0a "Done. 0a