mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-12-01 16:50:09 +00:00
16 lines
230 B
Plaintext
16 lines
230 B
Plaintext
buffer[2048] buf
|
|
pointer ptr @ 254
|
|
byte foo
|
|
|
|
define main routine
|
|
inputs buf
|
|
outputs buf, y, foo
|
|
trashes a, z, n, ptr
|
|
{
|
|
ld y, 0
|
|
copy ^buf, ptr
|
|
copy 123, [ptr] + y
|
|
copy [ptr] + y, foo
|
|
copy foo, [ptr] + y
|
|
}
|