English
Language : 

PIC24FJ16MC101_12 Datasheet, PDF (249/350 Pages) Microchip Technology – 16-bit Microcontrollers (up to 32 KB Flash and 2 KB SRAM)
PIC24FJ16MC101/102 AND PIC24FJ32MC101/102/104
TABLE 24-2: INSTRUCTION SET OVERVIEW (CONTINUED)
Assembly
Mnemonic
Assembly Syntax
Description
MUL
MUL.SS Wb,Ws,Wnd
{Wnd + 1, Wnd} = signed(Wb) *
signed(Ws)
MUL.SU Wb,Ws,Wnd
MUL.US Wb,Ws,Wnd
MUL.UU Wb,Ws,Wnd
{Wnd + 1, Wnd} = signed(Wb) *
unsigned(Ws)
{Wnd + 1, Wnd} = unsigned(Wb) *
signed(Ws)
{Wnd + 1, Wnd} = unsigned(Wb) *
unsigned(Ws)
MUL.SU Wb,#lit5,Wnd
MUL.UU Wb,#lit5,Wnd
{Wnd + 1, Wnd} = signed(Wb) *
unsigned(lit5)
{Wnd + 1, Wnd} = unsigned(Wb) *
unsigned(lit5)
MUL
f
NEG
NEG
Acc
W3:W2 = f * WREG
Negate Accumulator
NEG
f
NEG
f,WREG
NEG
Ws,Wd
NOP
NOP
NOPR
POP
POP
f
POP
Wdo
POP.D Wnd
PUSH
POP.S
PUSH f
PUSH Wso
PUSH.D Wns
PWRSAV
REPEAT
RESET
RETFIE
RETLW
RETURN
RLC
RLNC
RRC
RRNC
SAC
PUSH.S
PWRSAV
#lit1
REPEAT #lit14
REPEAT Wn
RESET
RETFIE
RETLW #lit10,Wn
RETURN
RLC
f
RLC
f,WREG
RLC
Ws,Wd
RLNC f
RLNC f,WREG
RLNC Ws,Wd
RRC
f
RRC
f,WREG
RRC
Ws,Wd
RRNC f
RRNC f,WREG
RRNC Ws,Wd
SAC
Acc,#Slit4,Wdo
SAC.R Acc,#Slit4,Wdo
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
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
f = Rotate Right (No Carry) f
WREG = Rotate Right (No Carry) f
Wd = Rotate Right (No Carry) Ws
Store Accumulator
Store Rounded Accumulator
# of # of Status Flags
Words Cycles Affected
1
1
None
1
1
None
1
1
None
1
1
None
1
1
None
1
1
None
1
1
None
1
1 OA,OB,OAB,
SA,SB,SAB
1
1 C,DC,N,OV,Z
1
1 C,DC,N,OV,Z
1
1 C,DC,N,OV,Z
1
1
None
1
1
None
1
1
None
1
1
None
1
2
None
1
1
1
1
1
1
1
2
All
None
None
None
1
1
None
1
1 WDTO,Sleep
1
1
None
1
1
None
1
1
None
1
3 (2)
None
1
3 (2)
None
1
3 (2)
None
1
1
C,N,Z
1
1
C,N,Z
1
1
C,N,Z
1
1
N,Z
1
1
N,Z
1
1
N,Z
1
1
C,N,Z
1
1
C,N,Z
1
1
C,N,Z
1
1
N,Z
1
1
N,Z
1
1
N,Z
1
1
None
1
1
None
© 2011-2012 Microchip Technology Inc.
Preliminary
DS39997C-page 249