Table of Contents Previous topic Next topic
The Extension Interface->Variant Specific Interface Calls->HandleReservedInstruction()
extern "C" LONG HandleReservedInstruction(LONG nExtensionState, BYTE* pnBytes)
Some variants make use of the unused opcode A5 to provide an additional assembler instruction. The call allows an extension to support this additional instruction. The extension should carry out the operation required.
The extension should return zero if it does not want to handle this call. Otherwise it should return one.
If no extension handles this call, the simulator will halt with an illegal instruction error.