Post Reply 
(35S) Statistical Distributions Functions
11-20-2015, 08:54 PM (This post was last modified: 11-20-2015 09:32 PM by Dieter.)
Post: #72
RE: HP 35s Statistical Distributions Functions
(11-20-2015 08:37 PM)Marcio Wrote:  
(11-20-2015 08:30 PM)Dieter Wrote:  As far as programs are concerned: Every labelled program can have up to 999 steps (e.g. A001...A999), which allows for at least 26 (A...Z) x 999 = almost 26.000 steps. So there is sufficient room for more code. ;-)

Is there any way to assess this?

You can use the MEM command to see the remaining memory size in Bytes.

N.B.: I have edited my previous post before I read your reply. The 26000 steps are a theoretical limit which would only be reached if there was sufficient memory. Since every program step requires several bytes, the max. number of steps should be substantially below 10000 steps.

(11-20-2015 08:37 PM)Marcio Wrote:  I remember that I had like 1200+ lines of codes and they occupied nearly 1/3 of the device's memory, no equations anywhere.

Every single program step requires at least three bytes, some use (even substantially) more. So 1200 lines times, say on average 4 Bytes/line are already nearly 5000 Bytes or 1/6 the full capacity. Especially using numbers (even a simple "1" or "15") is very memory consuming (and slow, for that matter), so that it may well be possible that a 1200 line program can use 30% of the total memory.

I remember the days when the HP41 was new and how I tried to squeeze off one or two more bytes to make the program fit into the 224 byte capacity of a single magnetic card. ;-)

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


Messages In This Thread
RE: HP 35s Statistical Distributions Functions - Dieter - 11-20-2015 08:54 PM



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