1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-29 18:49:22 +00:00
SixtyPical/eg/conditional2.p60
2015-10-17 18:11:23 +01:00

26 lines
291 B
Plaintext

routine chrout
inputs a
trashes a
@ 65490
routine main
trashes a, x, y, z, n, c, v
{
ld a, 0
if z {
ld a, 89
call chrout
ld a, 1
}
ld a, 65
call chrout
ld a, 1
if z {
ld a, 89
call chrout
ld a, 1
}
}