Post Reply 
HP-65 Question
03-31-2017, 11:33 PM
Post: #3
RE: HP-65 Question
(03-31-2017 10:47 PM)Brad Barton Wrote:  
(03-31-2017 08:16 PM)Greg Wrote:  will produce (6 + 4 + 2 + 1 + 7 +) 20.

Does anyone have a physical HP-65 that can confirm that for me?

Yes, the result is 20 on a physical 65. As you suspected, when the program encountered the RTN in the A subroutine, it was sent back to finish up the originally executed D subroutine, rather than run sequentially through the other subs.

Brad


Oops, I missed that point in the 65 manual.

I rewrote the 65 emulator's Mark and Search code to manage the subroutines in the same way. The emulator now returns 20 as well.

cheers

Tony
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-65 Question - Greg - 03-31-2017, 08:16 PM
RE: HP-65 Question - Brad Barton - 03-31-2017, 10:47 PM
RE: HP-65 Question - teenix - 03-31-2017 11:33 PM
RE: HP-65 Question - Greg - 04-01-2017, 12:59 AM
RE: HP-65 Question - teenix - 04-01-2017, 02:34 AM
RE: HP-65 Question - Brad Barton - 04-01-2017, 03:30 AM



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