PIC16F54T-E/SO Microchip Technology, PIC16F54T-E/SO Datasheet - Page 50
![IC MCU FLASH 512X12 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F54T-E/SO
Manufacturer Part Number
PIC16F54T-E/SO
Description
IC MCU FLASH 512X12 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16F54T-E/SO
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 ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
PIC16F5X
IORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
IORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DS41213D-page 48
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
Z
RESULT
W
RESULT
W
Z
=
=
=
0x9A
0xBF
0
Inclusive OR literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. (k) → (W)
The contents of the W register are
OR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
1
1
IORLW 0x35
Inclusive OR W with f
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(W).OR. (f) → (dest)
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
register ‘f’.
1
1
IORWF
1101
0001
=
=
=
=
=
0x13
0x91
0x13
0x93
0
IORLW k
IORWF
kkkk
00df
RESULT, 0
kkkk
ffff
f, d
MOVF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) → (dest)
The contents of register ‘f’ is
moved to destination ‘d’. If ‘d’ is ‘0’,
destination is the W register. If ‘d’
is ‘1’, the destination is file
register ‘f’. ‘d’ is ‘1’ is useful to test
a file register since Status flag Z is
affected.
1
1
MOVF
Move Literal to W
[ label ]
0 ≤ k ≤ 255
k → (W)
The eight-bit literal ‘k’ is loaded
into the W register.
1
1
MOVLW 0x5A
0010
1100
value in FSR register
0x5A
© 2007 Microchip Technology Inc.
FSR,
MOVF f, d
MOVLW k
00df
kkkk
0
ffff
kkkk