English
Language : 

PIC32MX320F032H_11 Datasheet, PDF (141/214 Pages) Microchip Technology – High-Performance, General Purpose and USB, 32-bit Flash Microcontrollers
PIC32MX3XX/4XX
27.0 INSTRUCTION SET
The PIC32MX3XX/4XX family instruction set complies
with the MIPS32 Release 2 instruction set architecture.
PIC32MX does not support the following features:
• CoreExtend instructions
• Coprocessor 1 instructions
• Coprocessor 2 instructions
Table 27-1 provides a summary of the instructions that
are implemented by the PIC32MX3XX/4XX family
core.
Note:
Refer to “MIPS32® Architecture for Pro-
grammers Volume II: The MIPS32®
Instruction Set” at www.mips.com for
more information.
TABLE 27-1:
Instruction
ADD
ADDI
ADDIU
ADDU
AND
ANDI
B
BAL
BEQ
MIPS32® INSTRUCTION SET
Description
Integer Add
Integer Add Immediate
Unsigned Integer Add Immediate
Unsigned Integer Add
Logical AND
Logical AND Immediate
Unconditional Branch
(Assembler idiom for: BEQ r0, r0, offset)
Branch and Link
(Assembler idiom for: BGEZAL r0, offset)
Branch on Equal
BEQL
Branch on Equal Likely(1)
BGEZ
BGEZAL
BGEZALL
Branch on Greater Than or Equal to Zero
Branch on Greater Than or Equal to Zero and Link
Branch on Greater Than or Equal to Zero and Link
Likely(1)
BGEZL
Branch on Greater Than or Equal to Zero Likely(1)
BGTZ
BGTZL
Branch on Greater Than Zero
Branch on Greater Than Zero Likely(1)
BLEZ
Branch on Less Than or Equal to Zero
Note 1: This instruction is deprecated and should not be used.
Function
Rd = Rs + Rt
Rt = Rs + Immed
Rt = Rs +U Immed
Rd = Rs +U Rt
Rd = Rs & Rt
Rt = Rs & (016 || Immed)
PC += (int)offset
GPR[31] = PC + 8
PC += (int)offset
if Rs == Rt
PC += (int)offset
if Rs == Rt
PC += (int)offset
else
Ignore Next Instruction
if !Rs[31]
PC += (int)offset
GPR[31] = PC + 8
if !Rs[31]
PC += (int)offset
GPR[31] = PC + 8
if !Rs[31]
PC += (int)offset
else
Ignore Next Instruction
if !Rs[31]
PC += (int)offset
else
Ignore Next Instruction
if !Rs[31] && Rs != 0
PC += (int)offset
if !Rs[31] && Rs != 0
PC += (int)offset
else
Ignore Next Instruction
if Rs[31] || Rs == 0
PC += (int)offset
© 2011 Microchip Technology Inc.
DS61143H-page 141