beautypg.com

Zilog Z8F0130 User Manual

Page 163

background image

eZ8

CPU Core

User Manual

UM012820-0810

INC Instruction

148

INC

Definition

Increment.

Syntax

INC dst

Operation

dst

 dst + 1

Description

The contents of the destination operand are incremented by one.

Flags

Attributes

C

Unaffected

Z

Set if the result is zero; reset otherwise

S

Set if Bit 7 of the result is set; reset otherwise

V

Set if an arithmetic overflow occurs; reset otherwise

D

Unaffected

H

Unaffected

Mnemonic Destination

Op
Code
(Hex)

Operand 1 Operand 2 Operand 3

INC

R1

20

R1

INC

@R1

21

R1

INC

r0

0E