English
Language : 

DSPIC30F6010 Datasheet, PDF (157/218 Pages) Microchip Technology – High-Performance Digital Signal Controllers
dsPIC30F6010
TABLE 22-2: INSTRUCTION SET OVERVIEW (CONTINUED)
Base
Instr
#
Assembly
Mnemonic
Assembly Syntax
Description
# of
words
# of
cycle
s
Status Flags
Affected
52 MUL
MUL.SS
MUL.SU
MUL.US
MUL.UU
Wb,Ws,Wnd
Wb,Ws,Wnd
Wb,Ws,Wnd
Wb,Ws,Wnd
MUL.SU Wb,#lit5,Wnd
MUL.UU Wb,#lit5,Wnd
53 NEG
MUL
f
NEG
Acc
54 NOP
55 POP
NEG
NEG
NEG
NOP
NOPR
POP
POP
POP.D
f
f,WREG
Ws,Wd
f
Wdo
Wnd
POP.S
56 PUSH
PUSH
f
PUSH
Wso
PUSH.D Wns
PUSH.S
57 PWRSAV PWRSAV #lit1
58 RCALL
RCALL Expr
RCALL Wn
59 REPEAT REPEAT #lit14
REPEAT Wn
60 RESET
RESET
61 RETFIE
RETFIE
62 RETLW
RETLW #lit10,Wn
63 RETURN RETURN
64 RLC
RLC
f
RLC
f,WREG
RLC
Ws,Wd
65 RLNC
RLNC
f
RLNC
f,WREG
RLNC
Ws,Wd
66 RRC
RRC
f
RRC
f,WREG
RRC
Ws,Wd
67 RRNC
RRNC
f
RRNC
f,WREG
RRNC
Ws,Wd
68 SAC
SAC
Acc,#Slit4,Wdo
SAC.R Acc,#Slit4,Wdo
69 SE
SE
Ws,Wnd
70 SETM
SETM
f
SETM
WREG
SETM
Ws
71 SFTAC
SFTAC Acc,Wn
SFTAC Acc,#Slit6
{Wnd+1, Wnd} = signed(Wb) * signed(Ws)
1
{Wnd+1, Wnd} = signed(Wb) * unsigned(Ws) 1
{Wnd+1, Wnd} = unsigned(Wb) * signed(Ws) 1
{Wnd+1, Wnd} = unsigned(Wb) *
1
unsigned(Ws)
{Wnd+1, Wnd} = signed(Wb) * unsigned(lit5) 1
{Wnd+1, Wnd} = unsigned(Wb) *
1
unsigned(lit5)
W3:W2 = f * WREG
1
Negate Accumulator
1
f=f+1
1
WREG = f + 1
1
Wd = Ws + 1
1
No Operation
1
No Operation
1
Pop f from top-of-stack (TOS)
1
Pop from top-of-stack (TOS) to Wdo
1
Pop from top-of-stack (TOS) to
1
W(nd):W(nd+1)
Pop Shadow Registers
1
Push f to top-of-stack (TOS)
1
Push Wso to top-of-stack (TOS)
1
Push W(ns):W(ns+1) to top-of-stack (TOS)
1
Push Shadow Registers
1
Go into Sleep or Idle mode
1
Relative Call
1
Computed Call
1
Repeat Next Instruction lit14+1 times
1
Repeat Next Instruction (Wn)+1 times
1
Software device Reset
1
Return from interrupt
1
Return with literal in Wn
1
Return from Subroutine
1
f = Rotate Left through Carry f
1
WREG = Rotate Left through Carry f
1
Wd = Rotate Left through Carry Ws
1
f = Rotate Left (No Carry) f
1
WREG = Rotate Left (No Carry) f
1
Wd = Rotate Left (No Carry) Ws
1
f = Rotate Right through Carry f
1
WREG = Rotate Right through Carry f
1
Wd = Rotate Right through Carry Ws
1
f = Rotate Right (No Carry) f
1
WREG = Rotate Right (No Carry) f
1
Wd = Rotate Right (No Carry) Ws
1
Store Accumulator
1
Store Rounded Accumulator
1
Wnd = sign extended Ws
1
f = 0xFFFF
1
WREG = 0xFFFF
1
Ws = 0xFFFF
1
Arithmetic Shift Accumulator by (Wn)
1
Arithmetic Shift Accumulator by Slit6
1
1 None
1 None
1 None
1 None
1 None
1 None
1 None
1 OA,OB,OAB,
SA,SB,SAB
1 C,DC,N,OV,Z
1 C,DC,N,OV,Z
1 C,DC,N,OV,Z
1 None
1 None
1 None
1 None
2 None
1
1
1
2
1
1
2
2
1
1
1
3 (2)
3 (2)
3 (2)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
All
None
None
None
None
WDTO,Sleep
None
None
None
None
None
None
None
None
C,N,Z
C,N,Z
C,N,Z
N,Z
N,Z
N,Z
C,N,Z
C,N,Z
C,N,Z
N,Z
N,Z
N,Z
None
None
C,N,Z
None
None
None
OA,OB,OAB,
SA,SB,SAB
OA,OB,OAB,
SA,SB,SAB
 2004 Microchip Technology Inc.
Preliminary
DS70119D-page 155