1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-04 22:05:21 +00:00
SixtyPical/eg/rudiments/conditional.60p
2018-03-06 10:32:52 +00:00

27 lines
329 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
} else {
ld a, 78
call chrout
}
ld a, 1
if z {
ld a, 89
call chrout
} else {
ld a, 78
call chrout
}
}