1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-29 18:49:22 +00:00
SixtyPical/eg/rudiments/if.60p

13 lines
142 B
Plaintext
Raw Normal View History

2018-09-09 14:03:43 +00:00
define main routine
inputs a
outputs a
trashes z, n, c
{
cmp a, 42
if z {
ld a, 7
} else {
ld a, 23
}
}