Download Print this page

Motorola Freescale Semiconductor DSP56000 User Manual page 91

Hide thumbs Also See for Freescale Semiconductor DSP56000:

Advertisement

JSCLR
source operand S. Absolute short and I/O short addressing modes may also be used.
Restrictions: A JSCLR instruction used within a DO loop cannot specify the loop
address (LA) as its target.
A JSCLR 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.
JSCLR SSH or JSCLR SSL cannot follow an instruction that changes the SP.
A JSCLR instruction cannot be repeated using the REP instruction.
Example:
:
JSCLR #$1,Y:<<$FFE3,$1357
:
Explanation of Example: In this example, program execution is transferred to the sub-
routine at absolute address P:$1357 in program memory if bit 1 of the external I/O loca-
tion Y:<<$FFE3 is a zero. If the specified bit is not clear, no jump is taken and the
program counter (PC) is incremented by 1.
Condition Codes:
15
14
13
LF
T
**
The condition codes are not affected by this instruction.
MOTOROLA
Freescale Semiconductor, Inc.
Jump to Subroutine if Bit Clear
;go sub. at P:$1357 if bit 1 in Y:$FFE3 is clear
12
11
10
9
8
S1
S0
I1
I0
**
MR
DSP56000/DSP56001 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
7
6
5
4
3
2
L
E
U
N
Z
**
CCR
JSCLR
1
0
V
C
A - 91

Advertisement

loading

This manual is also suitable for:

Freescale semiconductor dsp56001