1,024 additional Registers on the CL
|
08-13-2016, 02:50 PM
(This post was last modified: 08-13-2016 02:57 PM by Ángel Martin.)
Post: #38
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-12-2016 09:59 PM)Gene Wrote: How about a sorting program just to see if it all works? Yup, and after another long testing and debugging session... here's the deal: 1. use JM Baillard's program from http://hp41programs.yolasite.com/sorting.php 2. modify it to replace the standard functions with the extended ones - which BTW have changed names, they all have a "Y" prefix now; to make clear they are CL-specific) 3. use the program "YRAN" below to populate as many registers as you want with random numbers (assuming of course you don't want to do that manually, haha) 4. run the YSORT program, which can take a long time, then run the YVIEW program to see the sorted results... All parameter lines are entered by the functions themselves... All everything is running with a SIZE 000 - Get psyched!! 1. View Results, bbb.eee in X Code:
2. Populate random values: bbb.eee in X Code:
3. Sort Y-Registers, bbb.eeeii in X (mind the increment!) Code:
It's up to you to modify YSORT to use extended or standard (hybrid case) indirection ... enjoy the exercise! "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)