Freescale-semiconductor StarCore SC140 Bedienungsanleitung Seite 683

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 760
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 682
RTED
SC140 DSP Core Reference Manual A-369
Example
rted
Instruction Formats and Opcodes
Instruction Comment
move.w #$2000,vba Load the vector base address register.
trap Issue a software interrupt and enter the exception state.
- - -
Instructions in the trap routine located at the address found
at $2000 and trap_vector offset.
rted not d4,d2
inc d1
Execute the not instruction and the inc d1 instruction in the
delay slot. Return to the original working mode (see exam-
ple for RTE).
Instruction Words
Cycles
1
Note 1: The shadow SP is valid or not valid. RTED uses 5 cycles if the shadow SP is valid. RTED uses 6 cycles
if the shadow SP is not valid. To get the correct cycle count for this instruction, subtract the execution time
used by the execution set in the delay slot. The cycle count for this instruction cannot be less than 2 cycles.
Type Opcode
15 8 7 0
RTED 1 5/6 4 1001111101110010
Seitenansicht 682
1 2 ... 678 679 680 681 682 683 684 685 686 687 688 ... 759 760

Kommentare zu diesen Handbüchern

Keine Kommentare