(29C) Prime numbers up to 10'000
|
09-03-2018, 05:24 PM
Post: #3
|
|||
|
|||
RE: (29C) Prime numbers up to 10'000
(09-03-2018 01:14 PM)PedroLeiva Wrote: Very nice. It also works for HP 67, physical device and emulators. An HP67/97 version requires some changes, especially as the index register is no 0 but "I" which, unlike on the 19C/29C, is located at the end of the address range. This means that the test for the largest possible index has to be adjusted and you have to make sure that the last register "I" is not overwritten by a prime. Which is an important point as the original program is designed to terminate with an error message because of the attempt to access a register beyond 29. For the 67/97 storing something in R25 (="I") will not generate an error but it will mess up the program. On the other hand all indexes may be decreased by 1 as R0 is no longer required. Since I am not completely sure how the program works maybe Thomas can provide some more detailled hints for an HP67/97 version. I have a version running but I am not sure if it terminates correctly. (09-03-2018 01:14 PM)PedroLeiva Wrote: About Emulators, thanks for the links to Sydneysmith site, I did not know it, it must be recent, for HP 29 and HP 67 the links are: (...) I like the Panamatik emulators, both for the 19C (with printer) and the 67. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)