Intel 8XC251SA User Manual page 315

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

Operation:
INC
((Ri) ← ((Ri)) + 1
INC Rn
Binary Mode
Bytes:
States:
[Encoding]
0 0 0 0
Hex Code in:
Binary Mode = [Encoding]
Source Mode = [A5][Encoding]
Operation:
INC
(Rn) ← (Rn) + 1
INC <dest>,<src>
Function:
Increment
Description:
Increments the specified variable by 1, 2, or 4. An original value of 0FFH overflows to 00H.
Flags:
CY
Example:
Register 0 contains 7EH (011111110B). After executing the instruction
INC R0,#1
register 0 contains 7FH.
Variations
INC Rm,#short
Binary Mode
Bytes:
States:
[Encoding]
0 0 0 0
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
INC
(Rm) ← (Rm) + #short
INC WRj,#short
Binary Mode
Bytes:
States:
[Encoding]
0 0 0 0
Source Mode
1
2
1
2
1 r r r
AC
Source Mode
3
2
2
1
1 0 1 1
Source Mode
3
2
2
1
1 0 1 1
INSTRUCTION SET REFERENCE
OV
N
s s s s
00
t t t t
01
Z
v v
v v
A-63

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents