Post Reply 
HP 50g Programming Methods???
11-06-2017, 09:30 PM
Post: #13
RE: HP 50g Programming Methods???
A very rough rule of thumb is that SysRPL is about 5 times faster than UserRPL; Saturn assembly is about 5 times faster than SysRPL, and ARM assembly (or C code) is about 5 times faster than Saturn assembly.

HPGCC has an interesting trade-off: programs are about 100 times faster than their UserRPL equivalents, but they are also about 100 times larger. You can avoid taking the space in your HOME directory by storing the programs on an SD card, but you still need the RAM to run them. I find that it takes about 0.25s to load a C program from the SD card.

When using C code, it's best to have a UserRPL or SysRPL driver program that handles the user interface stuff and then just do the computing in C. I'll also toot my horn and suggest my hpobjects library for hpgcc2. The library makes it relatively easy to read and write calculator objects with your C program.
http://www.hpcalc.org/details/7177
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50g Programming Methods??? - Carsen - 11-04-2017, 01:38 AM
RE: HP 50g Programming Methods??? - pier4r - 11-04-2017, 08:04 AM
RE: HP 50g Programming Methods??? - Helix - 11-04-2017, 10:22 PM
RE: HP 50g Programming Methods??? - Arno K - 11-04-2017, 12:58 PM
RE: HP 50g Programming Methods??? - pier4r - 11-04-2017, 01:01 PM
RE: HP 50g Programming Methods??? - Arno K - 11-04-2017, 02:32 PM
RE: HP 50g Programming Methods??? - DavidM - 11-04-2017, 05:02 PM
RE: HP 50g Programming Methods??? - Carsen - 11-05-2017, 06:07 AM
RE: HP 50g Programming Methods??? - DavidM - 11-05-2017, 04:54 PM
RE: HP 50g Programming Methods??? - David Hayden - 11-06-2017 09:30 PM
RE: HP 50g Programming Methods??? - Carsen - 11-07-2017, 09:11 PM
RE: HP 50g Programming Methods??? - Carsen - 11-10-2017, 05:43 AM
RE: HP 50g Programming Methods??? - pier4r - 11-10-2017, 07:57 PM
RE: HP 50g Programming Methods??? - Carsen - 11-12-2017, 08:07 PM



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