DR805x Instructions set details
- 36 -
3.13.
INC
INC operand
Increment
INC increments the indicated variable by 1. An original value of 0FFh
will overflow to 00h. No flags are affected. Three addressing modes are
allowed: register, direct, or register-indirect.
When this instruction is used to modify an output port, the value used
as the original port data will be read from the output data latch,
not
the
input pins.
INC A
(PC)
←
(PC) + 1
(A)
←
(A) + 1
1
2
Instruction:
Function:
Description:
Note:
3.13.1.
Operation:
Bytes:
Cycles:
Encoding:
0
0
0
0
0
1
0
0
3.13.2.
Operation:
INC R
N
(PC)
←
(PC) + 1
(Rn)
←
(Rn) + 1
1
3
Bytes:
Cycles:
Encoding:
0
0
0
0
1
r
r
r
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.