DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16CR57C-LPI/SP 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC16CR57C-LPI/SP
Microchip
Microchip Technology 
PIC16CR57C-LPI/SP Datasheet PDF : 192 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
MOVWF
Move W to f
Syntax:
[ label ] MOVWF f
Operands:
0 f 31
Operation:
(W) (f)
Status Affected: None
Encoding:
Description:
0000 001f ffff
Move data from the W register to
register 'f'.
Words:
Cycles:
Example:
1
1
MOVWF TEMP_REG
Before Instruction
TEMP_REG =
W
=
After Instruction
TEMP_REG =
W
=
0xFF
0x4F
0x4F
0x4F
NOP
No Operation
Syntax:
Operands:
[ label ] NOP
None
Operation:
No operation
Status Affected: None
Encoding:
0000 0000
Description:
Words:
Cycles:
No operation.
1
1
Example:
NOP
0000
PIC16C5X
OPTION
Load OPTION Register
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
[ label ] OPTION
None
(W) OPTION
None
0000 0000 0010
Description:
The content of the W register is
loaded into the OPTION register.
Words:
1
Cycles:
1
Example
OPTION
Before Instruction
W
=
After Instruction
OPTION =
0x07
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 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
=
After Instruction
W
=
0x07
value of k8
1997-2013 Microchip Technology Inc.
Preliminary
DS30453E-page 57

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]