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 ] | |
Store 1234 in register 000 | 1234 [ STO ] 000 | |
Increment register 000 by two using short-form addressing | [ INCR ] 0 [ INCR ] 0 | |
Recall register 000 contents | [ RCL ] 000 | |
Decrement register 000 by one using short-form addressing | [ INV ] [ INCR ] 000 | |
Recall register 000 contents | [ RCL ] 000 |
☚ Back