PIC17C42A/JW Microchip Technology, PIC17C42A/JW Datasheet - Page 120

IC MCU EPROM 2KX16 PWM 40CDIP

PIC17C42A/JW

Manufacturer Part Number
PIC17C42A/JW
Description
IC MCU EPROM 2KX16 PWM 40CDIP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C42A/JW

Core Processor
PIC
Core Size
8-Bit
Speed
33MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
4KB (2K x 16)
Program Memory Type
EPROM, UV
Ram Size
232 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-CDIP (0.600", 15.24mm) Window
For Use With
DVA17XP401 - DEVICE ADAPTER FOR PIC17C42AAC174001 - MODULE SKT PROMATEII 40DIP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42A/JW
Manufacturer:
MICROCHIP
Quantity:
10
Part Number:
PIC17C42A/JW
Manufacturer:
EON
Quantity:
32 000
PIC17C4X
CPFSLT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
DS30412C-page 120
Before Instruction
After Instruction
Forced NOP
Decode
PC
W
If REG
PC
If REG
PC
Q1
Q1
register 'f'
Compare f with WREG,
skip if f < WREG
[ label ] CPFSLT
0
(f) – WREG),
skip if (f) < (WREG)
(unsigned comparison)
Compares the contents of data memory
location 'f' to the contents of WREG by
performing an unsigned subtraction.
If the contents of 'f' < the contents of
WREG, then the fetched instruction is
discarded and an NOP is executed
instead making this a two-cycle instruc-
tion.
1
1 (2)
HERE
NLESS
LESS
None
Read
NOP
0011
Q2
Q2
=
=
<
=
f
=
255
Address (HERE)
?
WREG;
Address (LESS)
WREG;
Address (NLESS)
CPFSLT REG
:
:
0000
Execute
Execute
Q3
Q3
ffff
f
NOP
NOP
Q4
Q4
ffff
DAW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example1:
Example 2:
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
WREG
REG1
C
DC
WREG
REG1
C
DC
WREG
REG1
C
DC
WREG
REG1
C
DC
Q1
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
register 'f'
Decimal Adjust WREG Register
[ label ] DAW
0
s
If [WREG<3:0> >9] .OR. [DC = 1] then
else
If [WREG<7:4> >9] .OR. [C = 1] then
else
C
DAW adjusts the eight bit value in
WREG resulting from the earlier addi-
tion of two variables (each in packed
BCD format) and produces a correct
packed BCD result.
s = 0:
s = 1:
1
1
DAW
Read
0010
Q2
WREG<3:0> + 6
WREG<3:0>
WREG<7:4> + 6
WREG<7:4>
0xA5
??
0
0
0x05
0x05
1
0
0xCE
??
0
0
0x24
0x24
1
0
f
[0,1]
1996 Microchip Technology Inc.
255
REG1, 0
Result is placed in Data
memory location 'f' and
Result is placed in Data
memory location 'f'.
WREG.
111s
Execute
Q3
f,s
f<3:0>, s<3:0>;
f<7:4>, s<7:4>
ffff
f<3:0>, s<3:0>;
f<7:4>, s<7:4>
register 'f'
and other
specified
register
Write
Q4
ffff

Related parts for PIC17C42A/JW