Bcc (Branch Conditionally) - Hitachi H8/300L Series Programming Manual

Hide thumbs Also See for H8/300L Series:
Table of Contents

Advertisement

2.2.7 Bcc (branch conditionally)

Operation
If cc then PC+d:8 → PC else next;
Assembly-Language Format
Bcc →d:8
Condition code field
(For mnemonics, see the table on the next page.)
Operand Size
Condition Code
I
H
— —
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.
44
N
Z
V
C

Advertisement

Table of Contents
loading

Table of Contents