I have a few questions related to ILLEGAL and Unimplemented
instructions for MC68EC000. I'd be grateful for help.
What value of PC is placed on stack in case of ILLEGAL ($4AFC opcode)
Does pushed PC points to ILLEGAL opcode or to the next instruction
What value of PC is placed on stack in case of MOVEC ($4E7B opcode)
Does pushed PC points to MOVEC opcode or to the next instruction
What value of PC is placed on stack in case of Unimplemented pattern
I think that in cases 2.) &3.) PC should point to the
MOVEC/Unimplemented opcode, because ILLEGAL exception
should know who called it. Beside this in case of Unimplemented opcode
there is no info how to increment PC (2,4,6 bytes?)
I'm not sure about ILLEGAL opcode because it is treated as a LEGAL
instruction to invoke ILLEGAL exception.
Let me know what do you think about it.