Post Reply 
Still needed for the HP 41CL
08-05-2016, 06:12 PM (This post was last modified: 08-05-2016 06:41 PM by Sylvain Cote.)
Post: #19
RE: Still needed for the HP 41CL
I did some other tests and I have some corrections to the numbers I had given.
First I took what Windows gave me and regenerating the raw files with HP41UC I realized the numbers were different so to be sure I have manually counted the bytes used from the binary raw file.

Some stats ...
W6X Total = Header + W6X15 (parser+loader) + W6X16 (parser+loader) + W6X20 (parser+loader) + W6X25 (parser+loader) + Trailer (-RTN+END)
W6X 265 bytes = (10 + 8) + (11 + 50) + (11 + 50) + (11 + 50) + (11 + 51) + (-2 + 4)

Header -> 18 bytes
Code:
LBL "W6X"
RCL 29
ENTER^
...
GTO "FNFERR"

W6X15 data parser -> 11 bytes
Code:
"W6X15"
ASTO X
X=Y?
GTO 00

W6X15 data loader -> 50 bytes
Code:
LBL 00
4.43
STO 00 
5.99
STO 01
5.99
STO 02
.26
STO 03
.23
STO 04
9.72
STO 05
2.56
STO 06
3.11
STO 07
1.46
STO 08
1.61
STO 09
END

There are 16 global labels [(16 x (Header + Trailer)) -> 16 x 20 bytes -> 320 bytes]
There are 222 data parser + loader [222 x ~(11 + 50 bytes) -> 222 x ~61 bytes -> 13542 bytes]
For a total of 13862 bytes so let say 14KB for the data loader part which is a little less than half of what I wrongly calculated before.

Sylvain

edit 1 : typo

edit 2: There are 24 x 5 chr name, 103 x 6 chr name, 95 x 7 chr name that translate to the following:
222 data parser + loader [(24 x ~(11 + 50 bytes)) + (103 x ~(12 + 50 bytes)) + (95 x ~(13 + 50 bytes))] -> 1464 + 6386 + 5985 -> 13835 bytes
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Still needed for the HP 41CL - Gene - 07-18-2016, 02:40 PM
RE: Still needed for the HP 41CL - Gene - 07-18-2016, 03:25 PM
RE: Still needed for the HP 41CL - Gene - 07-19-2016, 02:21 AM
RE: Still needed for the HP 41CL - Sylvain Cote - 08-05-2016 06:12 PM



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