參數(shù)資料
型號: 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ù)存儲器
文件頁數(shù): 77/129頁
文件大小: 931K
代理商: PIC12C67X
1999 Microchip Technology Inc.
DS30561B-page 77
PIC12C67X
IORWF
Syntax:
Operands:
Inclusive OR W with f
[ label IORWF f,d
0
f
127
d
[0,1]
(W) .OR. (f)
(dest)
Z
Operation:
Status Affected:
Encoding:
Description:
00
0100
dfff
ffff
Inclusive OR the W register with
register ’f’. If ’d’ is 0, the result is
placed in the W register. If ’d’ is 1,
the result is placed back in regis-
ter ’f’.
1
1
Words:
Cycles:
Example
IORWF
RESULT, 0
Before Instruction
RESULT =
W
0x13
0x91
=
After Instruction
RESULT =
W
Z
0x13
0x93
1
=
=
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Move Literal to W
[ label MOVLW k
0
k
255
k
(W)
None
11
00xx
kkkk
kkkk
The eight bit literal ’k’ is loaded
into W register. The don’t cares
will assemble as 0’s.
1
1
Words:
Cycles:
Example
MOVLW
0x5A
After Instruction
W
=
0x5A
MOVF
Syntax:
Operands:
Move f
[
label
] MOVF f,d
0
f
127
d
[0,1]
(f)
(dest)
Z
Operation:
Status Affected:
Encoding:
Description:
00
1000
dfff
ffff
The contents of register f are
moved to a destination dependant
upon the status of d. If d = 0, des-
tination is W register. If d = 1, the
destination is file register f itself.
d = 1 is useful to test a file register
since status flag Z is affected.
1
1
Words:
Cycles:
Example
MOVF
FSR,
0
After Instruction
W = value in FSR register
Z
= 1
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Move W to f
[
label
] MOVWF f
0
f
127
(W)
(f)
None
00
0000
1fff
ffff
Move data from W register to reg-
ister 'f'.
1
1
Words:
Cycles:
Example
MOVWF
OPTION
Before Instruction
OPTION =
W
0xFF
0x4F
=
After Instruction
OPTION =
W
0x4F
0x4F
=
相關(guān)PDF資料
PDF描述
pic12ce674 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter(具A/D轉(zhuǎn)換器和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
相關(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