Section 2. Instruction Set; Explanation Format; Add (Add Binary) (Byte) - Hitachi H8/300L Series Programming Manual

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

Advertisement

2.1

Explanation Format

Section 2 gives full descriptions of all the H8/300L Series instructions, presenting them in
alphabetic order. Each instruction is explained in a table like the following:

ADD (add binary) (byte)

Operation
Rd + (EAs) → Rd
Assembly-Language Format
b ADD.B <EAs>, Rd
Operand Size
Byte
Condition Code
I
H
I:
Previous value remains unchanged.
H:
Set to 1 when there is a carry from bit 3; otherwise cleared to 0.
N:
Set to 1 when the result is negative; otherwise cleared to 0.
Z:
Set to 1 when the result is zero; otherwise cleared to 0.
V:
Set to 1 when an overflow occurs; otherwise cleared to 0.
C:
Set to 1 when there is a carry from bit 7; otherwise cleared to 0.
Description
This instruction adds the source operand to the contents of an 8-bit general register and places
the result in the general register.

Section 2. Instruction Set

N
Z
V
C
31

Advertisement

Table of Contents
loading

Table of Contents