Coprocessor Interface
4-16
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
4.7
Undefined instructions
Undefined instructions are treated by the ARM7TDMI processor as coprocessor
instructions. All coprocessors must be absent,
CPA
and
CPB
must be HIGH, when an
undefined instruction is presented. The ARM7TDMI processor takes the undefined
instruction trap.
For undefined instructions to be handled correctly, any coprocessors in a system must
give the absent response (
CPA
and
CPB
HIGH) to an undefined instruction. This
enables the core to take the undefined instruction exception.
The coprocessor must check bit [27] of the instruction to differentiate between the
following instruction types:
•
undefined instructions have 0 in bit [27]
•
coprocessor instructions have 1 in bit [27].
Coprocessor instructions are not supported in the Thumb instruction set but undefined
instructions are. All coprocessors must monitor the state of the
TBIT
output from
ARM7TDMI core. When the ARM7TDMI core is in Thumb state, coprocessors must
drive
CPA
and
CPB
HIGH, and the instructions seen on the data bus must be ignored.
In this way, coprocessors do not execute Thumb instructions in error, and all undefined
instructions are handled correctly.
Содержание ARM7TDMI
Страница 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 276: ...Differences Between Rev 3a and Rev 4 C 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...