8 Level Stack?

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: 8 Level Stack?

Post by grsbanks »

Walter wrote:
Wed Oct 24, 2018 7:12 am
….plus optional 16 local flags per program so far.
Local flags per program? Now, that's a brilliant idea! Various programs that leave global flags in whatever state without cleaning up after themselves are a bit of a pain, and this would solve that problem very elegantly. I like it.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 8 Level Stack?

Post by dlachieze »

This is already available on the WP 34S: each program/subroutine can allocate from 1 to 144 local registers and doing so get access to 16 local flags named .00 to .15
DM42: 00425 - DM41X: β00066 - WP43: 00042
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: 8 Level Stack?

Post by toml_12953 »

grsbanks wrote:
Wed Oct 24, 2018 8:45 am
Walter wrote:
Wed Oct 24, 2018 7:12 am
….plus optional 16 local flags per program so far.
Local flags per program? Now, that's a brilliant idea! Various programs that leave global flags in whatever state without cleaning up after themselves are a bit of a pain, and this would solve that problem very elegantly. I like it.
Ditto! It's a waste of resources (even if it doesn't take much) to have every program have to reset the flags.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Post Reply