English
Language : 

DR805X Datasheet, PDF (36/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.13. INC
- 36 -
Instruction: INC operand
Function: 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:
1
Cycles:
2
Encoding:
00000100
3.13.2.
INC RN
Operation: (PC) ← (PC) + 1
(Rn) ← (Rn) + 1
Bytes:
1
Cycles:
3
Encoding:
00001 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.