Program Control Instructions; Instruction Formats - Motorola DSP56156 Manual

Table of Contents

Advertisement

MOVE(P)
Move Peripheral Data
MOVE(S)
Move Absolute Short
1.7.1.6

Program Control Instructions

The program control instructions include branches, jumps, conditional branches, and
jumps and other instructions which affect the PC and system stack. Program control in-
structions may affect the condition code register bits as specified in the instruction. Paral-
lel data moves are not allowed with any of these instructions. The following are the pro-
gram control instructions.
Bcc
Branch Conditionally (PC relative)
BSR
Branch to Subroutine (PC relative)
BRA
Branch (PC relative)
BScc
Branch to Subroutine Conditionally (PC relative)
DEBUG
Enter Debug Mode
DEBUGcc
Enter Debug Mode Conditionally
Jcc
Jump Conditionally
JMP
Jump
JSR
Jump to Subroutine
JScc
Jump to Subroutine Conditionally
NOP
No Operation
REP
Repeat Next Instruction
REPcc
Repeat Next Instruction Conditionally
RESET
Reset Peripheral Devices
RTI
Return from Interrupt
RTS
Return from Subroutine
STOP
Stop Processing (low power stand-by)
SWI
Software Interrupt
WAIT
Wait for Interrupt (low power stand-by)
1.7.2

Instruction Formats

Instructions are one or two words in length. The instruction and its length are specified by
the first word of the instruction. The next word may contain information about the instruc-
tion itself or about an operand for the instruction. The assembly language source code for
a typical one word instruction is shown below. The source code is organized into four col-
umns.
Opcode Operands X Bus Data G Bus Data
MAC
MOTOROLA
INSTRUCTION SET SUMMARY
X0,Y0,A
X:(R0)+,X0 X:(R3)+,Y0
DSP56156 OVERVIEW
1 - 33

Advertisement

Table of Contents
loading

Table of Contents