gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 114

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
INC
INC A
INC Rn
Description:
Operation:
Operation:
<byte>
Encoding:
Encoding:
Function:
Example:
Cycles:
Cycles:
Bytes:
Bytes:
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.
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.
Register 0 contains 7Eh (01111110b). Internal RAM locations 7Eh and 7Fh
contain 0FFh and 40H, respectively. The instruction sequence,
INC @R0
INC R0
INC @R0
will leave register 0 set to 7Fh and internal RAM locations 7Eh and 7Fh holding
00h and 41h, repectively.
1
1
INC
(A)
1
1
INC
(Rn)
0
0
Preliminary
0
0
(A) + 1
(Rn) + 1
0
0
0
0
0 1 0 0
1
Page 114 of 187
r
r
r
Instruction Set

Related parts for gc80c520a