Incrementing and Decrementing a Register


You can add one to or subtract one from the contents of a register using the [ INCR ] and [ INV ] [ INCR ] key sequences.


Increment and Decrement

The RPD-95 app includes specialized forms of data-register addition and subtraction. The [ INCR ] key increments the contents of a register by one, and the key sequence [ INV ] [ INCR ] decrements the contents of a register by one.

Example

The following example demonstrates the use of the INCR function.

Procedure

Press

Display

Clear display[ CLEAR ]D_McSSNB
Store 1234 in register 0001234
[ STO ] 000
D_kigxYC
Increment register 000 by two using short-form addressing[ INCR ] 0
[ INCR ] 0
D_pum617D_pum617
Recall register 000 contents[ RCL ] 000D_ddFJ3h
Decrement register 000 by one using short-form addressing[ INV ] [ INCR ] 000D_YzDYfF
Recall register 000 contents[ RCL ] 000D_WsfTuX


Back