PIC16C622-04E/P Microchip Technology, PIC16C622-04E/P Datasheet - Page 75
![IC MCU OTP 2KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C622-04E/P
Manufacturer Part Number
PIC16C622-04E/P
Description
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C622-04E/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 75 of 128
- Download datasheet (4Mb)
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TRIS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2003 Microchip Technology Inc.
Swap Nibbles in f
[ label ] SWAPF f,d
0 ≤ f ≤ 127
d ∈ [0,1]
(f<3:0>) → (dest<7:4>),
(f<7:4>) → (dest<3:0>)
None
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
Before Instruction
After Instruction
Load TRIS Register
[ label ] TRIS
5 ≤ f ≤ 7
(W) → TRIS register f;
None
The instruction is supported for
code compatibility with the
PIC16C5X products. Since TRIS
registers are readable and
writable, the user can directly
address them.
1
1
00
To maintain upward compatibil-
ity with future PICmicro
ucts, do not use this
instruction.
00
SWAPF
REG,
0000
REG1
REG1
W
1110
f
0
0110
dfff
=
=
=
0xA5
0xA5
0x5A
®
0fff
prod-
ffff
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Exclusive OR W with f
[ label ] XORWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .XOR. (f) → (dest)
Z
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
Before Instruction
After Instruction
Exclusive OR Literal with W
[ label
]
0 ≤ k ≤ 255
(W) .XOR. k → (W)
Z
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
Before Instruction
After Instruction
00
11
PIC16C62X
REG
W
REG
W
0110
REG
1010
0xAF
XORLW k
W
W
=
=
1
DS30235J-page 73
dfff
kkkk
=
=
=
=
f,d
0xB5
0x1A
0xAF
0xB5
0x1A
0xB5
kkkk
ffff
Related parts for PIC16C622-04E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C622-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 COMP 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet: