PIC16C622A-20I/P Microchip Technology, PIC16C622A-20I/P Datasheet - Page 75

no-image

PIC16C622A-20I/P

Manufacturer Part Number
PIC16C622A-20I/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C622A-20I/P

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
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)
2.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 PIC16C622A-20I/P