PIC16F54T-I/SO Microchip Technology, PIC16F54T-I/SO Datasheet - Page 51

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC

PIC16F54T-I/SO

Manufacturer Part Number
PIC16F54T-I/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F54T-I/SO

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
FLASH
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
© 2007 Microchip Technology Inc.
Before Instruction
After Instruction
TEMP_REG =
W
TEMP_REG =
W
(W) → (f)
Move W to f
[ label ]
0 ≤ f ≤ 31
Move data from the W register to
register ‘f’.
1
1
MOVWF TEMP_REG
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
=
=
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
OPTION
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
W
OPTION
W
W
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
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.
1
2
CALL TABLE;W contains
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Load OPTION Register
[ label ]
None
(W) → OPTION
The content of the W register is
loaded into the Option register.
1
1
OPTION
1000
0000
=
=
=
=
0x07
value of k8
0x07
0x07
RETLW k
kkkk
OPTION
PIC16F5X
0000
;table offset
;value.
;W now has table
;value.
;W = offset
;Begin table
;
; End of table
DS41213D-page 49
kkkk
0010

Related parts for PIC16F54T-I/SO