Datasheet

Rev.6.00 Oct.28.2004 page 786 of 1016
REJ09B0138-0600H
(6) Branch Instructions
Addressing Mode/
Instruction Length (Bytes)
Operand Size
#xx
Rn
@ERn
@(d,ERn)
@–ERn/@ERn+
@aa
@(d,PC)
@@aa
Mnemonic
Bcc
Always —————— 2
—————— 3
Never —————— 2
—————— 3
CZ=0 —————— 2
—————— 3
CZ=1 —————— 2
—————— 3
C=0 —————— 2
—————— 3
C=1 —————— 2
—————— 3
Z=0 —————— 2
—————— 3
Z=1 —————— 2
—————— 3
V=0 —————— 2
—————— 3
Operation
Condition Code
Branching
Condition
IHNZVC
Advanced
No. of States*
1
BRA d:8(BT d:8) 2 if condition is true then
BRA d:16(BT d:16) 4 PCPC+d
BRN d:8(BF d:8) 2 else next;
BRN d:16(BF d:16) 4
BHI d:8 2
BHI d:16 4
BLS d:8 2
BLS d:16 4
BCC d:B(BHS d:8) 2
BCC d:16(BHS d:16) 4
BCS d:8(BLO d:8) 2
BCS d:16(BLO d:16) 4
BNE d:8 2
BNE d:16 4
BEQ d:8 2
BEQ d:16 4
BVC d:8 2
BVC d:16 4