Speeding Up Program Execution


The ASM (assemble) function can increase the speed of programs that perform frequent transfers by label. Assembled programs execute faster because the calculator does not have to search for a label before transferring control.


Assembling a Program

The [ 2nd ] [ ASM ] (assemble) key sequence, executed as a keyboard command or program instruction, converts all program label references to the step address of those labels.
  • GTL instructions are converted to GTO instructions.
  • SBL instructions are converted to SBR instructions.
  • DFN instructions are converted to DFA (define absolute) instructions. (You cannot enter the DFA instruction from the keyboard.)

To assemble a program currently in stored in program memory, press [ 2nd ] [ ASM ].

Disassembling a Program

Disassemblinga program restores all references to labels in the program. You can then modify the program without the editing difficulties associated with using numeric transfer addresses.

To disassemble the program currently stored in program memory, press [ INV ] [ 2nd ] [ ASM ].

Back