MC68020 Motorola, MC68020 Datasheet - Page 171

no-image

MC68020

Manufacturer Part Number
MC68020
Description
(MC68020 / MC68EC020) MICROPROCESSORS USERS MANUAL
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68020/BZAJC
Quantity:
3
Part Number:
MC68020CEH16E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020CEH25
Manufacturer:
XILINX
Quantity:
101
Part Number:
MC68020CEH25E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020CFC16E
Manufacturer:
MOT
Quantity:
190
Part Number:
MC68020CFC16E
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68020CFC20E
Manufacturer:
FREESCALE
Quantity:
101
Part Number:
MC68020CFC25
Manufacturer:
FREESCALE
Quantity:
101
Part Number:
MC68020CRC25E
Manufacturer:
AD
Quantity:
423
Part Number:
MC68020EH16E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020EH20E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020FC16E
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
information to the main processor during the execution of these instructions. These
coprocessor format codes are discussed in detail in 7.2.3.2 Coprocessor Format Words.
7.2.3.1 COPROCESSOR INTERNAL STATE FRAMES. The context save (cpSAVE) and
context restore (cpRESTORE) instructions transfer an internal coprocessor state frame
between memory and a coprocessor. This internal coprocessor state frame represents the
state of coprocessor operations. Using the cpSAVE and cpRESTORE instructions, it is
possible to interrupt coprocessor operation, save the context associated with the current
operation, and initiate coprocessor operations with a new context.
A cpSAVE instruction stores a coprocessor internal state frame as a sequence of long-
word entries in memory. Figure 7-14 shows the format of a coprocessor state frame. The
format and length fields of the coprocessor state frame format comprise the format word.
During execution of the cpSAVE instruction, the MC68020/EC020 calculates the state
frame effective address from information in the operation word of the instruction and
stores a format word at this effective address. The processor writes the long words that
form the coprocessor state frame to descending memory addresses, beginning with the
address specified by the sum of the effective address and the length field multiplied by
four. During execution of the cpRESTORE instruction, the MC68020/EC020 reads the
state frame from ascending addresses beginning with the effective address specified in
the instruction operation word.
The processor stores the coprocessor format word at the lowest address of the state
frame in memory, and this word is the first word transferred for both the cpSAVE and
cpRESTORE instructions. The word following the format word does not contain
information relevant to the coprocessor state frame, but serves to keep the information in
the state frame a multiple of four bytes in size. The number of entries following the format
word (at higher addresses) is determined by the format word length for a given
coprocessor state.
7-18
ORDER
SAVE
n–1
n–2
0
n
1
RESTORE
ORDER
0
1
2
3
n
Figure 7-14. Coprocessor State Frame Format in Memory
31
FORMAT
24
M68020 USER’S MANUAL
23
COPROCESSOR-DEPENDENT INFORMATION
LENGTH
16
15
(UNUSED, RESERVED)
MOTOROLA
0

Related parts for MC68020