PIC18F4550-I/ML Microchip Technology Inc., PIC18F4550-I/ML Datasheet - Page 261

no-image

PIC18F4550-I/ML

Manufacturer Part Number
PIC18F4550-I/ML
Description
44 PIN, 32 KB FLASH, 2048 RAM, FS-USB 2.0
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F4550-I/ML

A/d Inputs
13-Channel, 10-Bit
Comparators
2
Cpu Speed
12 MIPS
Eeprom Memory
256 Bytes
Input Output
34
Interface
I2C/SPI/UART/USART/USB
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin QFN
Programmable Memory
32K Bytes
Ram Size
2K Bytes
Speed
48 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
© 2006 Microchip Technology Inc.
Q Cycle Activity:
Before Instruction
After Instruction
Decode
W
OFST
FSR2
Contents
of 0A2Ch
W
Contents
of 0A2Ch
Q1
ADDWF
ADD W to Indexed
(Indexed Literal Offset mode)
ADDWF
0
d
(W) + ((FSR2) + k)
N, OV, C, DC, Z
The contents of W are added to the
contents of the register indicated by
FSR2, offset by the value ‘k’.
If ‘d’ is ‘0’, the result is stored in W. If ‘d’
is ‘1’, the result is stored back in
register ‘f’ (default).
1
1
Read ‘k’
0010
Q2
k
[0,1]
95
=
=
=
=
=
=
[OFST] ,0
[k] {,d}
01d0
17h
2Ch
0A00h
20h
37h
20h
Process
Data
Q3
kkkk
dest
destination
Advance Information
Write to
Q4
kkkk
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
SETF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Q Cycle Activity:
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
Decode
FLAG_OFST
FSR2
Contents
of 0A0Ah
Contents
of 0A0Ah
OFST
FSR2
Contents
of 0A2Ch
Contents
of 0A2Ch
PIC18F2450/4450
Q1
Q1
register ‘f’
Bit Set Indexed
(Indexed Literal Offset mode)
BSF [k], b
0
0
1
None
Bit ‘b’ of the register indicated by FSR2,
offset by the value ‘k’, is set.
1
1
BSF
Set Indexed
(Indexed Literal Offset mode)
SETF [k]
0
FFh
None
The contents of the register indicated by
FSR2, offset by ‘k’, are set to FFh.
1
1
Read ‘k’
SETF
Read
1000
0110
Q2
Q2
=
=
=
=
f
b
k
((FSR2) + k)<b>
95
95
7
((FSR2) + k)
=
=
=
=
2Ch
0A00h
00h
FFh
[FLAG_OFST], 7
[OFST]
bbb0
1000
Process
0Ah
0A00h
55h
D5h
Process
Data
Data
Q3
Q3
DS39760A-page 259
kkkk
kkkk
destination
Write to
register
Write
Q4
Q4
kkkk
kkkk

Related parts for PIC18F4550-I/ML