Jsset - Motorola DSP56000 Manual

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

JSSET

th
n
bit. All address register indirect addressing modes may be used to reference the
source operand S. Absolute short and I/O short addressing modes may also be used.
Restrictions: A JSSET instruction used within a DO loop cannot specify the loop
address (LA) as its target.
A JSSET located at LA, LA–1, or LA–2 of a DO loop, cannot specify the program control-
ler registers SR, SP, SSH, SSL, LA, or LC as its target.
JSSET SSH or JSSET SSL cannot follow an instruction that changes the SP.
A JSSET instruction cannot be repeated using the REP instruction.
Example:
:
JSSET #$17,Y:<$3F,$100
:
Explanation of Example: In this example, program execution is transferred to the sub-
routine at absolute address P:$0100 in program memory if bit 23 of Y memory location
Y:$003F is a one. If the specified bit is not set, no jump is taken and the program counter
(PC) is incremented by 1.
Condition Codes:
15
14
13
LF
DM
For destination operand A or B:
S —Computed according to the definition. See Notes on page A-143.
L — Set if data limiting has occurred. See Notes on page A-143.
E — Not affected
U — Not affected
N — Not affected
Z — Not affected
V — Not affected
C — Not affected
For other source operands:
The condition codes are not affected.
MOTOROLA
INSTRUCTION DESCRIPTIONS
Jump to Subroutine if Bit Set
;go to sub. at P:$0100 if bit 23 in Y:$3F is set
12
11
10
9
T
**
S1
S0
I1
MR
INSTRUCTION SET DETAILS
8
7
6
5
4
I0
S
L
E
U
CCR
JSSET
3
2
1
0
N
Z
V
C
A - 139

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents