msm7630 Oki Semiconductor, msm7630 Datasheet - Page 44

no-image

msm7630

Manufacturer Part Number
msm7630
Description
Universal Speech Processor
Manufacturer
Oki Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MSM7630
Manufacturer:
QUALCOMM
Quantity:
32
Part Number:
MSM7630
Manufacturer:
QUALCOMM
Quantity:
12 000
Part Number:
MSM7630
Manufacturer:
QUALCOMM
Quantity:
11 010
Part Number:
msm7630GS-BK
Manufacturer:
OKI
Quantity:
1 000
Part Number:
msm7630GS-BK
Manufacturer:
OKI
Quantity:
20 000
¡ Semiconductor
5.9 Return From Interrupt
In order to return from an interrupt process caused by an exception, external interrupt, or software
trap, the pipeline at the time of the interrupt must be regenerated before execution.
There are two types of returns: (1) re-execution of an instruction that was in its execution phase at
the time an exception, external interrupt, or asynchronous trap caused an interrupt, and (2) re-
execution of the instruction after the instruction that was in its execution phase at the time a software
trap caused an interrupt. However, if breakpoints are supported by software traps then case (1)
applies.
The return sequence from an interface process is described below.
Also, an rt instruction must not be executed while the EM bit of %PSR is 1 (the state permitting
overlapping interrupts). If an interrupt occurred during the rt instruction in such a case, then the
contents of %PSR would be corrupted.
1. Resume from interrupted instruction
2. Return from instruction after interrupt
In this case the pNOP bit of %prPSR must be cleared in advance of rt instruction execution. If the
pNOP bit of %prPSR is set and then the rt instruction is executed, then the instruction at the return
point would not be executed.
brst
jlr
rt
add
brst
jlr
rt
·
·
·
·
%psr, 4, %psr
%r1, %nop
%r2
%r2, 4, %r1
%psr, 4, %psr
%r2, %nop
%r1
; EM-bit reset
; delay slot, branch %r1 (old %PC),
; return address not saved
; return to %r2 (old %nPC), %prPSR move to %PSR
; %r2+4 (old %nPC+4)Æ%r1
; EM-bit reset
; delay slot, branch %r2 (old %nPC), return address not saved
; return to %r1 (old %nPC+4), %prPSR move to %PSR
MSM7630
44/95

Related parts for msm7630