35s mem seems weird



#5

On my 35s, I've noticed that the amout of memory used does seem to correspond with the sizes of the programs I've got stored.

Currently, my calculator is reporting 24535 bytes of free program memory. I've a single program D which has a claimed length of 1954 and no variables.

24535 + 1954 = 26489 which is way off from the total memory on the device. I've forgotten the exact memory empty size but it is over 30000 bytes.

Where has the memory gone? I'm pretty sure the program is larger than the quoted size...

Should this be counted as a bug?


Pauli


#6

How many indirect variables do you have allocated?

When you go into MEM, what does it show on both sides?


#7

Quote:
How many indirect variables do you have allocated?

None that I'm aware of. I did clear vars to check.


Quote:
When you go into MEM, what does it show on both sides?

    1VAR   2PGM
0 24,525

pressing 2 brings up:

    LBL D
LN=1954

There are no other programs.


- Pauli


#8

Further investigations.

Memory at start 24525.
Enter:

    LBL A
123
Memory now 24484 (i.e. 41 bytes used).
MEM 2 for LBL A has LN=9.

Entering:

    LBL A
123
456

Gives me 24446 bytes and LN=15.
Changing the 456 to 4567 in the this example yields 24446 and LN=16.

I'm guessing that the LN figure is being calculated as three bytes per operation plus one byte per character in the number and the mem figure is a flat 38 bytes per number. A quick look at equations seems to indicate that they follow the same rule as far as the LN= bit.

- Pauli

Edited: 6 Aug 2007, 12:51 a.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reasonable price for a 41C, Quad Mem, Time, Navigation and Card reader module? Eelco Rouw 10 4,879 12-12-2013, 01:52 AM
Last Post: Eelco Rouw
  hp50g screen weird line Sok-khieng Chum Hun 2 1,666 09-10-2013, 08:11 AM
Last Post: Sok-khieng Chum Hun
  weird statistics bug in wp34s Andrew Nikitin 5 2,188 06-20-2013, 01:54 PM
Last Post: Namir
  Weird behavior from lithium AAs Dave Britten 4 1,649 11-14-2012, 06:22 PM
Last Post: Lars Bergström
  OT weird cursor behavior Martin Pinckney 10 3,001 10-17-2011, 10:54 AM
Last Post: Paul Berger (Canada)
  15C LE - weird self-test behavior Katie Wasserman 0 823 09-19-2011, 11:52 PM
Last Post: Katie Wasserman
  Weird 28S keyboard on Anniversary model Keith Midson 4 1,545 03-29-2011, 01:02 PM
Last Post: Palmer O. Hanson, Jr.
  Introducing myself... and a question on a weird 48G Cristian Arezzini 12 3,293 03-07-2011, 11:51 PM
Last Post: Cristian Arezzini
  HP82069B charger, weird ... Alberto Fenini 11 3,098 08-20-2010, 03:28 AM
Last Post: Walter B
  HP-41 2*X-MEM emulation for NoV-64 & Clonix-D Diego Diaz 6 2,001 05-21-2010, 06:07 PM
Last Post: Geir Isene

Forum Jump: