DR805x Instructions set details
- 36 -
3.13. INC
Instruction:
Function:
INC operand
Increment
Description: 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.
Note:
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.
3.13.1.
INC A
Operation: (PC) ← (PC) + 1
(A) ← (A) + 1
Bytes:
Cycles:
1
2
Encoding:
0
0
0
0
0
1
0
0
3.13.2.
INC RN
Operation: (PC) ← (PC) + 1
(Rn) ← (Rn) + 1
Bytes:
Cycles:
1
3
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.