Miscellaneous Programs and Equations
17–7
LBL Y
VIEW Prime
LBL Z
P + 2 x
→
LBL P
x
P
3 D
LBL X
x = 0?
yes
no
Start
Note: x is the value in the X-register.