English
Language : 

PIC24EP256GU810-I Datasheet, PDF (492/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
TABLE 30-2: INSTRUCTION SET OVERVIEW (CONTINUED)
Base
Instr
#
Assembly
Mnemonic
Assembly Syntax
Description
# of
# of Status Flags
Words Cycles(2) Affected
53 NEG
NEG
Acc(1)
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
54 NOP
55 POP
NEG
NOP
NOPR
POP
POP
POP.D
Ws,Wd
f
Wdo
Wnd
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)
1
C,DC,N,OV,Z
1
None
1
None
1
None
1
None
2
None
56 PUSH
POP.S
PUSH
f
PUSH
Wso
PUSH.D Wns
Pop Shadow Registers
1
1
Push f to Top-of-Stack (TOS)
1
1
Push Wso to Top-of-Stack (TOS)
1
1
Push W(ns):W(ns + 1) to Top-of-Stack
1
2
(TOS)
All
None
None
None
PUSH.S
57 PWRSAV PWRSAV
#lit1
58 RCALL
RCALL Expr
RCALL Wn
59 REPEAT REPEAT #lit15
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
68 SAC
RRNC
SAC
SAC.R
Ws,Wd
Acc,#Slit4,Wdo(1)
Acc,#Slit4,Wdo(1)
69 SE
SE
Ws,Wnd
70 SETM
SETM
f
SETM
WREG
71 SFTAC
SETM
SFTAC
Ws
Acc,Wn(1)
SFTAC Acc,#Slit6(1)
Push Shadow Registers
1
Go into Sleep or Idle mode
1
Relative Call
1
Computed Call
1
Repeat Next Instruction lit15 + 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
1
4
4
1
1
1
6 (5)
6 (5)
6 (5)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
None
WDTO,Sleep
SFA
SFA
None
None
None
SFA
SFA
SFA
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
Note 1: This instruction is available in dsPIC33EPXXX(GP/MC/MU)806/810/814 devices only.
2: Read and Read-Modify-Write (e.g., bit operations and logical operations) on non-CPU SFRs incur an additional instruction cycle.
DS70616G-page 492
 2009-2012 Microchip Technology Inc.