Post Reply 
A shorter Pause (PSE) in a program
01-31-2018, 06:52 AM
Post: #7
RE: A shorter Pause (PSE) in a program
(01-31-2018 05:28 AM)Thomas Okken Wrote:  
(01-31-2018 03:12 AM)rprosperi Wrote:  however most instructions are not stack-neutral, so you'll have to select commands which minimally change the stack in ways you may be able to easily correct, something like SDEV followed by RDN (a total of 496 mS).

If you want to keep the stack (mostly) intact, SDEV is not a good choice, because it overwrites X and Y, leaving T and Z intact, and saving X in LASTX. Also, you risk an error if the summation registers don't contain valid statistical data.
Maybe use something like PI LN RDN instead, losing T and LASTX? (Avoid trigs for time-wasting as their timing probably depends on the angular mode.)

Yes SDEV; RDN messes with the stack.

Steve
In order of appearance: HP 41CV, CMT-MCGPS, HP 41CX, DM 41, DM 42
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A shorter Pause (PSE) in a program - 4ster - 01-31-2018, 01:32 AM
RE: A shorter Pause (PSE) in a program - 4ster - 01-31-2018 06:52 AM



User(s) browsing this thread: 1 Guest(s)