beautypg.com

Jsset jump to subroutine if bit set jsset – Motorola DSP96002 User Manual

Page 397

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 209

JSSET

Jump to Subroutine if Bit Set

JSSET

Operation:
If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

If S{n} = 1,
then PC

SSH; SR

SSL; xxxx

PC

else PC + 1

PC

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

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: