1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-25 23:49:17 +00:00
SixtyPical/eg/rudiments/memloc.60p

25 lines
272 B
Plaintext
Raw Normal View History

byte foo
2018-09-09 14:03:43 +00:00
define chrout routine
inputs a
trashes a
@ 65490
2018-09-09 14:03:43 +00:00
define print routine
inputs foo
trashes a, z, n
{
ld a, foo
call chrout
}
2018-09-09 14:03:43 +00:00
define main routine
trashes a, y, z, n, foo
{
ld y, 65
st y, foo
call print
inc foo
call print
}