MOTOROLA
Chapter 7. Exceptions
7-7
Part II. PowerPC Microprocessor Module
exception latency depends on the time required to reference memory. The measurement is
equal to the time taken for one of the following three events, in addition to the interval from
B to E as shown in Table 7-19.
¥
Longest load/store multiple/string instruction used
¥
or, one bus cycle for aligned access
¥
or, two bus cycles for unaligned access
System-level exception latency can be longer than the interval from B to E. If an instruction
ahead of the exception-causing instruction also generates an exception, that exception is
recognized Þrst. If it is important to minimize exception latency, exception handlers should
save the machine context and reenable exceptions as quickly as possible so pending
external exceptions are handled quickly.
Register settings for the external interrupt exception are shown in Table 7-6.
7.1.2.6 Alignment Exception (0x00600)
This section describes conditions that can cause alignment exceptions in the processor.
Similar to DSI exceptions, alignment exceptions use SRR0 and SRR1 to save the machine
state and DSISR to determine the source of the exception. An alignment exception occurs
when no higher priority exception exists and the implementation cannot perform a memory
access for one of the following reasons:
¥
The operand of lmw, stmw, lwarx, or stwcx. is not aligned.
¥
The instruction is lmw, stmw, lswi, lswx, stswi, or stswx and the processor is in
little-endian mode.
¥
An unaligned load or store in little-endian mode.
For lmw, stmw, lswi, lswx, stswi, and stswx instructions in little-endian mode, an
alignment exception always occurs. For lmw and stmw instructions with an operand that is
not aligned in big-endian mode, and for lwarx and stwcx. with an operand that is not
Table 7-6. Register Settings after an External Interrupt
Register
Setting Description
SRR0
Set to the effective address of the instruction that the processor would have attempted to execute next if
no interrupt conditions were present.
SRR1
0
Loaded with equivalent bits from the MSR
1Ð4
Cleared
5Ð9
Loaded with equivalent bits from the MSR
10Ð15
Cleared
16Ð31
Loaded with equivalent bits from the MSR
Note that depending on the implementation, reserved bits in the MSR may not be copied to SRR1.
MSR
POW 0
ILE
Ñ
EE
0
PR
0
FP
0
ME Ñ
SE
0
BE
0
IP
Ñ
IR
0
DR
0
RI
0
LE
Set to value of ILE
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......