PIC18C858-E/L Microchip Technology, PIC18C858-E/L Datasheet - Page 297

no-image

PIC18C858-E/L

Manufacturer Part Number
PIC18C858-E/L
Description
IC MCU OTP 16KX16 CAN 84PLCC
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C858-E/L

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
68
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
84-PLCC
For Use With
AC164310 - MODULE SKT FOR PM3 84PLCCDVA18XL840 - ADAPTER DEVICE ICE 84PLCCAC174012 - MODULE SKT PROMATEII 84PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC18C858E/L

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C858-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
SUBFWB (Cont.)
Example 1:
Example 2:
Example 3:
2000 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
REG
WREG
C
REG
WREG
C
Z
N
REG
WREG
C
REG
WREG
C
Z
N
REG
WREG
C
REG
WREG
C
Z
N
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
SUBFWB
SUBFWB
SUBFWB
3
2
1
0xFF
2
0
0
1
2
5
1
2
3
1
0
0
1
2
0
0
2
1
1
0
; result is negative
; result is positive
; result is zero
REG
REG
REG
Advanced Information
SUBLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
Example 3:
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
WREG
C
WREG
C
Z
N
WREG
C
WREG
C
Z
N
WREG
C
WREG
C
Z
N
Q1
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
literal ’k’
Subtract WREG from literal
[ label ] SUBLW k
0
k – (WREG)
N,OV, C, DC, Z
WREG is subtracted from the
eight bit literal 'k'. The result is
placed in WREG.
1
1
SUBLW
SUBLW
SUBLW
Read
Q2
0000
1
?
1
1
0
0
2
?
0
1
1
0
3
?
0xFF ; (2’s complement)
0
0
1
k
PIC18CXX8
; result is positive
; result is zero
; result is negative
255
0x02
0x02
0x02
1000
Process
Data
Q3
DS30475A-page 297
WREG
kkkk
Write to W
Q4
kkkk

Related parts for PIC18C858-E/L