beautypg.com

Inc r – Zilog Z08470 User Manual

Page 175

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

163

INC r

Operation

r ← r + 1

Op Code

INC

Operand

r

Description

Register r is incremented and register r identifies any of 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.

P/V is set if r was

7Fh

before operation; 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

0

0

r

0

0

1

This manual is related to the following products: