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 2:05 pm
Location: Dublin, Ohio
Contact:

Store and Recall extra steps

Post by tls_43017 »

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: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Store and Recall extra steps

Post by Walter »

tls_43017 wrote:
Tue Jul 09, 2019 12:50 am
..., 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.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Logan
Posts: 34
Joined: Sun Jul 09, 2017 1:03 am

Re: Store and Recall extra steps

Post by Logan »

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:00210
DM41X SN:00014
rprosperi
Posts: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Store and Recall extra steps

Post by rprosperi »

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, DM41X: β00071 & 00656, DM10L: 071/100
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Store and Recall extra steps

Post by grsbanks »

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
There are only 10 kinds of people in the world: those who understand binary and those who do not.
DA74254
Posts: 193
Joined: Tue Oct 03, 2017 11:20 pm
Location: Norway/Latvia

Re: Store and Recall extra steps

Post by DA74254 »

Code: Select all

clst
*
Will remedy the "L" register.
Esben
DM42 SN: 00245, WP43 Pilot SN:00002, DM32 SN: 00045 (Listed in obtained order).
Post Reply