The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
HP 41-XEQ/GTO and RTN
07-03-2017, 08:17 AM
Post: #1
HP 41-XEQ/GTO and RTN
I was looking at the Caves game for HP-41, there I see some I do not understand fully.
http://www.hpmuseum.org/software/41td/caves.htm

These lines:
Code:
318 LBL 33
319 AVIEW
320 PSE
321 RTN
are used multiple times.

I do understand how to works when you call it using XEQ commands like this:
Code:
129 XEQ 33
it will return and run 130 RCL 73 after its run the subroutine.

But In the Caves there are several calls to same subroutine using GTO like this:
Code:
176 GTO 33

When I test this, it seem that the program stops at the RTN when GTO is used.
Does the program continue with 322 LBL 13 when this happens?
Is this wrong within the program? Or do I miss something?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 41-XEQ/GTO and RTN - Jotne - 07-03-2017 08:17 AM
RE: HP 41-XEQ/GTO and RTN - Dieter - 07-03-2017, 10:50 AM
RE: HP 41-XEQ/GTO and RTN - Jotne - 07-03-2017, 02:30 PM
RE: HP 41-XEQ/GTO and RTN - SlideRule - 07-22-2017, 12:26 PM
RE: HP 41-XEQ/GTO and RTN - Jotne - 07-22-2017, 07:45 PM
RE: HP 41-XEQ/GTO and RTN - Jotne - 07-22-2017, 06:58 AM
RE: HP 41-XEQ/GTO and RTN - Dieter - 07-22-2017, 04:07 PM
RE: HP 41-XEQ/GTO and RTN - Paul Dale - 07-22-2017, 07:34 AM



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