PIC16C54B-04I/SO Microchip Technology, PIC16C54B-04I/SO Datasheet - Page 53
![MICRO CTRL 512 4MHZ OTP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16C54B-04I/SO
Manufacturer Part Number
PIC16C54B-04I/SO
Description
MICRO CTRL 512 4MHZ OTP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C54B-04I/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 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
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 53 of 218
- Download datasheet (2Mb)
SWAPF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
TRIS
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
1998 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
REG1
W
W
TRISA
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
The upper and lower nibbles of register
'f' are exchanged. If 'd' is 0 the result is
placed in W register. If 'd' is 1 the result
is placed in register 'f'.
1
1
SWAPF
=
=
=
Load TRIS Register
[ label ] TRIS
f = 5, 6 or 7
(W)
TRIS register 'f' (f = 5, 6, or 7) is loaded
with the contents of the W register
1
1
=
=
TRIS
0011
0000
f
[0,1]
0xA5
0xA5
0X5A
0XA5
0XA5
31
TRIS register f
REG1,
PORTA
10df
0000
(dest<7:4>);
(dest<3:0>)
0
f
ffff
0fff
Preliminary
XORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
XORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
REG
W
REG
W
=
=
Exclusive OR literal with W
[ label ]
0
(W) .XOR. k
The contents of the W register are
XOR’ed with the eight bit literal 'k'. The
result is placed in the W register.
1
1
XORLW
0xB5
0x1A
Exclusive OR W with f
[ label ] XORWF
0
d
(W) .XOR. (f)
Exclusive OR the contents of the W
register with register 'f'. If 'd' is 0 the
result is stored in the W register. If 'd' is
1 the result is stored back in register 'f'.
1
1
XORWF
=
=
=
=
1111
0001
k
f
[0,1]
0xAF
0xB5
0x1A
0xB5
31
255
XORLW k
0xAF
REG,1
PIC16C5X
kkkk
10df
W)
dest)
DS30453B-page 53
kkkk
ffff
f,d
Related parts for PIC16C54B-04I/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C54B-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 4MHZ OTP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 4MHZ OTP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 X 12 EPROM 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 4MHZ OTP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 4MHZ OTP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 4MHZ OTP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54B-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
MICRO CTRL 512 20MHZ OTP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: