HP Forums

Full Version: (12C Platinum) Memory Function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ALG mode Program to simulate the memory function found in most basic

calculators such as [M+] [M-] including [Mx] and [M÷]

------------------------------------------------

Procedure:

M+ n:

Store M

[RCL] M [+] n [R/S]

M on display is unaltered and memory M is added by n in memory.
----------------------------------------------
Example:

To add 5 in R0 // R0 is the storage Register 0

Input 10 at R0

10 [STO] 0

[RCL] 0 // recall R0 display 10
[+]
5
[R/S] // display 10 and now R0 is added and total in memory is 15

To check R0 // [RCL] 0 display 15
----------------------------------------------
Program: ALG mode
Code:

X<>Y
RCL 0
X<>Y
=
STO 0
X<>Y

Gamo
(03-16-2019 12:28 AM)Gamo Wrote: [ -> ]ALG mode Program to simulate the memory function found in most basic

calculators such as [M+] [M-] including [Mx] and [M÷]

Gamo, please excuse my ignorance, and maybe I am missing something here, but why does this require a program?
ALmost every HP calculator does this with [STO][+], [STO][–], STO][x] and STO][÷].

Code:
   Keys               Display     R0
--------------------------------------
10 [STO] 0             10,00     10,00
 5 [STO][+] 0           5,00     15,00

?!?

Dieter
Reference URL's