PIC16C558-20I/P Microchip Technology, PIC16C558-20I/P Datasheet - Page 59
PIC16C558-20I/P
Manufacturer Part Number
PIC16C558-20I/P
Description
IC MCU OTP 2KX14 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C558-20I/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
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)
3 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
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 59 of 108
- Download datasheet (3Mb)
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2002 Microchip Technology Inc.
BTFSS
[ label ] BTFSS f,b
0 ≤ f ≤ 127
0 ≤ b < 7
skip if (f<b>) = 1
None
If bit 'b' in register 'f' is '1' then the next
instruction is skipped.
If bit 'b' is '1', then the next instruction
fetched during the current instruction
execution, is discarded and a NOP is
executed instead, making this a two-
cycle instruction.
1
1(2)
Before Instruction
After Instruction
Bit Test f, Skip if Set
01
HERE
FALSE
TRUE
PC
if FLAG<1> = 0,
PC =
if FLAG<1> = 1,
PC =
11bb
BTFSS
GOTO
•
•
•
=
address FALSE
address TRUE
address HERE
bfff
FLAG,1
PROCESS_CODE
ffff
Preliminary
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CALL
CLRF
[ label ] CALL k
0 ≤ k ≤ 2047
(PC)+ 1→ TOS,
k → PC<10:0>,
(PCLATH<4:3>) → PC<12:11>
None
Call Subroutine. First, return address
(PC+1) is pushed onto the stack. The
eleven bit immediate address is
loaded into PC bits <10:0>. The upper
bits of the PC are loaded from
PCLATH. CALL is a two-cycle instruc-
tion.
1
2
Before Instruction
After Instruction
[ label ] CLRF
0 ≤ f ≤ 127
00h → (f)
1 → Z
Z
The contents of register 'f' are cleared
and the Z bit is set.
1
1
Before Instruction
After Instruction
Call Subroutine
10
HERE
Clear f
00
CLRF
PC
PC
TOS = Address HERE+1
FLAG_REG=0x5A
FLAG_REG=0x00
Z
PIC16C55X
= Address HERE
= Address THERE
0kkk
CALL
0001
FLAG_REG
=1
f
DS40143D-page 57
kkkk
1fff
THERE
kkkk
ffff
Related parts for PIC16C558-20I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU OTP 2KX14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU EPROM 2KX14 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 2KX14 18DIP
Manufacturer:
Microchip Technology
Datasheet: