mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-09-03 19:28:59 +00:00
15 lines
178 B
Plaintext
15 lines
178 B
Plaintext
|
byte lives
|
||
|
|
||
|
routine main
|
||
|
inputs lives
|
||
|
outputs lives
|
||
|
trashes a, x
|
||
|
{
|
||
|
ld a, 0
|
||
|
st a, lives
|
||
|
ld x, lives
|
||
|
st off, c
|
||
|
add x, 1
|
||
|
st x, lives
|
||
|
}
|