MA300012 Microchip Technology, MA300012 Datasheet - Page 36

MODULE DSPIC30F SAMPLE 64QFP

MA300012

Manufacturer Part Number
MA300012
Description
MODULE DSPIC30F SAMPLE 64QFP
Manufacturer
Microchip Technology
Datasheets

Specifications of MA300012

Module/board Type
dsPIC30F Plug-in Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
DM240001
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
dsPIC30F
10.0
10.1
The dsPIC30F instruction set provides a broad suite of
instructions, which supports traditional microcontroller
applications, and a class of instructions, which
supports math intensive applications. Since almost all
of the functionality of the PICmicro instruction set has
been maintained, this hybrid instruction set allows a
friendly DSP migration path for users already familiar
with the PICmicro
10.2
The dsPIC30F instruction set contains 84 instructions,
which can be grouped into the ten functional categories
shown in Table 10-1. Table 10-2 defines the symbols
used in the instruction summary tables, Table 10-3
through Table 10-12. These tables define the syntax,
description, storage and execution requirements
for each instruction. Storage requirements are repre-
sented in 24-bit instruction words, and execution
requirements are represented in instruction cycles.
Most instructions have several different addressing
modes and execution flows, which require different
instruction variants. For instance, there are six unique
ADD instructions and each instruction variant has its
own instruction encoding.
TABLE 10-1:
DS70043F-page 34
Move Instructions
Math Instructions
Logic Instructions
Rotate/Shift Instructions
Bit Instructions
Compare/Skip Instructions
Program Flow Instructions
Shadow/Stack Instructions
Control Instructions
DSP Instructions
Functional Group
dsPIC30F INSTRUCTION SET
Introduction
Instruction Set Overview
®
dsPIC30F INSTRUCTION
GROUPS
microcontroller.
Summary Table
Table 10-10
Table 10-12
Table 10-11
Table 10-3
Table 10-4
Table 10-5
Table 10-6
Table 10-7
Table 10-8
Table 10-9
10.2.1
As the instruction summary tables show, most
instructions execute in a single cycle, with the following
exceptions:
• Instructions DO, MOV.D, POP.D, PUSH.D,
• Instructions DIVF, DIV.S, DIV.U are single-
• Instructions that change the program counter also
• The RETFIE, RETLW and RETURN are a
10.2.2
As the instruction summary tables show, almost all
instructions consume one instruction word (24 bits),
with the exception of the CALL, DO and GOTO
instructions, which are flow instructions listed in
Table 10-9. These instructions require two words of
memory because their opcodes embed large literal
operands.
TBLRDH, TBLRDL, TBLWTH and TBLWTL
require 2 cycles to execute.
cycle instructions, which should be executed 18
consecutive times as the target REPEAT
instruction.
require 2 cycles to execute, with the extra cycle
executed as a NOP. SKIP instructions, which skip
over a 2-word instruction, require 3 instruction
cycles to execute, with 2 cycles executed as a
NOP.
special case of an instruction that changes the
program counter. These execute in 3 cycles,
unless an exception is pending, and then they
execute in 2 cycles.
Note:
MULTI-CYCLE INSTRUCTIONS
MULTI-WORD INSTRUCTIONS
Instructions that access program memory
as data, using Program Space Visibility,
incur some cycle count overhead. See the
dsPIC30F Family Reference Manual
(DS70046) for details.
© 2005 Microchip Technology Inc.

Related parts for MA300012