參數(shù)資料
型號(hào): PIC12C67X
廠商: Microchip Technology Inc.
英文描述: 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
中文描述: 8引腳,8位CMOS微控制器與A / D轉(zhuǎn)換器和EEPROM數(shù)據(jù)存儲(chǔ)器
文件頁數(shù): 76/129頁
文件大?。?/td> 931K
代理商: PIC12C67X
PIC12C67X
DS30561B-page 76
1999 Microchip Technology Inc.
GOTO
Syntax:
Operands:
Operation:
Unconditional Branch
[ label GOTO k
0
k
2047
k
PC<10:0>
PCLATH<4:3>
PC<12:11>
None
Status Affected:
Encoding:
Description:
10
1kkk
kkkk
kkkk
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
Words:
Cycles:
Example
GOTO THERE
After Instruction
PC =
Address
THERE
INCF
Syntax:
Operands:
Increment f
[ label INCF f,d
0
f
127
d
[0,1]
(f) + 1
(dest)
Z
Operation:
Status Affected:
Encoding:
Description:
00
1010
dfff
ffff
The contents of register ’f’ are
incremented. If ’d’ is 0, the result
is placed in the W register. If ’d’ is
1, the result is placed back in reg-
ister ’f’.
1
1
Words:
Cycles:
Example
INCF
CNT,
1
Before Instruction
CNT
Z
=
=
0xFF
0
After Instruction
CNT
Z
=
=
0x00
1
INCFSZ
Syntax:
Operands:
Increment f, Skip if 0
[ label INCFSZ f,d
0
f
127
d
[0,1]
(f) + 1
(dest), skip if result = 0
None
Operation:
Status Affected:
Encoding:
Description:
00
1111
dfff
ffff
The contents of register ’f’ are
incremented. If ’d’ is 0, the result
is placed in the W register. If ’d’ is
1, the result is placed back in reg-
ister ’f’.
If the result is 0, the next instruc-
tion, which is already fetched, is
discarded. A
NOP
is executed
instead making it a two cycle
instruction.
1
1(2)
Words:
Cycles:
Example
HERE INCFSZ CNT, 1
GOTO LOOP
CONTINUE
Before Instruction
PC
=
address
HERE
After Instruction
CNT
=
CNT + 1
if CNT=
0,
PC
=
address
CONTINUE
if CNT
0,
PC
=
address
HERE +1
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Inclusive OR Literal with W
[ label IORLW k
0
k
255
(W) .OR. k
(W)
Z
11
1000
kkkk
kkkk
The contents of the W register are
OR’ed with the eight bit literal 'k'.
The result is placed in the W reg-
ister.
1
1
Words:
Cycles:
Example
IORLW
0x35
Before Instruction
W
=
0x9A
After Instruction
W
Z
=
=
0xBF
1
相關(guān)PDF資料
PDF描述
pic12ce674 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter(具A/D轉(zhuǎn)換器和EEPROM數(shù)據(jù)存儲(chǔ)器的8位微控制器)
PIC12CR509A 8-Pin, 8-Bit CMOS Microcontrollers
PIC12F505 8/14-Pin, 8-Bit Flash Microcontrollers
PIC12F506 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510_07 8/14-Pin, 8-Bit Flash Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12C67X_13 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
PIC12CE-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CE-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CE-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12CE-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers