Instruction Cycle Timings
ARM DDI 0210C
Copyright © 2001, 2004 ARM Limited. All rights reserved.
6-19
6.12
Software interrupt and exception entry
Exceptions (including software interrupts) force the PC to a particular value and cause
the instruction pipeline to be refilled. During the first cycle the forced address is
constructed, and a mode change can take place. The return address is moved to R14 and
the CPSR to SPSR_svc.
During the second cycle the return address is modified to facilitate return, though this
modification is less useful than in the case of the branch with link instruction.
The third cycle is required only to complete the refilling of the instruction pipeline.
The cycle timings are listed in Table 6-15 where:
•
pc for:
—
software interrupts is the address of the SWI instruction
—
Prefetch Aborts is the address of the aborting instruction
—
Data Aborts is the address of the instruction following the one which
attempted the aborted data transfer
—
other exceptions is the address of the instruction following the last one to
be executed before entering the exception
•
C represents the current mode-dependent value
•
T represents the current state-dependent value
•
Xn is the appropriate trap address.
Table 6-15 Software Interrupt instruction cycle operations
Cycle
Address
MA
S
[1:0]
nRW
Data
nMREQ
SEQ
nOPC
nTRANS
Mode
TBI
T
1
pc+2L
i
0
(pc+2L)
0
0
0
C
old
T
2
Xn
2
0
(Xn)
0
1
0
1
exception
0
3 Xn+4
2
0
(Xn+4)
0
1
0
1
exception
0
Xn+8
Содержание 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 ...