Transfer Main Processor Control Register Primitive - Motorola MC68020 User Manual

Table of Contents

Advertisement

The D/A bit specifies whether the primitive transfers an address or data register. D/A = 0
indicates a data register, and D/A = 1 indicates an address register. The register field
contains the register number.
If DR = 0, the main processor writes the long-word operand in the specified register to the
operand CIR. If DR = 1, the main processor reads a long-word operand from the operand
CIR and transfers it to the specified data or address register.

7.4.14 Transfer Main Processor Control Register Primitive

The transfer main processor control register primitive transfers a long-word operand
between one of its control registers and the coprocessor. This primitive applies to general
and conditional category instructions. Figure 7-34 shows the format of the transfer main
processor control register primitive.
15
14
13
CA
PC
DR
Figure 7-34. Transfer Main Processor Control Register Primitive Format
The transfer main processor control register primitive uses the CA, PC, and DR bits as
described in 7.4.2 Coprocessor Response Primitive General Format. If the
coprocessor issues this primitive with CA = 0 during a conditional category instruction, the
main processor initiates protocol violation exception processing.
When the main processor receives this primitive, it reads a control register select code
from the register select CIR. This code determines which main processor control register
is transferred. Table 7-5 lists the valid control register select codes. If the control register
select code is not valid, the MC68020/EC020 initiates protocol violation exception
processing (refer to 7.5.2.1 Protocol Violations).
7-42
12
11
10
9
8
0
1
1
0
Table 7-5. Main Processor Control
Register Select Codes
Select Code
$x000
$x001
$x002
$x800
$x801
$x802
$x803
$x804
All other codes cause a protocol violation exception.
M68020 USER'S MANUAL
7
6
5
4
1
0
0
0
0
Control Register
SFC
DFC
CACR
USP
VBR
CAAR
MSP
ISP
3
2
1
0
0
0
0
0
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68ec020

Table of Contents