Inc sp, Inc x, Increment stack pointer by 1 – Epson S1C6200 User Manual

Page 48: Increment x-register by 1

Advertising
background image

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

MSB

LSB

MSB

LSB

C

Z

D

I

C

Z

D

I

42

EPSON

S1C6200/6200A CORE CPU MANUAL

3 INSTRUCTION SET

Increment stack pointer by 1

INC SP

INC SP

SP

SP + 1

1

1

1

1

1

1

0

1

1

0

1

1

FDBH

VI

5

Not affected
Not affected
Not affected
Not affected

Increments the contents of the stack pointer by 1. This operation does not affect
the flags.

INC SP

SP

1110 1111

1111 0000

C flag

0

0

Z flag

0

0

INC X

Increment X-register by 1

INC X

X

X + 1

1

1

1

0

1

1

1

0

0

0

0

0

EE0H

VI

5

Not affected
Not affected
Not affected
Not affected

Increments the contents of register X by 1. This operation does not affect the
flags.

INC X

X register

1111 1110

1111 1111

C flag

1

1

Z flag

0

0

Advertising
This manual is related to the following products: