![](http://datasheet.mmic.net.cn/90000/MC68330FC16_datasheet_3506366/MC68330FC16_184.png)
5- 80
MC68330 USER'S MANUAL
MOTOROLA
MICROCODE REVISION NUMBER
TRANSFER COUNT
Figure 5-23. Internal Transfer Count Register
The microcode revision number is checked before a BERR stack frame is restored via
RTE. In a multiprocessor system, this check ensures that a processor using stacked
information is at the same revision level as the processor that created it.
The transfer count is ignored unless the MV bit in the stacked SSW is set. If the MV bit is
set, the least significant byte of the internal register is reloaded into the MOVEM transfer
counter during RTE execution.
For faults occurring during normal instruction execution (both prefetches and non-MOVEM
operand accesses) SSW [TP:MV] = 00. Stack frame format is shown in Figure 5-24.
Faults that occur during the operand portion of the MOVEM instruction are identified by
SSW [TP:MV] = 01. Stack frame format is shown in Figure 5-25.
When a bus error occurs during exception processing, SSW [TP:MV] = 10. The frame
shown in Figure 5-26 is written below the faulting frame. Stacking begins at the address
pointed to by SP – 6 (SP value is the value before initial stacking on the faulted frame).
The frame can have either four or six words, depending on the type of error. Four-word
stack frames do not include the faulted instruction PC (the internal transfer count register
is located at SP
+ $10 and the SSW is located at SP + $12).
The fault address of a dynamically sized bus cycle is the address of the upper byte,
regardless of the byte that caused the error.
15
0
SP
STATUS REGISTER
+$02
RETURN PROGRAM COUNTER HIGH
RETURN PROGRAM COUNTER LOW
+$06
1100
VECTOR OFFSET
+$08
FAULTED ADDRESS HIGH
FAULTED ADDRESS LOW
+$0C
DBUF HIGH
DBUF LOW
+$10
CURRENT INSTRUCTION PROGRAM COUNTER HIGH
CURRENT INSTRUCTION PROGRAM COUNTER LOW
+$14
INTERNAL TRANSFER COUNT REGISTER
+$16
0
SPECIAL STATUS WORD
Figure 5-24. Format $C — BERR Stack for Prefetches and Operands
15
0
SP
STATUS REGISTER
+$02
RETURN PROGRAM COUNTER HIGH
RETURN PROGRAM COUNTER LOW
+$06
1100
VECTOR OFFSET
+$08
FAULTED ADDRESS HIGH