Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability (/thread-19573.html) |
Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability - DavidM - 02-18-2023 04:21 PM (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:
RE: Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability - kostrse - 02-20-2023 04:02 AM 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. RE: Compiling Gjermund's solution to Valentin's SRC #012a - Then and Now: Probability - Gjermund Skailand - 02-22-2023 08:04 AM Hi I've been away a few days, good to know you were able to compile it. Best regards Gjermund |