INSTRUCTION DESCRIPTIONS

 

JSET

Jump if Bit Set

 

Operation:

Assembler Syntax:

 

If S[n]=0, then xxxxPC

JSET

#n,X:ea,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxxPC

JSET

#n,X:ea,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxxPC

JSET

#n,X:aa,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxx PC

JSET

#n,X:pp,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxxPC

JSET

#n,Y:ea,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxx PC

JSET

#n,Y:aa,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxxPC

JSET

#n,Y:pp,xxxx

 

else PC+1PC

 

 

 

If S[n]=1, then xxxxPC

JSET

#n,S,xxxx

 

else PC+1PC

 

 

Description: Jump to the 16-bit absolute address in program memory specified in the instruction’s 24-bit extension word if the nth bit of the source operand S is set. The bit to be tested is selected by an immediate bit number from 0–23. If the specified memory bit is not set, the program counter (PC) is incremented, and the absolute address in the extension word is ignored. However, the address register specified in the effective address field is always updated independently of the state of the nth bit. All address reg- ister indirect addressing modes may be used to reference the source operand S. Abso- lute short and I/O short addressing modes may also be used.

A - 130

INSTRUCTION SET DETAILS

MOTOROLA

Page 399
Image 399
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Jset, Jump if Bit Set Operation Assembler Syntax