Branch Unconditionally
B
7-39
Assembly Language Instructions
Syntax B
pma
[,
ind
[, AR
n
]] Indirect addressing
Operands pma: 16-bit program-memory address
n: Value from 0 to 7 designating the next auxiliary register
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
B
pma
[,
ind
[
,
AR
n
]]
1514131211109876543210
0
11110011 ARU N NAR
pma
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
Execution pma → PC
Modify (current AR) and (ARP) as specified.
Status Bits None
Description The current auxiliary register and ARP contents are modified as specified, and
control is passed to the designated program-memory address (pma). The pma
can be either a symbolic or numeric address.
Words 2
Cycles for a Single B Instruction
ROM DARAM SARAM External
4 4 4 4+4p
Note: When this instruction reaches the execute phase of the pipeline, two additional instruc-
tion words have entered the pipeline. When the PC discontinuity is taken, these two
instruction words are discarded.
Example B 191,*+,AR1
The value 191 is loaded into the program counter, and the program continues
to execute from that location. The current auxiliary register is incremented by
1, and ARP is set to point to auxiliary register 1 (AR1).
Opcode
Cycles