beautypg.com

Jset jump if bit set jset – Motorola DSP96002 User Manual

Page 393

background image

MOTOROLA

DSP96002 USER’S MANUAL

A - 205

JSET

Jump if Bit Set

JSET

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

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

If S{n} = 1, then xxxx

PC

else PC + 1

PC

Assembler Syntax:
JSET #bit,X: ea, label

JSET #bit,X: aa, label

JSET #bit,X: pp, label

JSET #bit,Y: ea, label

JSET #bit,Y: aa, label

JSET #bit,Y: pp, label

JSET #bit,S,label

Description:

The nth bit in the source operand is tested. If the tested bit is set, program execution continues at a loca-

tion 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 specified in the effective

address field is always updated independently of the condition. All memory alterable addressing modes

may be used to reference the source operand. Absolute Short, I/O Short and Register Direct 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.

CCR Condition Codes: Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.