A - 46
DSP96002 USER’S MANUAL
MOTOROLA
BRSET
Branch if Bit Set
BRSET
Operation:
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
If S{n} = 1, then PC + xxxx
→
PC
else PC + 1
→
PC
Assembler Syntax:
BRSET #bit,X: ea, label
BRSET #bit,X: aa, label
BRSET #bit,X: pp, label
BRSET #bit,Y: ea, label
BRSET #bit,Y: aa, label
BRSET #bit,Y: pp, label
BRSET #bit,S,label
Description:
The nth bit in the source operand is tested. If the tested bit is set, program execution continues at location
PC+displacement. The PC contains the address of the next instruction. If the tested bit is cleared, the PC
is incremented and program execution continues sequentially. However, the address register specified in
the effective address field is always updated independently of the condition. The displacement is a 2’s
complement 32-bit integer that represents the relative distance from the current PC to the destination PC.
The 32-bit displacement is contained in the extension word of the instruction. All memory alterable ad-
dressing modes may be used to reference the source operand. Absolute Short, I/O Short and Register
Direct addressing modes may also be used. Note that if the specified source operand S is the SSH, the
stack pointer register will be decremented by one. The bit to be tested is selected by an immediate bit
number 0-31. See Section A.10 for restrictions.
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: 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: ......