Motorola DSP56800 Manual page 395

16-bit digital signal processor
Table of Contents

Advertisement

SWI
Operation:
Begin SWI exception processing
Description: Suspend normal instruction execution and begin SWI exception processing. The interrupt priority lev-
el, specified by the I1 and I0 bits in the SR, is set to the highest interrupt priority level upon entering
the interrupt service routine.
Example:
SWI
Explanation of Example:
The SWI instruction suspends normal instruction execution and initiates SWI exception processing.
Restrictions:
A SWI instruction cannot be repeated using the REP instruction.
Condition Codes Affected:
The condition codes are not affected by this instruction.
Instruction Fields:
Operation
SWI
Timing:
8 oscillator clock cycles
Memory:
1 program word
Software Interrupt
Assembler Syntax:
SWI
; begin SWI exception processing
Operands
C
8
Instruction Set Details
W
1
Execute the trap exception at the highest interrupt
priority level, level 1 (non-maskable)
SWI
Comments
A-165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents