Module Run entry confusion
Jon Abbott (1421) 2651 posts |
Going by the PRM, the Module run entry is an offset in the Module. However, every 26bit Module I’ve come across that has a run entry, it’s an instruction. eg B &204 These seem to run correctly on RO3.x, so was this an undocumented feature or is the PRM wrong in stating it’s an offset? |
Martin Avison (27) 1494 posts |
In my PRM p1-206, the entry for the Start code (which is what is called by RMrun) says of the offset: This field need not be an offset. If not … it is assumed to be an instruction which is executed. |
Jon Abbott (1421) 2651 posts |
Thanks for confirming. I’ll create the Wiki page for future reference. |
Rick Murray (539) 13840 posts |
No need. I started this ages ago: https://www.riscosopen.org/wiki/documentation/show/File%20formats:%20Relocatable%20Module Anyway, it says there that an offset that isn’t a feasible valid offset (eg larger than the module) will be assumed to be an instruction. |