Datasheet

© 2011 Microchip Technology Inc. DS70150E-page 171
dsPIC30F6010A/6015
52 NEG NEG Acc Negate Accumulator 1 1 OA,OB,OAB,
SA,SB,SAB
NEG f f = f
+ 1 1 1 C,DC,N,OV,Z
NEG f,WREG WREG = f + 1 1 1 C,DC,N,OV,Z
NEG Ws,Wd Wd = Ws
+ 1 1 1 C,DC,N,OV,Z
53 NOP NOP No Operation 1 1 None
NOPR No Operation 1 1 None
54 POP POP
f
Pop f from Top-of-Stack (TOS) 1 1 None
POP
Wdo
Pop from Top-of-Stack (TOS) to Wdo 1 1 None
POP.D
Wnd
Pop from Top-of-Stack (TOS) to
W(nd):W(nd+1)
12None
POP.S Pop Shadow Registers 1 1 All
55 PUSH PUSH
f
Push f to Top-of-Stack (TOS) 1 1 None
PUSH
Wso
Push Wso to Top-of-Stack (TOS) 1 1 None
PUSH.D
Wns
Push W(ns):W(ns +1) to Top-of-Stack (TOS) 1 2 None
PUSH.S Push Shadow Registers 1 1 None
56 PWRSAV PWRSAV #lit1 Go into Sleep or Idle mode 1 1 WDTO,Sleep
57 RCALL RCALL
Expr
Relative Call 1 2 None
RCALL
Wn
Computed Call 1 2 None
58 REPEAT REPEAT
#lit14
Repeat Next Instruction lit14 + 1 times 1 1 None
REPEAT
Wn
Repeat Next Instruction (Wn) + 1 times 1 1 None
59 RESET RESET Software device Reset 1 1 None
60 RETFIE RETFIE Return from interrupt 1 3 (2) None
61 RETLW RETLW
#lit10,Wn
Return with literal in Wn 1 3 (2) None
62 RETURN RETURN Return from Subroutine 1 3 (2) None
63 RLC RLC
f
f = Rotate Left through Carry f 1 1 C,N,Z
RLC
f,WREG
WREG = Rotate Left through Carry f 1 1 C,N,Z
RLC
Ws,Wd
Wd = Rotate Left through Carry Ws 1 1 C,N,Z
64 RLNC RLNC
f
f = Rotate Left (No Carry) f 1 1 N,Z
RLNC
f,WREG
WREG = Rotate Left (No Carry) f 1 1 N,Z
RLNC
Ws,Wd
Wd = Rotate Left (No Carry) Ws 1 1 N,Z
65 RRC RRC
f
f = Rotate Right through Carry f 1 1 C,N,Z
RRC
f,WREG
WREG = Rotate Right through Carry f 1 1 C,N,Z
RRC
Ws,Wd
Wd = Rotate Right through Carry Ws 1 1 C,N,Z
66 RRNC RRNC
f
f = Rotate Right (No Carry) f 1 1 N,Z
RRNC
f,WREG
WREG = Rotate Right (No Carry) f 1 1 N,Z
RRNC
Ws,Wd
Wd = Rotate Right (No Carry) Ws 1 1 N,Z
67 SAC SAC
Acc,#Slit4,Wdo
Store Accumulator 1 1 None
SAC.R
Acc,#Slit4,Wdo
Store Rounded Accumulator 1 1 None
68 SE SE
Ws,Wnd
Wnd = sign extended Ws 1 1 C,N,Z
69 SETM SETM
f
f = 0xFFFF 1 1 None
SETM
WREG
WREG = 0xFFFF 1 1 None
SETM
Ws
Ws = 0xFFFF 1 1 None
70 SFTAC SFTAC
Acc,Wn
Arithmetic Shift Accumulator by (Wn) 1 1 OA,OB,OAB,
SA,SB,SAB
SFTAC
Acc,#Slit6
Arithmetic Shift Accumulator by Slit6 1 1 OA,OB,OAB,
SA,SB,SAB
71 SL SL f f = Left Shift f 1 1 C,N,OV,Z
SL
f,WREG
WREG = Left Shift f 1 1 C,N,OV,Z
SL
Ws,Wd
Wd = Left Shift Ws 1 1 C,N,OV,Z
SL
Wb,Wns,Wnd
Wnd = Left Shift Wb by Wns 1 1 N,Z
SL
Wb,#lit5,Wnd
Wnd = Left Shift Wb by lit5 1 1 N,Z
TABLE 22-2: INSTRUCTION SET OVERVIEW (CONTINUED)
Base
Instr
#
Assembly
Mnemonic
Assembly Syntax Description
# of
words
# of
cycles
Status Flags
Affected