Hi
You give us very little information (cpu, compiler, is your code C or assembler, ...) but I can give you some information.
Look in the Coldfire Programmer's Reference Manual, chapter 11, section 11.1.2. This gives you details of the exception stack frame. When the CPU executes the RTE instruction it will expect this frame to be on the stack. The Format exception means that the format field is incorrect.
Are you trying to write an exception (interrupt) handler in assembler? If so, when the interrupt occurs, the CPU will create a correct exception frame on the stack and it will then jump to your exception handler. Or maybe you are trying to write some code that may not be called by the Interrupt module but you have to return with RTE?
Please give some more details.
Paul.
Edit: spelling.
Message Edited by mccp on
2007-07-04 09:18 AM