MPC823e Instruction Set—b
B-20 MPC823e REFERENCE MANUAL MOTOROLA
INSTRUCTION SET
B
b
Assembler Syntax b target_addr (AA = 0 LK = 0)
ba target_addr (AA = 1 LK = 0)
bl target_addr (AA = 0 LK = 1)
bla target_addr (AA = 1 LK = 1)
Definition Branch
Operation if AA then NIA ←
iea EXTS(LI || 0b00)
else NIA ←
iea CIA + EXTS(LI || 0b00)
if LK then LR ←
iea CIA + 4
Description target_addr specifies the branch target address.
If AA = 0, then the branch target address is the sum of LI || 0b00
sign-extended and the address of this instruction. If AA = 1, then
the branch target address is the value LI || 0b00 sign-extended.
If LK = 1, then the effective address of the instruction following
the branch instruction is placed into the link register.
Other registers altered:
Affected: Link Register (LR) (if LK = 1)
BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD 18 LI
BIT 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
FIELD LI AA LK
POWERPC ARCHITECTURE
LEVEL
SUPERVISOR
LEVEL
OPTIONAL FORM
UISA I