NOP on HP-41C
|
12-28-2020, 08:59 PM
Post: #21
|
|||
|
|||
RE: NOP on HP-41C
(12-28-2020 08:37 PM)Sylvain Cote Wrote:(12-28-2020 06:51 PM)hth Wrote: Each move of the goose costs 15 cycles extra compared to if a message is shown. That's pretty close to what I measured, which was about 4 ms. There could be other factors in play that made my program with the message a bit slower - isn't there a slight amount of overhead when program execution crosses a register boundary, or am I thinking of a different calculator? Maybe my program with the "WAIT" message added wasn't aligned as neatly (yes, I PACKed the program, and SSTed over the GTO 00 to compile it first). |
|||
12-28-2020, 10:33 PM
(This post was last modified: 12-28-2020 10:40 PM by hth.)
Post: #22
|
|||
|
|||
RE: NOP on HP-41C
(12-28-2020 08:59 PM)Dave Britten Wrote: That's pretty close to what I measured, which was about 4 ms. There could be other factors in play that made my program with the message a bit slower - isn't there a slight amount of overhead when program execution crosses a register boundary, or am I thinking of a different calculator? Maybe my program with the "WAIT" message added wasn't aligned as neatly (yes, I PACKed the program, and SSTed over the GTO 00 to compile it first). That is correct, there program speed may vary slightly due to the position of the bytes inside registers. Not strange if you think about it, it needs to fetch a register and then align the bytes to the same position for execution dispatch. You should not modify the program before the loop, call a subroutine located after the loop where you make any changes. |
|||
12-29-2020, 01:57 AM
Post: #23
|
|||
|
|||
RE: NOP on HP-41C
(12-28-2020 10:33 PM)hth Wrote:(12-28-2020 08:59 PM)Dave Britten Wrote: That's pretty close to what I measured, which was about 4 ms. There could be other factors in play that made my program with the message a bit slower - isn't there a slight amount of overhead when program execution crosses a register boundary, or am I thinking of a different calculator? Maybe my program with the "WAIT" message added wasn't aligned as neatly (yes, I PACKed the program, and SSTed over the GTO 00 to compile it first). That's a good idea, maybe I'll try that tomorrow just for kicks to see the difference. The core of the routine is just TIME, LBL 00, DSE 00, GTO 00, TIME. |
|||
12-29-2020, 02:31 AM
Post: #24
|
|||
|
|||
RE: NOP on HP-41C | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)