shooter
BEGIN
rand 10
add 10 acc
store r2 acc
rand 360
store r3 acc
MOVELOOP
add r1 8
store r1 acc
gt r1 359
test
store r1 1
scan r1
test
jsr TARGET
move r3
sub r2 1
store r2 acc
gt r2 0
test
jmp MOVELOOP
jmp BEGIN
TARGET
aim r1
fire
move r1
rts

