English
Language : 

70592C Datasheet, PDF (234/314 Pages) Microchip Technology – High-Performance, 16-bit Microcontrollers
PIC24HJXXXGPX06A/X08A/X10A
TABLE 22-2: INSTRUCTION SET OVERVIEW (CONTINUED)
Base
Instr
#
Assembly
Mnemonic
Assembly Syntax
Description
47
RCALL
RCALL Expr
RCALL Wn
48
REPEAT REPEAT #lit14
REPEAT Wn
49
RESET
RESET
50
RETFIE RETFIE
51
RETLW
RETLW #lit10,Wn
52
RETURN RETURN
53
RLC
RLC
f
RLC
f,WREG
54
RLNC
RLC
RLNC
Ws,Wd
f
RLNC
f,WREG
55
RRC
RLNC
RRC
Ws,Wd
f
RRC
f,WREG
56
RRNC
RRC
RRNC
Ws,Wd
f
RRNC
f,WREG
57
SE
58
SETM
RRNC
SE
SETM
Ws,Wd
Ws,Wnd
f
SETM
WREG
59
SL
SETM
Ws
SL
f
SL
f,WREG
SL
Ws,Wd
SL
Wb,Wns,Wnd
60
SUB
SL
Wb,#lit5,Wnd
SUB
f
SUB
f,WREG
SUB
#lit10,Wn
SUB
Wb,Ws,Wd
61
SUBB
SUB
SUBB
Wb,#lit5,Wd
f
SUBB
f,WREG
SUBB
#lit10,Wn
SUBB
Wb,Ws,Wd
62
SUBR
SUBB
SUBR
Wb,#lit5,Wd
f
SUBR
f,WREG
SUBR
Wb,Ws,Wd
SUBR
Wb,#lit5,Wd
63
SUBBR
SUBBR f
SUBBR f,WREG
SUBBR Wb,Ws,Wd
64
SWAP
SUBBR Wb,#lit5,Wd
SWAP.b Wn
SWAP
Wn
65
TBLRDH TBLRDH Ws,Wd
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
f = Rotate Right (No Carry) f
WREG = Rotate Right (No Carry) f
Wd = Rotate Right (No Carry) Ws
Wnd = sign-extended Ws
f = 0xFFFF
WREG = 0xFFFF
Ws = 0xFFFF
f = Left Shift f
WREG = Left Shift f
Wd = Left Shift Ws
Wnd = Left Shift Wb by Wns
Wnd = Left Shift Wb by lit5
f = f – WREG
WREG = f – WREG
Wn = Wn – lit10
Wd = Wb – Ws
Wd = Wb – lit5
f = f – WREG – (C)
WREG = f – WREG – (C)
Wn = Wn – lit10 – (C)
Wd = Wb – Ws – (C)
Wd = Wb – lit5 – (C)
f = WREG – f
WREG = WREG – f
Wd = Ws – Wb
Wd = lit5 – Wb
f = WREG – f – (C)
WREG = WREG – f – (C)
Wd = Ws – Wb – (C)
Wd = lit5 – Wb – (C)
Wn = nibble swap Wn
Wn = byte swap Wn
Read Prog<23:16> to Wd<7:0>
# of # of Status Flags
Words Cycles Affected
1
2
None
1
2
None
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
C,N,Z
1
1
None
1
1
None
1
1
None
1
1
C,N,OV,Z
1
1
C,N,OV,Z
1
1
C,N,OV,Z
1
1
N,Z
1
1
N,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
1
1
C,DC,N,OV,Z
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
2
None
DS70592C-page 234
© 2011 Microchip Technology Inc.