Post Reply 
A tiny synthetic HP41 challenge
12-08-2016, 08:34 PM
Post: #4
RE: A tiny synthetic HP41 challenge
(12-08-2016 06:46 PM)Dieter Wrote:  Thank you for your reply. Of course the code works for x=0. A look at the M-register shows what it does. Assume x=pi.

Code:
CLA        00 00 00 00 00 00 00
STO M      03 14 15 92 65 40 00
ASTO M     10 03 14 15 92 65 40
ASTO M     10 10 03 14 15 92 65
ASTO M     10 10 10 03 14 15 92
>"000999"  10 10 10 03 14 15 92 00 09 99
       ...-- N ---> <--- register M --->

RCL M => 3,141592000 E-1
       = 0,3141592

If you have 0 as input and you append the 999 exponent at the end, then RCL M will put a non-normalized number in X?

(12-08-2016 06:46 PM)Dieter Wrote:  
(12-08-2016 06:25 PM)hth Wrote:  I also think you can just remove the last CLA, there is no need to clean up.

I should have known this 40 years ago: "No, Mom, my room is OK this way. Håkan said there is no need to clean up". ;-)

Dieter

LOL!

Håkan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A tiny synthetic HP41 challenge - Dieter - 12-07-2016, 07:17 PM
RE: A tiny synthetic HP41 challenge - hth - 12-08-2016, 06:25 PM
RE: A tiny synthetic HP41 challenge - hth - 12-08-2016 08:34 PM



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