PIC18F2525 MICROCHIP [Microchip Technology], PIC18F2525 Datasheet - Page 290

no-image

PIC18F2525

Manufacturer Part Number
PIC18F2525
Description
28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2525-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2525-I/SO
Manufacturer:
HITTITE
Quantity:
101
Part Number:
PIC18F2525-I/SP
Manufacturer:
SANYO
Quantity:
4 000
PIC18F2525/2620/4525/4620
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
1st word (k<7:0>)
2nd word(k<19:8>)
Description:
Words:
Cycles:
Example:
DS39626B-page 288
Q Cycle Activity:
After Instruction
operation
Decode
PC =
Q1
No
Address (THERE)
Read literal
operation
Unconditional Branch
GOTO k
0
k
None
GOTO
anywhere within entire
2-Mbyte memory range. The 20-bit
value ‘k’ is loaded into PC<20:1>.
GOTO
instruction.
2
2
GOTO THERE
‘k’<7:0>,
1110
1111
Q2
No
k
PC<20:1>
allows an unconditional branch
is always a two-cycle
1048575
k
1111
19
operation
operation
kkk
Q3
No
No
k
kkkk
7
kkk
Write to PC
Read literal
‘k’<19:8>,
operation
Q4
No
kkkk
kkkk
Preliminary
0
8
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
CNT
Z
C
DC
CNT
Z
C
DC
Q1
=
=
=
=
=
=
=
=
register ‘f’
Increment f
INCF
0
d
a
(f) + 1
The contents of register ‘f’ are
incremented. If ‘d’ is ‘0’, the result is
placed in W. If ‘d’ is ‘1’, the result is
placed back in register ‘f’ (default).
If ‘a’ is ‘0’, the Access Bank is selected.
If ‘a’ is ‘1’, the BSR is used to select the
GPR bank (default).
If ‘a’ is ‘0’ and the extended instruction
set is enabled, this instruction operates
in Indexed Literal Offset Addressing
mode whenever f
Section 24.2.3 “Byte-Oriented and
Bit-Oriented Instructions in Indexed
Literal Offset Mode” for details.
1
1
INCF
C, DC, N, OV, Z
Read
0010
Q2
FFh
0
?
?
00h
1
1
1
f
[0,1]
[0,1]
 2004 Microchip Technology Inc.
255
f {,d {,a}}
dest
10da
CNT, 1, 0
Process
Data
Q3
95 (5Fh). See
ffff
destination
Write to
Q4
ffff

Related parts for PIC18F2525