|[WP34S] Documentation for Advanced Programming Commands and Techniques|
Message #1 Posted by Les Wright on 5 Apr 2012, 10:13 p.m.
I have been taking a close look at the source code in the /xrom subdirectory at Sourceforge. It looks to me a lot like FOCAL code, but there is extra stuff in there that is documented neither in the main manual nor the assembler manual--things like #define, XLBL, MONADIC, DYADIC, etc. I see plenty of the JMP and GSB pseudo instructions that get handled by the preprocessor, as well as LBL-less targets. But there are other things that don't get recognized by the assembler when I try to compile this code (for example, integrate.wp34s) into user code. I also notice that there are a few xrom-based commands--XEQUSR, POPUSR, SLVQ--listed in the op-code file, and thus supposedly accessible to the end-user, but I can find no documentation on what they are or how to use them.
So I guess my questions are this: how does one assemble the source code in that /xrom directory for the end-user? Can they be compiled and used outside of XROM, and if so, how? And with the XROM commands found in the op-codes file, how does the end-user access them and is there documentation out there that to guide the advanced programmer?
Hopefully some of the development team can edify me in plain English, or French.