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

16 lines
223 B
Plaintext
Raw Normal View History

buffer[2048] buf
pointer ptr @ 254
byte foo
routine main
inputs buf
outputs buf, y, foo
trashes a, z, n, ptr
{
ld y, 0
copy ^buf, ptr
2017-11-24 16:56:55 +00:00
copy 123, [ptr] + y
copy [ptr] + y, foo
copy foo, [ptr] + y
}