Motorola DSP96002 User Manual page 397

32-bit digital signal processor
Table of Contents

Advertisement

JSSET
Operation:
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
If S{n} = 1,
then PC
SSH; SR
else PC + 1
PC
Description:
The nth bit in the source operand is tested. If the tested bit is set, the address of the instruction immediately
following the JSSET instruction and the status register are pushed onto the stack. Program execution
then continues at a location specified by a 32-bit absolute address in the extension word of the instruction.
Otherwise, the PC is incremented and the extension word is ignored. However, the address register spec-
ified in the effective address field is always updated independently of the condition. All memory alterable
addressing modes may be used for the source operand. Register Direct, Absolute Short and I/O Short
addressing modes may also be used. The bit to be tested is selected by an immediate bit number 0-31.
See Section A.10 for restrictions. Note that if the specified source operand S is the SSH, the stack pointer
register will be decremented by one; if the condition is true, the push operation will write over the stack
level where the SSH value was read.
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Fields:
MOTOROLA
Jump to Subroutine if Bit Set
SSL; xxxx
PC
SSL; xxxx
PC
SSL; xxxx
PC
SSL; xxxx
PC
SSL; xxxx
PC
SSL; xxxx
PC
SSL; xxxx
PC
DSP96002 USER'S MANUAL
Assembler Syntax:
JSSET
#bit,X: ea, label
JSSET
#bit,X: aa, label
JSSET
#bit,X: pp, label
JSSET
#bit,Y: ea, label
JSSET
#bit,Y: aa, label
JSSET
#bit,Y: pp, label
JSSET
#bit,S,label
JSSET
A - 209

Advertisement

Table of Contents
loading

Table of Contents