Added rawrel example

This commit is contained in:
neauoire 2022-11-10 21:11:57 -08:00
parent 7b0cff7d23
commit 4c687adb13
1 changed files with 18 additions and 0 deletions

18
examples/rawrel.tal Normal file
View File

@ -0,0 +1,18 @@
|0100
;pstr-inline JSR2 "Hello, 20 "UXN! 0a 00
#010f DEO
BRK
@pstr-inline-loop
[ LITr 18 ] DEOr INC2r
@pstr-inline ( -- | retaddr -- )
LDAkr DUPr [ LITr _pstr-inline-loop ] JCNr
POPr INC2r
JMP2r