MOTOROLA
DSP96002 USER’S MANUAL
A - 49
BScc
Branch to Subroutine Conditionally
BScc
Operation:
If cc, then PC
→
SSH; SR
→
SSL; PC+xx
→
PC
else
PC + 1
→
PC
If cc, then PC
→
SSH; SR
→
SSL; PC+xxxx
→
PC
else
PC + 1
→
PC
If cc, then PC
→
SSH; SR
→
SSL; PC+Rn
→
PC
else
PC + 1
→
PC
Assembler Syntax:
BScc label (short)
BScc label
BScc Rn
Description:
If the specified condition is true, the address of the instruction immediately following the BScc instruction
and the status register are pushed onto the stack. Program execution then continues at location PC+dis-
placement. The PC contains the address of the next instruction. If the specified condition is false, the PC
is incremented and program execution continues sequentially. The displacement is a 2’s complement 32-
bit integer that represents the relative distance from the current PC to the destination PC. Short Displace-
ment, Long Displacement and Address Register PC Relative addressing modes may be used. The Short
Displacement 15-bit data is sign extended to form the PC relative displacement. See Section A.10 for
restrictions.
"cc" may specify the following conditions:
Mnemonic
Condition
CC (HS) - carry clear (higher or same)
C = 0
CS (LO) - carry set (lower)
C = 1
EQ
- equal
Z = 1
GE
- greater or equal
N && V = 0
GT
- greater than
Z v (N && V) = 0
HI
- higher
Z v C = 0
LE
- less or equal
Z v (N && V) = 1
LS
- lower or same
Z v C = 1
LT
- less than
N && V = 1
MI
- minus
N = 1
NE(Q)
- not equal
Z = 0
PL
- plus
N = 0
VC
- overflow clear
V = 0
VS
- overflow set
V = 1
CCR Condition Codes: Not affected.
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......