mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 90

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Exception Processing Overview
2.8.2 Processor Exceptions
Table 2-21 describes MCF5307 exceptions.
2-50
Access Error
Address
Error
Illegal
Instruction
Divide by
Zero
Privilege
Violation
Exception
• Vector number—This 8-bit field, vector[7–0], defines the exception type. It is
calculated by the processor for internal faults and is supplied by the peripheral for
interrupts. See Table 2-18.
0101–011x
1101–111x
0001-001x
FS[3–0]
Access errors are reported only in conjunction with an attempted store to write-protected memory.
Thus, access errors associated with instruction fetch or operand read accesses are not possible.
Caused by an attempted execution transferring control to an odd instruction address (that is, if bit 0 of
the target address is set), an attempted use of a word-sized index register (Xi.w) or a scale factor of
8 on an indexed effective addressing mode, or attempted execution of an instruction with a full-format
indexed addressing mode.
On Version 2 ColdFire implementations, only some illegal opcodes were decoded and generated an
illegal instruction exception. The Version 3 processor decodes the full 16-bit opcode and generates
this exception if execution of an unsupported instruction is attempted. Additionally, attempting to
execute an illegal line A or line F opcode generates unique exception types: vectors 10 and 11,
respectively.
ColdFire processors do not provide illegal instruction detection on extension words of any instruction,
including MOVEC. Attempting to execute an instruction with an illegal extension word causes
undefined results.
Attempted division by zero causes an exception (vector 5, offset = 0x014) except when the PC points
to the faulting instruction (DIVU, DIVS, REMU, REMS).
Caused by attempted execution of a supervisor mode instruction while in user mode. The ColdFire
Programmer’s Reference Manual lists supervisor- and user-mode instructions.
0000
0100
1000
1001
1100
101x
Not an access or address error
Reserved
Error on instruction fetch
Reserved
Error on operand write
Attempted write to write-protected space
Reserved
Error on operand read
Reserved
Freescale Semiconductor, Inc.
For More Information On This Product,
Table 2-20. Fault Status Encodings
Table 2-21. MCF5307 Exceptions
Go to: www.freescale.com
MCF5307 User’s Manual
Description
Definition

Related parts for mcf5307cft90b