3 INSTRUCTION SET
INC SP
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
INC X
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
42
Increment stack pointer by 1
INC SP
SP
SP + 1
1 1 1 1 1 1 0 1 1 0 1 1
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Increments the contents of the stack pointer by 1. This operation does not affect
the flags.
SP
1110 1111
C flag
0
Z flag
0
Increment X-register by 1
INC X
X
X + 1
1 1 1 0 1 1 1 0 0 0 0 0
MSB
VI
5
C –
Not affected
Z –
Not affected
D –
Not affected
I –
Not affected
Increments the contents of register X by 1. This operation does not affect the
flags.
X register
1111 1110
C flag
1
Z flag
0
FDBH
LSB
INC SP
1111 0000
0
0
EE0H
LSB
INC X
1111 1111
1
0
EPSON
S1C6200/6200A CORE CPU MANUAL