PIC16LC433-I/P Microchip Technology, PIC16LC433-I/P Datasheet - Page 79

IC MCU CMOS 8BIT 10MHZ 2K 18-DIP

PIC16LC433-I/P

Manufacturer Part Number
PIC16LC433-I/P
Description
IC MCU CMOS 8BIT 10MHZ 2K 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16LC433-I/P

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
POR, WDT
Number Of I /o
6
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TRIS
2001 Microchip Technology Inc.
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
None
The upper and lower nibbles of
register ’f’ are exchanged. If ’d’ is
0, the result is placed in W regis-
ter. If ’d’ is 1, the result is placed in
register ’f’.
1
1
Before Instruction
After Instruction
Load TRIS Register
[ label ] TRIS
5
(W)
None
The instruction is supported for
code compatibility with the
PIC16C5X products. Since TRIS
registers are readable and writ-
able, the user can directly address
them.
1
1
To maintain upward compatibility
with future PIC16C433 products, do
not use this instruction.
SWAPF REG,
00
00
f
f
[0,1]
127
7
TRIS register f;
0000
REG1
REG1
W
1110
(dest<7:4>),
(dest<3:0>)
f
0
0110
dfff
=
=
=
0xA5
0xA5
0x5A
Advance Information
0fff
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
d
(W) .XOR. (f)
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 ] XORLW k
0
(W) .XOR. k
Z
The contents of the W register
are XOR’ed with the eight bit lit-
eral 'k'. The result is placed in the
W register.
1
1
XORLW
Before Instruction
After Instruction
00
f
11
[0,1]
k
PIC16C433
127
255
REG
W
REG
W
0110
1010
0xAF
W
W
REG
=
=
DS41139A-page 77
W)
dest)
1
dfff
=
=
=
=
kkkk
f,d
0xB5
0x1A
0xAF
0xB5
0x1A
0xB5
ffff
kkkk

Related parts for PIC16LC433-I/P