DSPIC30F2012 Microchip Technology Inc., DSPIC30F2012 Datasheet - Page 141

no-image

DSPIC30F2012

Manufacturer Part Number
DSPIC30F2012
Description
Dspic30f2011/2012/3012/3013 High-performance Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F2012-20E/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
0
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
TABLE 18-2:
© 2006 Microchip Technology Inc.
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Base
Instr
#
MPY
MPY.N
MSC
MUL
NEG
NOP
POP
PUSH
PWRSAV
RCALL
REPEAT
RESET
RETFIE
RETLW
RETURN
RLC
RLNC
RRC
Mnemonic
Assembly
INSTRUCTION SET OVERVIEW (CONTINUED)
MPY
Wm*Wn,Acc,Wx,Wxd,Wy,Wyd
MPY
Wm*Wm,Acc,Wx,Wxd,Wy,Wyd
MPY.N
Wm*Wn,Acc,Wx,Wxd,Wy,Wyd
MSC
MUL.SS
MUL.SU
MUL.US
MUL.UU
MUL.SU
MUL.UU
MUL
NEG
NEG
NEG
NEG
NOP
NOPR
POP
POP
POP.D
POP.S
PUSH
PUSH
PUSH.D
PUSH.S
PWRSAV
RCALL
RCALL
REPEAT
REPEAT
RESET
RETFIE
RETLW
RETURN
RLC
RLC
RLC
RLNC
RLNC
RLNC
RRC
RRC
RRC
Wm*Wm,Acc,Wx,Wxd,Wy,Wyd
,
AWB
Wb,Ws,Wnd
Wb,Ws,Wnd
Wb,Ws,Wnd
Wb,Ws,Wnd
Wb,#lit5,Wnd
Wb,#lit5,Wnd
f
Acc
f
f,WREG
Ws,Wd
f
Wdo
Wnd
f
Wso
Wns
Expr
Wn
#lit14
Wn
#lit10,Wn
f
f,WREG
Ws,Wd
f
f,WREG
Ws,Wd
f
f,WREG
Ws,Wd
Assembly Syntax
#lit1
dsPIC30F2011/2012/3012/3013
Multiply Wm by Wn to Accumulator
Square Wm to Accumulator
-(Multiply Wm by Wn) to Accumulator
Multiply and Subtract from Accumulator
{Wnd+1, Wnd} = signed(Wb) * signed(Ws)
{Wnd+1, Wnd} = signed(Wb) * unsigned(Ws)
{Wnd+1, Wnd} = unsigned(Wb) * signed(Ws)
{Wnd+1, Wnd} = unsigned(Wb) *
unsigned(Ws)
{Wnd+1, Wnd} = signed(Wb) * unsigned(lit5)
{Wnd+1, Wnd} = unsigned(Wb) *
unsigned(lit5)
W3:W2 = f * WREG
Negate Accumulator
f = f + 1
WREG = f + 1
Wd = Ws + 1
No Operation
No Operation
Pop f from top-of-stack (TOS)
Pop from top-of-stack (TOS) to Wdo
Pop from top-of-stack (TOS) to
W(nd):W(nd+1)
Pop Shadow Registers
Push f to top-of-stack (TOS)
Push Wso to top-of-stack (TOS)
Push W(ns):W(ns+1) to top-of-stack (TOS)
Push Shadow Registers
Go into Sleep or Idle mode
Relative Call
Computed Call
Repeat Next Instruction lit14+1 times
Repeat Next Instruction (Wn)+1 times
Software device Reset
Return from interrupt
Return with literal in Wn
Return from Subroutine
f = Rotate Left through Carry f
WREG = Rotate Left through Carry f
Wd = Rotate Left through Carry Ws
f = Rotate Left (No Carry) f
WREG = Rotate Left (No Carry) f
Wd = Rotate Left (No Carry) Ws
f = Rotate Right through Carry f
WREG = Rotate Right through Carry f
Wd = Rotate Right through Carry Ws
Description
Words
# of
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
1
1
1
1
1
1
1
1
1
1
1
Cycles
DS70139E-page 139
3 (2)
3 (2)
3 (2)
# of
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
2
1
1
2
2
1
1
1
1
1
1
1
1
1
1
1
1
Status Flags
C,DC,N,OV,Z
C,DC,N,OV,Z
C,DC,N,OV,Z
OA,OB,OAB,
OA,OB,OAB,
OA,OB,OAB,
OA,OB,OAB,
WDTO,Sleep
SA,SB,SAB
SA,SB,SAB
SA,SB,SAB
SA,SB,SAB
Affected
C,N,Z
C,N,Z
C,N,Z
C,N,Z
C,N,Z
C,N,Z
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
N,Z
N,Z
N,Z
All

Related parts for DSPIC30F2012