DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16F84A-04B/SS 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC16F84A-04B/SS
Microchip
Microchip Technology 
PIC16F84A-04B/SS Datasheet PDF : 124 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PIC16F8X
GOTO
Unconditional Branch
Syntax:
[ label ] GOTO k
Operands:
0 k 2047
Operation:
k PC<10:0>
PCLATH<4:3> PC<12:11>
Status Affected: None
Encoding:
10 1kkk kkkk kkkk
Description:
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.
Words:
1
Cycles:
2
Q Cycle Activity:
Q1
Q2
Q3
Q4
1st Cycle Decode Read Process Write to
literal 'k' data
PC
2nd Cycle
No-Operat No-Opera No-Operat
No-Operat ion
tion
ion
ion
Example
GOTO THERE
After Instruction
PC = Address THERE
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Increment f
[ label ] INCF f,d
0 f 127
d [0,1]
(f) + 1 (destination)
Z
00 1010 dfff ffff
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
Q1 Q2 Q3
Q4
Decode
Read
register
'f'
Process Write to
data destination
Example
INCF CNT, 1
Before Instruction
CNT =
Z
=
After Instruction
CNT =
Z
=
0xFF
0
0x00
1
DS30430C-page 60
© 1998 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]