1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-29 18:49:22 +00:00
SixtyPical/eg/rudiments/conditional.60p
2018-09-07 23:00:29 +01:00

27 lines
343 B
Plaintext

define chrout routine
inputs a
trashes a
@ 65490
define main routine
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
}
}