PIC16C432T-I/SS Microchip Technology, PIC16C432T-I/SS Datasheet - Page 74

IC MCU CMOS 8BIT 20MHZ 2K 20SSOP

PIC16C432T-I/SS

Manufacturer Part Number
PIC16C432T-I/SS
Description
IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432T-I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
PIC16C432
DS41140B-page 72
TRIS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Load TRIS Register
[ label ]
5
(W)
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
To maintain upward compatibil-
ity with future PICmicro
ucts, do not use this instruction.
Swap Nibbles in f
[ label ]
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 register. If
’d’ is 1, the result is placed in regis-
ter ’f’.
1
1
SWAPF
Before Instruction
After Instruction
00
00
f
f
[0,1]
7
TRIS register f;
127
TRIS
REG1 = 0xA5
REG1 = 0xA5
W = 0x5A
0000
SWAPF f,d
REG,
1110
(dest<7:4>),
(dest<3:0>)
f
0110
0
dfff
®
prod-
0fff
ffff
Preliminary
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 ]
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 regis-
ter. If 'd' is 1, the result is stored
back in register 'f'.
1
1
XORW
F
Before Instruction
After Instruction
Exclusive OR Literal with W
[ label ]
0
(W) .XOR. k
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
XORL
W
Before Instruction
After Instruction
00
11
f
[0,1]
k
2002 Microchip Technology Inc.
127
255
W = 0xB5
W = 0x1A
REG = 0xAF
W = 0xB5
REG = 0x1A
W = 0xB5
XORWF
REG
0110
XORLW k
0xAF
1010
(W)
(dest)
1
dfff
kkkk
f,d
kkkk
ffff

Related parts for PIC16C432T-I/SS