08-02-2019 02:26 AM
HP 50g calculator.
Please, can you tell me which commands in system RPL language correspond to "ROW+" and "COL+" commands in User RPL language?
Thanks a lot, Roberto.
Solved! Go to Solution.
08-02-2019 09:07 AM - edited 08-03-2019 01:36 PM
Hi!, @RobMio :
The entries of address are ...
03E0AB xCOL- ( [ ] n → [ ]' xn )
03F0AB xCOL+ ( [[ ]] [[ ]]' n → [[ ]]'' ) ( [ ] x n → [ ]' )
Tools for SysRPL ...
EMACS 2.11 ... https://www.hpcalc.org/details/3940
CQIF? ... https://www.hpcalc.org/details/3251
Nosy ... https://www.hpcalc.org/details/7133
OT49 ... https://www.hpcalc.org/details/3397
Debug4x ... https://www.hpcalc.org/details/5441
extable ... https://www.hpcalc.org/details/5135
08-02-2019 10:58 AM - edited 08-02-2019 11:00 AM
ROW+ and COL+ are simple UserRPL commands which provide a "check and dispatch" shell for branching to other SysRPL subroutines in the calculator's firmware. As is usually the case with SysRPL commands, the specific code that is executed depends on both the types of arguments given to the UserRPL commands as well as the ROM version for the calculator. On a v2.15 50g, the following applies:
|ROW+||Array||Array||Real||FPTR 3 5D|
|ROW+||Array||Real||Real||FPTR 3 62|
|ROW+||Array||Complex||Real||FPTR 3 63|
|COL+||Array||Array||Real||FPTR 3 60|
|COL+||Array||Real||Real||FPTR 3 62|
|COL+||Array||Complex||Real||FPTR 3 63|
The above was determined by using Nosy on a v2.15 50g to see how the ROW+ and COL+ commands were implemented. All of the "commands" in the execute column are SysRPL subroutines that inevitably call other SysRPL commands and subroutines to perform their functions. So in this case, there's not really a single SysRPL command to perform these functions, but rather a series of SysRPL subroutines to perform the needed steps based on the arguments given.
Hope this helps!