Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability
|
02-18-2023, 04:21 PM
Post: #1
|
|||
|
|||
Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability
(02-17-2023 05:49 AM)kostrse Wrote: Sorry, I'm trying to compile it on my HP-50G and it complains at the GOSBVL (Invalid Syntax). Is it a SysRPL or Assembly instruction or what? GOSBVL is a Saturn assembly opcode that executes the subroutine identified by the symbol given as an argument. In particular, it is used when the address of the subroutine requires a "very long" jump (hence the VL in the name). I've tried a variety of things to replicate that error, but have been unable to do so. That said, I have a couple of questions that may help to track down what you are experiencing:
Successfully compiling his code therefore requires one of two scenarios:
Code: !ASM (02-17-2023 05:49 AM)kostrse Wrote: What should I do to make it work on a stock calculator? Starting from a "fresh out of the package" 50g, the following steps should work:
|
|||
02-20-2023, 04:02 AM
Post: #2
|
|||
|
|||
RE: Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability
Thank you for explanation, didn't work with SysRPL before.
Initially I was trying to just remove double quotes and save it on stack as a problem, but it didn't work. EXTABLES library and ASM command from the Developer Tools worked for me. |
|||
02-22-2023, 08:04 AM
Post: #3
|
|||
|
|||
RE: Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability
Hi
I've been away a few days, good to know you were able to compile it. Best regards Gjermund |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)