label ] CALL k" />
參數(shù)資料
型號: PIC12C508A-04/SN
廠商: Microchip Technology
文件頁數(shù): 61/113頁
文件大?。?/td> 0K
描述: IC MCU OTP 512X12 8SOIC
產(chǎn)品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 100
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設備: POR,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 768B(512 x 12)
程序存儲器類型: OTP
RAM 容量: 25 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
振蕩器型: 內部
工作溫度: 0°C ~ 70°C
封裝/外殼: 8-SOIC(0.154",3.90mm 寬)
包裝: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
309-1046-ND - ADAPTER 8-SOIC TO 8-DIP
309-1045-ND - ADAPTER 8-SOIC TO 8-DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
1999 Microchip Technology Inc.
DS40139E-page 51
PIC12C5XX
CALL
Subroutine Call
Syntax:
[
label ] CALL k
Operands:
0
≤ k ≤ 255
Operation:
(PC) + 1
→ Top of Stack;
k
→ PC<7:0>;
(STATUS<6:5>)
→ PC<10:9>;
0
→ PC<8>
Status Affected:
None
Encoding:
1001
kkkk
Description:
Subroutine call. First, return address
(PC+1) is pushed onto the stack. The
eight bit immediate address is loaded
into PC bits <7:0>. The upper bits
PC<10:9> are loaded from STA-
TUS<6:5>, PC<8> is cleared. CALL is
a two cycle instruction.
Words:
1
Cycles:
2
Example:
HERE
CALL
THERE
Before Instruction
PC =
address (HERE)
After Instruction
PC =
address (THERE)
TOS =
address (HERE + 1)
CLRF
Clear f
Syntax:
[
label ] CLRF
f
Operands:
0
≤ f ≤ 31
Operation:
00h
→ (f);
1
→ Z
Status Affected:
Z
Encoding:
0000
011f
ffff
Description:
The contents of register ’f’ are cleared
and the Z bit is set.
Words:
1
Cycles:
1
Example:
CLRF
FLAG_REG
Before Instruction
FLAG_REG
=
0x5A
After Instruction
FLAG_REG
=
0x00
Z=
1
CLRW
Clear W
Syntax:
[
label ] CLRW
Operands:
None
Operation:
00h
→ (W);
1
→ Z
Status Affected:
Z
Encoding:
0000
0100
0000
Description:
The W register is cleared. Zero bit (Z)
is set.
Words:
1
Cycles:
1
Example:
CLRW
Before Instruction
W
=
0x5A
After Instruction
W
=
0x00
Z=
1
CLRWDT
Clear Watchdog Timer
Syntax:
[
label ] CLRWDT
Operands:
None
Operation:
00h
→ WDT;
0
→ WDT prescaler (if assigned);
1
→ TO;
1
→ PD
Status Affected:
TO, PD
Encoding:
0000
0100
Description:
The CLRWDT instruction resets the
WDT. It also resets the prescaler, if the
prescaler is assigned to the WDT and
not Timer0. Status bits TO and PD are
set.
Words:
1
Cycles:
1
Example:
CLRWDT
Before Instruction
WDT counter =
?
After Instruction
WDT counter =
0x00
WDT prescale =
0
TO
=1
PD
=1
相關PDF資料
PDF描述
PIC12C509A-04/SM IC MCU OTP 1KX12 8-SOIJ
PIC16LF627T-04I/SO IC MCU FLASH 1KX14 COMP 18SOIC
PIC12C509A-04/P IC MCU OTP 1KX12 8DIP
PIC18LC452T-I/PT IC MCU OTP 16KX16 A/D 44TQFP
PIC12LF1822-I/MF IC MCU 8BIT FLASH 8DFN
相關代理商/技術參數(shù)
參數(shù)描述
PIC12C508AT 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/EJW 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/ESM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508AT-04/ESN 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers