P60ARM-B/IG/GP1N Zarlink Semiconductor, Inc., P60ARM-B/IG/GP1N Datasheet - Page 61

no-image

P60ARM-B/IG/GP1N

Manufacturer Part Number
P60ARM-B/IG/GP1N
Description
A Low Power, General Purpose 32 Bit RISC Microprocessor
Manufacturer
Zarlink Semiconductor, Inc.
Datasheet
4.13 Coprocessor register transfers (MRC, MCR)
The is only executed if the condition is true. The various conditions are defined at the beginning of this
chapter. The instruction encoding is shown in Figure 27: Coprocessor Register Transfer Instructions.
This class of instruction is used to communicate information directly between ARM60 and a coprocessor.
An example of a coprocessor to ARM60 register transfer (MRC) instruction would be a FIX of a floating
point value held in a coprocessor, where the floating point number is converted into a 32 bit integer within
the coprocessor, and the result is then transferred to an ARM60 register. A FLOAT of a 32 bit value in an
ARM60 register into a floating point value within the coprocessor illustrates the use of an ARM60 register
to coprocessor transfer (MCR).
An important use of this instruction is to communicate control information directly from the coprocessor
into the ARM60 CPSR flags. As an example, the result of a comparison of two floating point values within
a coprocessor can be moved to the CPSR to control the subsequent flow of execution.
Note for future compatbility the ARM610 has an internal coprocessor (#15) for control of on-chip functions.
Accesses to this coprocessor are performed during coprocessor register transfers.
4.13.1 The Coprocessor Þelds
The CP# field is used, as for all coprocessor instructions, to specify which coprocessor is being called upon.
The CP Opc, CRn, CP and CRm fields are used only by the coprocessor, and the interpretation presented
here is derived from convention only. Other interpretations are allowed where the coprocessor
functionality is incompatible with this one. The conventional interpretation is that the CP Opc and CP fields
31
Cond
28
27
1110
24
Figure 27: Coprocessor Register Transfer Instructions
23
CP Opc
21
20
L
19
CRn
16
15
Instruction Set - MRC, MCR
Rd
12
Coprocessor operand register
Coprocessor information
Coprocessor number
ARM source/destination register
Coprocessor source/destination register
Load/Store bit
Coprocessor operation mode
Condition field
11
0 = Store to Co-Processor
1 = Load from Co-Processor
CP#
8
7
CP
5 4 3
1
CRm
0
57

Related parts for P60ARM-B/IG/GP1N