Jsclr jump to subroutine if bit clear jsclr – Motorola DSP96002 User Manual
Page 390
A - 202
DSP96002 USER’S MANUAL
MOTOROLA
JSCLR
Jump to Subroutine if Bit Clear
JSCLR
Operation:
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
If S{n} = 0,
then PC
→
SSH; SR
→
SSL; xxxx
→
PC
else PC + 1
→
PC
Assembler Syntax:
JSCLR #bit,X: ea, label
JSCLR #bit,X: aa, label
JSCLR #bit,X: pp, label
JSCLR #bit,Y: ea, label
JSCLR #bit,Y: aa, label
JSCLR #bit,Y: pp, label
JSCLR #bit,S,label
Description:
The nth bit in the source operand is tested. If the tested bit is zero, the address of the instruction immedi-
ately following the JSCLR instruction and the status register are pushed onto the stack. Program execu-
tion then continues at a location specified by a 32-bit absolute address in the extension word of the instruc-
tion. 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 alter-
able addressing modes may be used for the source operand. Absolute Short, I/O Short and Register Di-
rect 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 taken.
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Fields: