Test 26/32 bit when in a module
Bill Antonia (2466) 120 posts |
I’m trying to use the inline assembler as the first part of my init_code to test to see if the module is running on a 26 or 32 bit mode/system.
However I get an “Internal inconsistency” message with a “Fatal internal error: outinstrS(e13f000f)” I can call a pre assembled function but I thought I would try the inline assembler in the new C compiler. |
Jeffrey Lee (213) 6046 posts |
Sounds like a compiler bug. I’d suggest either calling out to an assembler function, or checking bit 6 of OS_PlatformFeatures 0 |
Bill Antonia (2466) 120 posts |
Didn’t know of the OS_PlatformFeatures SWI, just thought I’d try the inline assembler for some of the code I’m writing, I already have an assembler function to do this. Thanks. |