1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// Should print 01 include "chrout.60p" include "prbyte.60p" byte lives define main routine inputs lives, hexchars outputs lives trashes a, x, z, n, c, v { ld a, 0 st a, lives ld x, lives st off, c inc x st x, lives ld a, lives call prbyte }