Null Primitive - Motorola MC68020 User Manual

Table of Contents

Advertisement

7.4.4 Null Primitive

The null coprocessor response primitive communicates coprocessor status information to
the main processor. This primitive applies to instructions in the general and conditional
categories. Figure 7-24 shows the format of the null primitive.
15
14
13
CA
PC
The null primitive uses the CA and PC bits as described in 7.4.2 Coprocessor Response
Primitive General Format.
The IA bit specifies the interrupts allowed optional operation. This bit determines whether
the MC68020/EC020 services pending interrupts prior to rereading the response CIR after
receiving a null primitive. Interrupts are allowed when the IA bit is set.
The PF bit shows the processing-finished status of the coprocessor. That is, PF = 1
indicates that the coprocessor has completed all processing associated with an
instruction.
The TF bit indicates the true/false condition during execution of a conditional category
instruction. TF = 1 is the true condition specifier; TF = 0 is the false condition specifier.
The TF bit is only relevant for null primitives with CA = 0 that are used by the coprocessor
during the execution of a conditional instruction.
The MC68020/EC020 processes a null primitive with CA = 1 in the same manner whether
executing a general or conditional category coprocessor instruction. If the coprocessor
sets CA and IA in the null primitive, the main processor services pending interrupts using
a midinstruction stack frame (refer to Figure 7-43) and reads the response CIR again. If
the coprocessor sets CA and clears IA in the null primitive, the main processor reads the
response CIR again without servicing any pending interrupts.
A null primitive with CA = 0 provides a condition evaluation indicator to the main processor
during the execution of a conditional instruction and ends the dialogue between the main
processor and coprocessor for that instruction. The main processor completes the
execution of a conditional category coprocessor instruction when it receives the primitive.
The PF bit is not relevant during conditional instruction execution since the primitive itself
implies completion of processing.
Usually, when the main processor reads any primitive that does not have CA = 1 while
executing a general category instruction, it terminates the dialogue between the main
processor and coprocessor. If a trace exception is pending, however, the main processor
does not terminate the instruction dialogue until it reads a null primitive with CA = 0 and
PF = 1 from the response CIR (refer to 7.5.2.5 Trace Exceptions). Thus, the main
processor continues to read the response CIR until it receives a null primitive with CA = 0
7-32
12
11
10
9
0
0
1
0
0
Figure 7-24. Null Primitive Format
M68020 USER'S MANUAL
8
7
6
5
4
IA
0
0
0
0
3
2
1
0
0
0
PF
TF
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68ec020

Table of Contents