鈫?/div>
(dest)
Z
00
1000
dfff
ffff
The contents of register f is moved to
a destination dependant upon the
status of d. If d = 0, destination is W
register. If d = 1, the destination is 铿乴e
register f itself. d = 1 is useful to test a
铿乴e register since status 铿俛g Z is
affected.
Words:
Cycles:
Example
1
1
IORWF
RESULT, 0
RESULT =
W
=
0x13
0x91
0x13
0x93
1
Words:
Cycles:
Example
1
1
MOVF
FSR, 0
W = value in FSR register
Z =1
Before Instruction
After Instruction
RESULT =
W
=
Z
=
After Instruction
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Move Literal to W
[
label
]
k
鈫?/div>
(W)
None
11
00xx
kkkk
kkkk
The eight bit literal 'k' is loaded into W
register
.
The don鈥檛 cares will assemble
as 0鈥檚.
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move W to f
[
label
]
(W)
鈫?/div>
(f)
None
00
0000
1fff
ffff
Move data from W register to register
'f'
.
MOVLW k
MOVWF
f
0
鈮?/div>
k
鈮?/div>
255
0
鈮?/div>
f
鈮?/div>
127
1
1
MOVWF
OPTION
OPTION =
W
=
0xFF
0x4F
0x4F
0x4F
Words:
Cycles:
Example
1
1
MOVLW
W
0x5A
=
0x5A
Before Instruction
After Instruction
After Instruction
OPTION =
W
=
DS40182A-page 72
Preliminary
漏
1998 Microchip Technology Inc.
prev
next
PIC16CE625相关型号PDF文件下载
-
型号
版本
描述
厂商
下载
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
Microcontroller
-
英文版
Microcontroller
-
英文版
Microcontroller
ETC
-
英文版
EPROM-Based 8-Bit CMOS Microcontroller
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
ETC
-
英文版
EPROM Memory Programming Specification
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
28-Pin Programmable Mixed Signal Controller
-
英文版
EPROM Memory Programming Specification
-
英文版
Microcontroller
ETC
-
英文版
Microcontroller
ETC
-
英文版
EPROM/ROM-Based 8-Bit CMOS Microcontroller Series