参数资料
型号: PIC12C508/JW
厂商: Microchip Technology
文件页数: 65/113页
文件大小: 0K
描述: IC MCU EPROM 512X12 8CDIP
标准包装: 56
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 768B(512 x 12)
程序存储器类型: EPROM,UV
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 2.5 V ~ 5.5 V
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 8-CDIP(0.300",7.62mm)窗口
包装: 管件
配用: DVMCPA-ND - KIT DVR BOARD EVAL SYSTEM MXDEV1
DVA12XP080-ND - ADAPTER DEVICE FOR MPLAB-ICE
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
1999 Microchip Technology Inc.
DS40139E-page 55
PIC12C5XX
OPTION
Load OPTION Register
Syntax:
[
label ]
OPTION
Operands:
None
Operation:
(W)
→ OPTION
Status Affected:
None
Encoding:
0000
0010
Description:
The content of the W register is loaded
into the OPTION register.
Words:
1
Cycles:
1
Example
OPTION
Before Instruction
W=
0x07
After Instruction
OPTION =
0x07
RETLW
Return with Literal in W
Syntax:
[
label ]
RETLW k
Operands:
0
≤ k ≤ 255
Operation:
k
→ (W);
TOS
→ PC
Status Affected:
None
Encoding:
1000
kkkk
Description:
The W register is loaded with the eight
bit literal ’k’. The program counter is
loaded from the top of the stack (the
return address). This is a two cycle
instruction.
Words:
1
Cycles:
2
Example:
TABLE
CALL TABLE ;W contains
;table offset
;value.
;W now has table
;value.
ADDWF PC
;W = offset
RETLW k1
;Begin table
RETLW k2
;
RETLW kn
; End of table
Before Instruction
W=
0x07
After Instruction
W=
value of k8
RLF
Rotate Left f through Carry
Syntax:
[
label ] RLF
f,d
Operands:
0
≤ f ≤ 31
d
∈ [0,1]
Operation:
See description below
Status Affected:
C
Encoding:
0011
01df
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
RRF
Rotate Right f through Carry
Syntax:
[
label ]
RRF f,d
Operands:
0
≤ f ≤ 31
d
∈ [0,1]
Operation:
See description below
Status Affected:
C
Encoding:
0011
00df
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
C
register ’f’
C
register ’f’
相关PDF资料
PDF描述
PIC24FJ256DA110-I/PT MCU PIC 16BIT FLASH 256K 100TQFP
PIC32MX564F128L-I/PF MCU PIC 128KB FLASH 100TQFP
PIC17C42A-16/P IC MCU OTP 2KX16 PWM 40DIP
PIC16F874-20/L IC MCU FLASH 4KX14 EE 44PLCC
PIC24FJ128DA110-I/BG MCU PIC 16BIT FLASH 128K 121BGA
相关代理商/技术参数
参数描述
PIC12C508T 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller
PIC12C508T-04/EJW 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/EP 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/ESM 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers
PIC12C508T-04/ESN 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontrollers