參數(shù)資料
型號: PIC14000-04/SP
廠商: Microchip Technology
文件頁數(shù): 3/153頁
文件大?。?/td> 0K
描述: IC MCU OTP 4KX14 A/D 28DIP
產(chǎn)品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 15
系列: PIC® 14
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
連通性: I²C
外圍設(shè)備: POR,溫度傳感器,WDT
輸入/輸出數(shù): 20
程序存儲器容量: 7KB(4K x 14)
程序存儲器類型: OTP
RAM 容量: 192 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 6 V
數(shù)據(jù)轉(zhuǎn)換器: 斜率 A/D
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 28-DIP(0.300",7.62mm)
包裝: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
ICE2000-ND - EMULATOR MPLAB-ICE 2000 POD
PIC14000
DS40122B-page 100
Preliminary
1996 Microchip Technology Inc.
RETURN
Return from Subroutine
Syntax:
[
label ]
RETURN
Operands:
None
Operation:
TOS
→ PC
Status Affected:
None
Encoding:
00
0000
1000
Description:
Return from subroutine. The stack is
POPed and the top of the stack (TOS)
is loaded into the program counter.
This is a two cycle instruction.
Words:
1
Cycles:
2
Example
RETURN
After Interrupt
PC =
TOS
RLF
Rotate Left f through Carry
Syntax:
[
label ]
RLF
f,d
Operands:
0
≤ f ≤ 127
d
∈ [0,1]
Operation:
See description below
Status Affected:
C
Encoding:
00
1101
dfff
ffff
Description:
The contents of register 'f' are rotated
one bit to the left through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
stored back in register 'f'.
Words:
1
Cycles:
1
Example
RLF
REG1,0
Before Instruction
REG1
=
1110 0110
C
=0
After Instruction
REG1
=
1110 0110
W
=
1100 1100
C
=1
Register f
C
RRF
Rotate Right f through Carry
Syntax:
[
label ]
RRF f,d
Operands:
0
≤ f ≤ 127
d
∈ [0,1]
Operation:
See description below
Status Affected:
C
Encoding:
00
1100
dfff
ffff
Description:
The contents of register 'f' are rotated
one bit to the right through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
Words:
1
Cycles:
1
Example
RRF
REG1,0
Before Instruction
REG1
=
1110 0110
C
=0
After Instruction
REG1
=
1110 0110
W
=
0111 0011
C
=0
SLEEP
Syntax:
[
label ]
SLEEP
Operands:
None
Operation:
00h
→ WDT,
0
→ WDT prescaler,
1
→ TO,
0
→ PD
Status Affected:
TO, PD
Encoding:
00
0000
0110
0011
Description:
The power-down status bit, PD is
cleared. Time-out status bit, TO is
set. Watchdog Timer and its pres-
caler are cleared.
The processor is put into SLEEP
mode with the oscillator stopped.
See Section 10.8 for more details.
Words:
1
Cycles:
1
Example:
SLEEP
Register f
C