Post Reply 
(11C) 100 virtual registers
03-18-2018, 06:29 PM
Post: #3
RE: (11C) 100 virtual registers
(03-18-2018 12:04 AM)michaelzinn Wrote:  Get 100 virtual registers instead of just 20!

I see you are rediscovering techniques from the Seventies. ;-) Storing multiple integers in a single data register soon became popular with the advent of the HP67/97 in 1976, as these were – as far as I know – the first HPs that offered indirect addressing.

There are even HP programs where you can see this method at work. Take a look at this moon phase program for the HP41. The initialization routine prestores numerous two-digit integers where each register holds three or five at a time.

By the way: instead of 2 [10^x] you better use [EEX] 2. That's faster and it's also safe on early HPs where 10^x is prone to roundoff errors (HP25: 8 [10^x] => 99999999,60). That's exactly why HP soon switched to 13-digit internal precision.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) 100 virtual registers - Michael Zinn - 03-18-2018, 12:04 AM
RE: (11C) 100 virtual registers - Dieter - 03-18-2018 06:29 PM



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