Store and Recall extra steps

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
tls_43017
Posts: 1
Joined: Sat Jun 29, 2019 12:05 pm
Location: Dublin, Ohio
Contact:

Store and Recall extra steps

Post by tls_43017 » Mon Jul 08, 2019 10:50 pm

Can there be a setting in the future to have the sto and rcl more like the HP15C? Example, When I enter a value in "X". I can press STO 1. On the DN42 I have to press STO 1, then enter. Add a clear "ALL" It will clear stack, last X, memory locations.

User avatar
Walter
Posts: 1072
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: Store and Recall extra steps

Post by Walter » Tue Jul 09, 2019 6:43 am

tls_43017 wrote:
Mon Jul 08, 2019 10:50 pm
..., When I enter a value in "X". I can press STO 1. On the DN42 I have to press STO 1, then enter. ...
This is as advertised. Actually, you'd have to press STO 01. STO 1 ENTER is an alternative way. Take out your HP-15C and compare.
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

Logan
Posts: 29
Joined: Sat Jul 08, 2017 11:03 pm

Re: Store and Recall extra steps

Post by Logan » Tue Jul 09, 2019 11:41 am

It's one of the benefits that the HP 42s by default had 25 storage registers (R00 -- R24). And you can resize it to be even larger if you like (up to 100 with direct addressing, more with indirect). This necessitates double digit register addresses. You can change the size of your storage registers to be smaller, but you still have to enter two digits. That's just the architecture.

The 15c had a different architecture, with R0 -- R9 and R.0 -- R.9 being directly addressed and isn't designed for being easily expandable past that.
DM42 SN 210

rprosperi
Posts: 496
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Store and Recall extra steps

Post by rprosperi » Tue Jul 09, 2019 1:42 pm

For the clear command you requested, just make this tiny program:

LBL "CLAL"
CLRG
CLST
END

Then you can just XEQ CLAL.
--bob p

DM42: β00071 & 00282

grsbanks
Posts: 856
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: Store and Recall extra steps

Post by grsbanks » Tue Jul 09, 2019 1:53 pm

Note that CLST doesn't clear the L register. To do that as well, just insert an appropriate operator to use the '0' in X:

Code: Select all

LBL "CLAL"
CLRG
CLST
+
END
Not SwissMicros staff, just an enthusiast.

DA74254
Posts: 59
Joined: Tue Oct 03, 2017 9:20 pm
Location: Norway/Latvia

Re: Store and Recall extra steps

Post by DA74254 » Tue Jul 09, 2019 6:06 pm

Code: Select all

clst
*
Will remedy the "L" register.
Esben
DM42 SN: 00245

Post Reply