參數(shù)資料
型號: PIC12C67X
廠商: Microchip Technology Inc.
英文描述: 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
中文描述: 8引腳,8位CMOS微控制器與A / D轉換器和EEPROM數(shù)據(jù)存儲器
文件頁數(shù): 74/129頁
文件大?。?/td> 931K
代理商: PIC12C67X
PIC12C67X
DS30561B-page 74
1999 Microchip Technology Inc.
BTFSS
Syntax:
Operands:
Bit Test f, Skip if Set
[ label BTFSS f,b
0
f
127
0
b < 7
skip if (f<b>) = 1
None
Operation:
Status Affected:
Encoding:
Description:
01
11bb
bfff
ffff
If bit ’b’ in register ’f’ is ’1’, then the
next instruction is skipped.
If bit ’b’ is ’1’, then the next instruc-
tion fetched during the current
instruction execution, is discarded
and a
NOP
is executed instead,
making this a 2 cycle instruction.
1
1(2)
Words:
Cycles:
Example
HERE
FALSE
TRUE
BTFSS
GOTO
FLAG,1
PROCESS_CO
DE
Before Instruction
PC =
address
HERE
After Instruction
if FLAG<1> = 0,
PC = address
FALSE
if FLAG<1> = 1,
PC = address
TRUE
CALL
Syntax:
Operands:
Operation:
Call Subroutine
[ label CALL k
0
k
2047
(PC)+ 1
TOS,
k
PC<10:0>,
(PCLATH<4:3>)
PC<12:11>
None
Status Affected:
Encoding:
Description:
10
0kkk
kkkk
kkkk
Call Subroutine. First, return
address (PC+1) is pushed onto
the stack. The eleven bit immedi-
ate address is loaded into PC bits
<10:0>. The upper bits of the PC
are loaded from PCLATH.
CALL
is
a two cycle instruction.
1
2
Words:
Cycles:
Example
HERE
CALL
THER
E
Before Instruction
PC = Address
HERE
After Instruction
PC = Address
THERE
TOS = Address
HERE+1
CLRF
Syntax:
Operands:
Operation:
Clear f
[ label CLRF f
0
f
127
00h
(f)
1
Z
Z
Status Affected:
Encoding:
Description:
00
0001
1fff
ffff
The contents of register ’f’ are
cleared and the Z bit is set.
1
1
Words:
Cycles:
Example
CLRF
FLAG_REG
Before Instruction
FLAG_REG
=
0x5A
After Instruction
FLAG_REG
Z
=
=
0x00
1
CLRW
Syntax:
Operands:
Operation:
Clear W
[ label CLRW
None
00h
(W)
1
Z
Z
Status Affected:
Encoding:
Description:
00
0001
0000
0011
W register is cleared. Zero bit (Z)
is set.
1
1
Words:
Cycles:
Example
CLRW
Before Instruction
W
=
0x5A
After Instruction
W
Z
=
=
0x00
1
相關PDF資料
PDF描述
pic12ce674 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter(具A/D轉換器和EEPROM數(shù)據(jù)存儲器的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
相關代理商/技術參數(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