PIC16C84 Microchip Technology, PIC16C84 Datasheet - Page 58

no-image

PIC16C84

Manufacturer Part Number
PIC16C84
Description
8 BIT CMOS EEPROM MICROCONTROLLERS
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C84-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
www.DataSheet4U.com
PIC16C84
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30445C-page 58
2nd Cycle
1st Cycle
Unconditional Branch
[ label ]
0
k
PCLATH<4:3>
None
GOTO is an unconditional branch. The
eleven bit immediate value is loaded
into PC bits <10:0>. The upper bits of
PC are loaded from PCLATH<4:3>.
GOTO is a two cycle instruction.
1
2
After Instruction
No-Operat
GOTO THERE
Decode
Q1
10
ion
k
PC<10:0>
2047
PC =
No-Operat
GOTO k
literal 'k'
1kkk
Read
Q2
ion
PC<12:11>
Address THERE
No-Opera
Process
kkkk
data
Q3
tion
No-Operat
kkkk
Write to
Q4
PC
ion
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Increment f
[ label ]
0
d
(f) + 1
Z
The contents of register 'f' are incre-
mented. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
1
1
Before Instruction
After Instruction
Decode
INCF
Q1
00
f
[0,1]
1998 Microchip Technology Inc.
127
CNT
Z
CNT
Z
(destination)
INCF f,d
register
1010
CNT, 1
Read
Q2
'f'
=
=
=
=
Process
dfff
data
Q3
0xFF
0
0x00
1
destination
ffff
Write to
Q4

Related parts for PIC16C84