beautypg.com

Incw – Zilog Z8F0130 User Manual

Page 166

background image

eZ8

CPU Core

User Manual

UM012820-0810

INCW Instruction

151

INCW

Definition

Increment Word.

Syntax

INCW dst

Operation

dst

 dst + 1

Description

The 16-bit value indicated by the destination operand is incremented by
one. Only even addresses can be used for the register pair. For indirect
addressing, the indirect address can be any value, but the effective address
can only be an even address.

Flags

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