Casio fx-602P Quick Reference

Programming

General Use "MODE 2" to enter programming mode and the press P0...P9 to edit one of the 10 available programs.
Ie. "MODE 2 P2" displays "P0" and the available number of program steps. At this point using "C Px" can be used to change the number of a program (only if th desired number isn't used by another program). Using BST/FST displays the instructions and the step number.
Use "MODE 1" to switch back to normal operation. Press P0...P9 to execute one of the programs.
Memory Memory can be assigned to program or variable space. "MODE.." displays the current configuration.
"MODE.x0" makes x*11 registers available for variable storage. Ie. after "MODE.20" egisters M00-M19, MF and M1F are available in total 22).
FST Step forward thru program. The rightmost instruction is the current instruction. It can be deleted using the "C" key. Additional instructions are inserted after the current instruction.
When a number is displayed then "C" deletes digits from the right end of the number. Also, digits are appended to the displayed numbers.
In RUN mode executes the next program step.
BST Step backward thru the program. In RUN mode displays the current program step while pressed.
MAC Programmable instruction to clear all storage registers. In "MODE3" it clears all programs!
SAC Programmable instruction to clear storage registers M07, M08 and M09.
AC Programmable instruction. In "MODE3" the sequence "Px AC" erases the specified program.
Minxx Put a current value (=x register) to variable xx (xx=00 to 19, F, 1F. "F" is located on the EXP key)
MRxx Refer variable xx (Put variable xx to x register)
M+xx Add x to variable xx
M-xx Subtract x from variable xx
X<-->Mxx Exchange x with variable xx
x=0 if x is zero, go to the next command as usual. Otherwise, skip the next command
x>=0 if x is equal to or greater than zero, go to the next command as usual. Otherwise, skip the next command
x=F if x is equial to variable F, go to the next command as usual. Otherwise, skip the next command.
x>=F if x is equal to or greater than the variable F, go to the next command as usual. Otherwise, skip the next command
GOTOx Jump to label x (x=0 to 9)
LBLx Label for GOTO command (x=0 to 9)
GSB Px Call a subroutine program Px (x=0 to 9) and come back when it is finished. Note that the called program does not need a RETURN instruction!
In RUN mode sets the program counter to the selected program. It can be executed by pressing EXE or single-stepped using FST and BST.
HLT Stop and wait until EXE key is pushed. Can be used in RUN mode to stop a program. Continue withEXE.
PAUSE Pause for around 1 sec. The x register can be changed while the program is paused.
"..." Display the text "..." (This command is called an ALPHA sentence.) You may refer x by #, variable xx by ARxx (xx=00 to 19, F, 1F)
ISZ Increment the variable 00 (MR00) and if it is equal to zero, skip the next command.
DSZ Decrement the variable 00 (MR00) and if it is equal to zero, skip the next command.
IND MRxx Indirect reference. Refer variable of variable of xx. For example, if MR00 is 3 and MR03 is 5, IND MR00 is 5.
IND GOTOx Indirect jump. Jump to label of variable x (x=00 to 09). For example, if MR00 is 3, IND GOTO0 means "jump to LBL3."
IND GSB 0 Indirect subroutine call. Call a subroutine of variable 00 (fixed). For example, if MR00 is 3, IND GSB 0 means "GSB P3."
DEL ??
SAVE/LOAD Used to store/retrieve program data to/from the external tape drive.