~rabbits/drifblim

4c687adb134056fe7023890bb830dcee91507c8e — neauoire 4 months ago 7b0cff7
Added rawrel example
1 files changed, 18 insertions(+), 0 deletions(-)

A examples/rawrel.tal
A examples/rawrel.tal => examples/rawrel.tal +18 -0
@@ 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