HP Forums
(12C Platinum) Memory Function - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (12C Platinum) Memory Function (/thread-12626.html)



(12C Platinum) Memory Function - Gamo - 03-16-2019 12:28 AM

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


RE: (12C Platinum) Memory Function - Dieter - 03-16-2019 10:16 AM

(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