44
2.2.7 Bcc (branch conditionally)
Operation
If cc then PC+d:8
→
PC else next;
Assembly-Language Format
B
cc
→
d:8
Condition code field
(For mnemonics, see the table on the next page.)
Operand Size
−
Condition Code
I
H
N
Z
V
C
—
—
—
—
—
—
—
—
I:
Previous value remains unchanged.
H:
Previous value remains unchanged.
N:
Previous value remains unchanged.
Z:
Previous value remains unchanged.
V:
Previous value remains unchanged.
C:
Previous value remains unchanged.
Description
If the specified condition is false, this instruction does nothing; the next instruction is executed.
If the specified condition is true, a signed displacement is added to the address of the next
instruction and execution branches to the resulting address.
The displacement is a signed 8-bit value which must be even. The branch destination address
can be located in the range
−
126 to
+
128 bytes from the address of the Bcc instruction.
The applicable conditions and their mnemonics are given below.
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...