DSPIC30F2010-30I/SPG Microchip Technology, DSPIC30F2010-30I/SPG Datasheet - Page 169

16BIT 30MIPS DSPIC, 30F2010, DIP28

DSPIC30F2010-30I/SPG

Manufacturer Part Number
DSPIC30F2010-30I/SPG
Description
16BIT 30MIPS DSPIC, 30F2010, DIP28
Manufacturer
Microchip Technology
Series
DsPIC30Fr
Datasheet

Specifications of DSPIC30F2010-30I/SPG

Core Frequency
30MHz
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
20
Flash Memory Size
12KB
Supply Voltage Range
2.5V To 5.5V
Operating Temperature Range
-40°C To
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TABLE 22-2:
 2004 Microchip Technology Inc.
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Base
Instr
#
BTSS
BTST
BTSTS
CALL
CLR
CLRWDT
COM
CP
CP0
CP1
CPB
CPSEQ
CPSGT
CPSLT
CPSNE
DAW
DEC
DEC2
DISI
DIV
DIVF
DO
ED
Mnemonic
Assembly
INSTRUCTION SET OVERVIEW (CONTINUED)
BTSS
BTSS
BTST
BTST.C
BTST.Z
BTST.C
BTST.Z
BTSTS
BTSTS.C Ws,#bit4
BTSTS.Z
CALL
CALL
CLR
CLR
CLR
CLR
CLRWDT
COM
COM
COM
CP
CP
CP
CP0
CP0
CP1
CP1
CPB
CPB
CPB
CPSEQ
CPSGT
CPSLT
CPSNE
DAW
DEC
DEC
DEC
DEC2
DEC2
DEC2
DISI
DIV.S
DIV.SD
DIV.U
DIV.UD
DIVF
DO
DO
ED
Wm,Wn
f,#bit4
Ws,#bit4
f,#bit4
Ws,#bit4
Ws,#bit4
Ws,Wb
Ws,Wb
f,#bit4
Ws,#bit4
lit23
Wn
f
WREG
Ws
Acc,Wx,Wxd,Wy,Wyd,AWB
f
f,WREG
Ws,Wd
f
Wb,#lit5
Wb,Ws
f
Ws
f
Ws
f
Wb,#lit5
Wb,Ws
Wb, Wn
Wb, Wn
Wb, Wn
Wb, Wn
Wn
f
f,WREG
Ws,Wd
f
f,WREG
Ws,Wd
#lit14
Wm,Wn
Wm,Wn
Wm,Wn
Wm,Wn
#lit14,Expr
Wn,Expr
Wm*Wm,Acc,Wx,Wy,Wxd
Assembly Syntax
Advance Information
Bit Test Ws, Skip if Set
Bit Test f
Bit Test Ws to Z
Bit Test Ws to C, then Set
f = 0x0000
Clear Watchdog Timer
f = f
WREG = f
Compare f with WREG
Compare f with WREG, with Borrow
Compare Wb with Wn, skip if >
Compare Wb with Wn, skip if <
Wn = decimal adjust Wn
WREG = f -1
Signed 32/16-bit Integer Divide
Signed 16/16-bit Fractional Divide
Bit Test f, Skip if Set
Bit Test Ws to C
Bit Test Ws<Wb> to C
Bit Test Ws<Wb> to Z
Bit Test then Set f
Bit Test Ws to Z, then Set
Call subroutine
Call indirect subroutine
WREG = 0x0000
Ws = 0x0000
Clear Accumulator
Wd = Ws
Compare Wb with lit5
Compare Wb with Ws (Wb - Ws)
Compare f with 0x0000
Compare Ws with 0x0000
Compare f with 0xFFFF
Compare Ws with 0xFFFF
Compare Wb with lit5, with Borrow
Compare Wb with Ws, with Borrow
Compare Wb with Wn, skip if =
Compare Wb with Wn, skip if
f = f -1
Wd = Ws - 1
f = f -2
WREG = f -2
Wd = Ws - 2
Disable Interrupts for k instruction cycles
Signed 16/16-bit Integer Divide
Unsigned 16/16-bit Integer Divide
Unsigned 32/16-bit Integer Divide
Do code to PC+Expr, lit14+1 times
Do code to PC+Expr, (Wn)+1 times
Euclidean Distance ( no accumulate)
(Wb - Ws - C)
Description
words
# of
dsPIC30F
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
1
(2 or 3)
(2 or 3)
(2 or 3)
(2 or 3)
(2 or 3)
(2 or 3)
cycles
DS70082E-page 167
# of
18
18
18
18
18
1
1
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
1
None
None
Z
C
Z
C
Z
Z
C
Z
None
None
None
None
None
OA,OB,SA,SB
WDTO,Sleep
N,Z
N,Z
N,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
None
None
None
None
C
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
None
N,Z,C, OV
N,Z,C, OV
N,Z,C, OV
N,Z,C, OV
N,Z,C, OV
None
None
OA,OB,OAB,
SA,SB,SAB
Status Flags
Affected

Related parts for DSPIC30F2010-30I/SPG