English
Language : 

PIC24HJ64GP206A-I Datasheet, PDF (230/304 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
12
BTST
BTST
f,#bit4
BTST.C Ws,#bit4
BTST.Z Ws,#bit4
BTST.C Ws,Wb
BTST.Z Ws,Wb
13
BTSTS
BTSTS f,#bit4
BTSTS.C Ws,#bit4
BTSTS.Z Ws,#bit4
14
CALL
CALL
lit23
CALL
Wn
15
CLR
CLR
f
CLR
WREG
CLR
Ws
16
CLRWDT CLRWDT
Bit Test f
Bit Test Ws to C
Bit Test Ws to Z
Bit Test Ws<Wb> to C
Bit Test Ws<Wb> to Z
Bit Test then Set f
Bit Test Ws to C, then Set
Bit Test Ws to Z, then Set
Call subroutine
Call indirect subroutine
f = 0x0000
WREG = 0x0000
Ws = 0x0000
Clear Watchdog Timer
17
COM
COM
f
f=f
COM
f,WREG
WREG = f
18
CP
19
CP0
20
CPB
21
CPSEQ
COM
Ws,Wd
CP
f
CP
Wb,#lit5
CP
Wb,Ws
CP0
f
CP0
Ws
CPB
f
CPB
Wb,#lit5
CPB
Wb,Ws
CPSEQ Wb, Wn
Wd = Ws
Compare f with WREG
Compare Wb with lit5
Compare Wb with Ws (Wb – Ws)
Compare f with 0x0000
Compare Ws with 0x0000
Compare f with WREG, with Borrow
Compare Wb with lit5, with Borrow
Compare Wb with Ws, with Borrow
(Wb – Ws – C)
Compare Wb with Wn, skip if =
22
CPSGT
CPSGT Wb, Wn
Compare Wb with Wn, skip if >
23
CPSLT
CPSLT Wb, Wn
Compare Wb with Wn, skip if <
24
CPSNE
CPSNE Wb, Wn
Compare Wb with Wn, skip if 
25
DAW
26
DEC
27
DEC2
28
DISI
29
DIV
30
EXCH
31
FBCL
32
FF1L
33
FF1R
34
GOTO
DAW
DEC
DEC
DEC
DEC2
DEC2
DEC2
DISI
DIV.S
DIV.SD
DIV.U
DIV.UD
EXCH
FBCL
FF1L
FF1R
GOTO
GOTO
Wn
f
f,WREG
Ws,Wd
f
f,WREG
Ws,Wd
#lit14
Wm,Wn
Wm,Wn
Wm,Wn
Wm,Wn
Wns,Wnd
Ws,Wnd
Ws,Wnd
Ws,Wnd
Expr
Wn
Wn = decimal adjust Wn
f=f–1
WREG = f – 1
Wd = Ws – 1
f=f–2
WREG = f – 2
Wd = Ws – 2
Disable Interrupts for k instruction cycles
Signed 16/16-bit Integer Divide
Signed 32/16-bit Integer Divide
Unsigned 16/16-bit Integer Divide
Unsigned 32/16-bit Integer Divide
Swap Wns with Wnd
Find Bit Change from Left (MSb) Side
Find First One from Left (MSb) Side
Find First One from Right (LSb) Side
Go to address
Go to indirect
# of # of Status Flags
Words Cycles Affected
1
1
Z
1
1
C
1
1
Z
1
1
C
1
1
Z
1
1
Z
1
1
C
1
1
Z
2
2
None
1
2
None
1
1
None
1
1
None
1
1
None
1
1
WDTO,Sleep
1
1
N,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
(2 or 3)
None
1
1
(2 or 3)
None
1
1
(2 or 3)
None
1
1
(2 or 3)
None
1
1
C
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
18
N,Z,C,OV
1
18
N,Z,C,OV
1
18
N,Z,C,OV
1
18
N,Z,C,OV
1
1
None
1
1
C
1
1
C
1
1
C
2
2
None
1
2
None
DS70592B-page 230
Preliminary
 2009 Microchip Technology Inc.