beautypg.com

Add a, r – Zilog Z08470 User Manual

Page 155

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

143

ADD A, r

Operation

A ← A + r

Op Code

ADD

Operands

A, r

Description

The contents of register r are added to the contents of the Accumulator, and the result is
stored in the Accumulator. The r symbol identifies the registers A, B, C, D, E, H, or L,
assembled as follows in the object code:

Condition Bits Affected

S is set if result is negative; otherwise, it is reset.

Z is set if result is 0; otherwise, it is reset.

H is set if carry from bit 3; otherwise, it is reset.

Register

r

A

111

B

000

C

001

D

010

E

011

H

100

L

101

M Cycles

T States

4 MHz E.T.

1

4

1.00

1

0

0

r

0

0

This manual is related to the following products: