EasyManuals Logo

Motorola MC68020 User Manual

Motorola MC68020
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
7- 24 M68020 USER’S MANUAL MOTOROLA
The instruction can include as many as five effective address extension words following
the F-line operation word in the cpRESTORE instruction format. These words contain any
additional information required to calculate the effective address specified by bits 5–0 of
the F-line operation word.
All memory addressing modes except the predecrement addressing mode are valid.
Invalid effective address encodings cause the MC68020/EC020 to initiate F-line emulator
exception processing (refer to 7.5.2.2 F-Line Emulator Exceptions).
7.2.3.4.2 Protocol. Figure 7-18 shows the protocol for the coprocessor context restore
instruction. When the main processor executes a cpRESTORE instruction, it first reads
the coprocessor format word from the effective address in the instruction. This format
word contains a format code and a length field. During cpRESTORE operation, the main
processor retains a copy of the length field to determine the number of bytes to be
transferred to the coprocessor during the cpRESTORE operation and writes the format
word to the restore CIR to initiate the coprocessor context restore.
M
1 RECOGNIZE COPROCESSOR INSTRUCTION F-LINE
O
PERATION WORD
M
2 READ COPROCESSOR FORMAT CODE FROM
E
FFECTIVE ADDRESS SPECIFIED IN OPERATION WORD
M
3 WRITE COPROCESSOR FORMAT WORD TO
R
ESTORE CIR
M
4 READ RESTORE CIR
M
5 IF (FORMAT = INVALID FORMAT) WRITE $0001 ABORT
C
ODE TO CONTROL CIR AND INITIATE FORMAT ERROR
E
XCEPTION PROCESSING (SEE NOTE 1)
M
6 IF (FORMAT = EMPTY/RESET) GO TO M7; ELSE, TRANSFER
N
UMBER OF BYTES SPECIFIED BY FORMAT WORD TO
O
PERAND CIR (SEE NOTE 2)
M
7 PROCEED WITH EXECUTION OF NEXT INSTRUCTION
C
1 TERMINATE CURRENT OPERATIONS AND EVALUATE
F
ORMAT WORD
C
2 IF (INVALID FORMAT) PLACE INVALID FORMAT CODE
I
N THE RESTORE CIR
C
3 IF (VALID FORMAT) RECEIVE NUMBER OF BYTES
I
NDICATED IN FORMAT WORD THROUGH OPERAND CIR
MAIN PROCESSOR
C
OPROCESSO
R
NOTES: 1. See 7.6.1.5 Format Error.
2. The MC68020/EC020 uses the length field in the format word read during M2 to determine the number of
bytes to read from memory and write to the operand CIR.
Figure 7-18. Coprocessor Context Restore Instruction Protocol
When the coprocessor receives the format word in the restore CIR, it must terminate any
current operations and evaluate the format word. If the format word represents a valid
coprocessor context as determined by the coprocessor design, the coprocessor returns
the format word to the main processor through the restore CIR and prepares to receive
the number of bytes specified in the format word through its operand CIR.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola MC68020 and is the answer not in the manual?

Motorola MC68020 Specifications

General IconGeneral
BrandMotorola
ModelMC68020
CategoryComputer Hardware
LanguageEnglish

Related product manuals