PIC16C926 Microchip Technology Inc., PIC16C926 Datasheet - Page 120

no-image

PIC16C926

Manufacturer Part Number
PIC16C926
Description
64/68-pin Cmos Microcontrollers With Lcd Driver
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926/CL
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C926T-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C925/926
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS39544A-page 118
Before Instruction:
After Instruction:
If Skip:
PC
if FLAG<1> =
PC
if FLAG<1> =
PC
Bit Test f, Skip if Set
[ label ] BTFSS f [,b]
0
0
skip if (f<b>) = 1
None
If bit ’b’ in register ’f’ is ’0’, then the
next instruction is executed.
If bit ’b’ is ’1’, then the next instruc-
tion is discarded and a NOP is exe-
cuted instead, making this a 2T
instruction.
1
1(2)
HERE
FALSE
TRUE
(2nd Cycle)
Operation
Decode
Q1
Q1
=
=
=
01
No
f
b < 7
127
address HERE
0,
address FALSE
1,
address TRUE
BTFSC
GOTO
register ’f’
Operation
11bb
Read
Q2
Q2
No
FLAG,1
PROCESS_CODE
Operation
Process
bfff
data
Q3
Q3
No
Operation
Operation
ffff
Q4
Q4
No
No
CY
Preliminary
CALL
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Before Instruction:
After Instruction:
2nd Cycle
1st Cycle
PC
PC
TOS
= Address HERE
= Address THERE
= Address HERE+1
Call Subroutine
[ label ] CALL k
0
(PC)+ 1
k
(PCLATH<4:3>)
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 instruction.
1
2
HERE
Operation
Decode
Q1
10
No
k
PC<10:0>,
2001 Microchip Technology Inc.
2047
CALL
Operation
Push PC
literal ’k’,
to Stack
TOS,
0kkk
Read
Q2
No
Operation
Process
THERE
PC<12:11>
kkkk
data
Q3
No
Operation
Write to
kkkk
Q4
PC
No

Related parts for PIC16C926