mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-12-01 16:50:09 +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
|
||
|
}
|