Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 38 © 2005-2011 Microchip Technology Inc.
3.1 INTRODUCTION
The 16-bit MCU and DSC instruction set provides a broad suite of instructions that support
traditional microcontroller applications, and a class of instructions that support math intensive
applications. Since almost all of the functionality of the 8-bit PIC MCU instruction set has been
maintained, this hybrid instruction set allows an easy 16-bit migration path for users already
familiar with the PIC microcontroller.
3.2 INSTRUCTION SET OVERVIEW
Depending on the device family, the 16-bit MCU and DSC instruction set contains up to 84
instructions, which can be grouped into the functional categories shown in Table 3-1. Table 1-2
defines the symbols used in the instruction summary tables, Table 3-2 through Table 3-11. These
tables define the syntax, description, storage and execution requirements for each instruction.
Storage requirements are represented in 24-bit instruction words and execution requirements
are represented in instruction cycles.
Table 3-1: Instruction Groups
Most instructions have several different Addressing modes and execution flows, which require
different instruction variants. For instance, depending on the device family, there are up to six
unique ADD instructions and each instruction variant has its own instruction encoding. Instruction
format descriptions and specific instruction operation are provided in
Section 5. “Instruction
Descriptions”. Additionally, a composite alphabetized instruction set table is provided in
Section 7. “Reference”.
Functional Group Summary Table Page Number
Move Instructions Table 3-2 40
Math Instructions Table 3-3 41
Logic Instructions Table 3-4 43
Rotate/Shift Instructions Table 3-5 44
Bit Instructions Table 3-6 45
Compare/Skip and Compare/Branch Instructions Table 3-7 46
Program Flow Instructions Table 3-8 47
Shadow/Stack Instructions Table 3-9 49
Control Instructions Table 3-10 49
DSP Instructions
(1)
Table 3-11 50
Note 1: DSP instructions are only available in the dsPIC30F, dsPIC33F, and dsPIC33E
device families.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh