TMS320C54x DSP Mnemonic Instruction Set
TMS320C54x DSP Mnemonic Instruction Set
Reference Set
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products
or to discontinue any product or service without notice, and advise customers to obtain the latest
version of relevant information to verify, before placing orders, that information being relied on
is current and complete. All products are sold subject to the terms and conditions of sale supplied
at the time of order acknowledgement, including those pertaining to warranty, patent
infringement, and limitation of liability.
In order to minimize risks associated with the customer’s applications, adequate design and
operating safeguards must be provided by the customer to minimize inherent or procedural
hazards.
TI assumes no liability for applications assistance or customer product design. TI does not
warrant or represent that any license, either express or implied, is granted under any patent right,
copyright, mask work right, or other intellectual property right of TI covering or relating to any
combination, machine, or process in which such semiconductor products or services might be
or are used. TI’s publication of information regarding any third party’s products or services does
not constitute TI’s approval, warranty or endorsement thereof.
This book uses a shortened form of the device name, ’54x, to refer to all mem-
bers of the device family and as an aid in readability. For a summary of updates
in this book, see Appendix E, Summary of Updates in This Document.
iii
How to Use This Manual / Notational Conventions
Notational Conventions
This book uses the following conventions.
LMS is the instruction, and it has two parameters, Xmem and Ymem.
When you use LMS, the parameters should be actual dual data-memory
operand values. A comma and a space (optional) must separate the two
values.
iv
Notational Conventions / Related Documentation From Texas Instruments
vi
Related Documentation From Texas Instruments / Trademarks
Trademarks
HP-UX is a trademark of Hewlett-Packard Company.
t
DSP Solutions http://www.ti.com/dsps
320 Hotline On-line http://www.ti.com/sc/docs/dsps/support.htm
- Asia-Pacific
Literature Response Center +852 2 956 7288 Fax: +852 2 956 2200
Hong Kong DSP Hotline +852 2 956 7268 Fax: +852 2 956 1002
Korea DSP Hotline +82 2 551 2804 Fax: +82 2 551 2828
Korea DSP Modem BBS +82 2 551 2914
Singapore DSP Hotline Fax: +65 390 7179
Taiwan DSP Hotline +886 2 377 1450 Fax: +886 2 377 2718
Taiwan DSP Modem BBS +886 2 376 2592
Taiwan DSP Internet BBS via anonymous ftp to ftp://dsp.ee.tit.edu.tw/pub/TI/
- Japan
Product Information Center +0120-81-0026 (in Japan) Fax: +0120-81-0036 (in Japan)
+03-3457-0972 or (INTL) 813-3457-0972 Fax: +03-3457-1259 or (INTL) 813-3457-1259
DSP Hotline +03-3769-8735 or (INTL) 813-3769-8735 Fax: +03-3457-7071 or (INTL) 813-3457-7071
DSP BBS via Nifty-Serve Type “Go TIASP”
- Documentation
When making suggestions or reporting errors in documentation, please include the following information that is on the title
page: the full title of the book, the publication date, and the literature number.
Mail: Texas Instruments Incorporated Email: dsph@ti.com
Technical Documentation Services, MS 702
P.O. Box 1443
Houston, Texas 77251-1443
Note: When calling a Literature Response Center to order documentation, please specify the literature number of the
book.
viii
Contents
Contents
D Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Defines terms and abbreviations used throughout this book.
ix
Figures
Figures
C–1 Interrupt Flag Register (IFR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
C–2 Interrupt Mask Register (IMR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-4
C–3 Processor Mode Status Register (PMST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
C–4 Status Register 0 (ST0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
C–5 Status Register 1 (ST1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
x
Tables
Tables
1–1 Instruction Set Symbols and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1–2 Opcode Symbols and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1–3 Instruction Set Notations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
1–4 Operators Used in Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
2–1 Add Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2–2 Subtract Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2–3 Multiply Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2–4 Multiply-Accumulate and Multiply-Subtract Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2–5 Double (32-Bit Operand) Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2–6 Application-Specific Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2–7 AND Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2–8 OR Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2–9 XOR Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2–10 Shift Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2–11 Test Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2–12 Branch Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2–13 Call Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2–14 Interrupt Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2–15 Return Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2–16 Repeat Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2–17 Stack-Manipulating Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2–18 Miscellaneous Program-Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2–19 Load Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
2–20 Store Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2–21 Conditional Store Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2–22 Parallel Load and Store Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2–23 Parallel Load and Multiply Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2–24 Parallel Store and Add/Subtract Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2–25 Parallel Store and Multiply Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
2–26 Miscellaneous Load-Type and Store-Type Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
2–27 Multicycle Instructions That Become Single-Cycle Instructions When Repeated . . . . . . 2-19
2–28 Nonrepeatable Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
A–1 Conditions for Conditional Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
A–2 Groupings of Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Contents xi
Tables
xii
Chapter 1
This chapter lists and defines the symbols and abbreviations used in the
instruction set summary and in the individual instruction descriptions. It also
provides an example description of an instruction.
Topic Page
1-1
Instruction Set Symbols and Abbreviations
Table 1–1 through Table 1–4 list the symbols and abbreviations used in the
instruction set summary (Chapter 2) and in the individual instruction descrip-
tions (Chapter 4).
Symbol Meaning
A Accumulator A
ASM 5-bit accumulator shift mode field in ST1 (–16 v ASM v 15)
B Accumulator B
v v
BITC 4-bit value that determines which bit of a designated data memory value is tested by the test bit
instruction (0 BITC 15)
1-2
Instruction Set Symbols and Abbreviations
Symbol Meaning
N Designates the status register modified in the RSBX, SSBX, and XC instructions:
N=0 Status register ST0
N=1 Status register ST1
Symbol Meaning
OVA Overflow flag for accumulator A in ST0
PC Program counter
RC Repeat counter
rnd Round
v v
SBIT 4-bit value that designates the status register bit number modified in the RSBX, SSBX, and
XC instructions (0 SBIT 15)
SP Stack pointer
1-4
Instruction Set Symbols and Abbreviations
Symbol Meaning
ST0, ST1 Status register 0, status register 1
T Temporary register
Xmem 16-bit dual data-memory operand used in dual-operand instructions and some single-operand
instructions
Symbol Meaning
A Data-memory address bit
MMRX 4-bit value that designates one of nine memory-mapped registers (0 v MMRX v 8)
MMRY 4-bit value that designates one of nine memory-mapped registers (0 v MMRY v 8)
N Single bit
X Data-memory bit
Y Data-memory bit
1-6
Instruction Set Symbols and Abbreviations
Symbol Meaning
|| Parallel instruction
\\ Rotate left
// Rotate right
Note: Unary +, –, and * have higher precedence than the binary forms.
1-8
Example Description of Instruction
- Label
- Command and operands
- Comment
Opcode
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
x x x x x x x x x x x x x x x x
The opcode breaks down the various bit fields that make up each instruction.
See Section 1.1 on page 1-2 for definitions of symbols in the instruction op-
code.
Status Bits An instruction’s execution may be affected by the state of the fields in the status
registers; also it may affect the state of the status register fields. Both the
effects on and the effects of the status register fields are listed in this section.
Description This section describes the instruction execution and its effect on the rest of the
processor or on memory contents. Any constraints on the operands imposed
by the processor or the assembler are discussed. The description parallels
and supplements the information given symbolically in the execution section.
1-10
Example Description of Instruction
Words This field specifies the number of memory words required to store the instruc-
tion and its extension words. For instructions operating in single-addressing
mode, the number of words given is for all modifiers except for long-offset mod-
ifiers, which require one additional word.
Cycles This field specifies the number of cycles required for a given ’54x instruction
to execute as a single instruction with data accesses in DARAM and program
accesses from ROM. Additional details on the number of cycles required for
other memory configurations and repeat modes are given in Chapter 3,
Instruction Classes and Cycles.
Classes This field specifies the instruction class for each syntax of the instruction. See
Chapter 3, Instruction Classes and Cycles, for a description of each class.
Example Example code is included for each instruction. The effect of the code on
memory and/or registers is summarized when appropriate.
The ’54x instruction set can be divided into four basic types of operations:
- Arithmetic operations
- Logical operations
- Program-control operations
- Load and store operations
In this chapter, each of the types of operations is divided into smaller groups
of instructions with similar functions. With each instruction listing, you will find
the best possible numbers for word count and cycle time, and the instruction
class. You will also find a page number that directs you to the appropriate place
in the instruction set of Chapter 4. Also included is information on repeating
a single instruction and a list of nonrepeatable instructions.
Topic Page
2-1
Arithmetic Operations
ADD Smem, TS, src src = src + Smem << TS 1 1 3A, 3B 4-4
ADD Smem, 16, src [ , dst ] dst = src + Smem << 16 1 1 3A, 3B 4-4
ADD Smem [, SHIFT ], src [ , dst ] dst = src + Smem << SHIFT 2 2 4A, 4B 4-4
ADD Xmem, SHFT, src src = src + Xmem << SHFT 1 1 3A 4-4
ADD Xmem, Ymem, dst dst = Xmem << 16 + Ymem << 16 1 1 7 4-4
ADD #lk [, SHFT ], src [ , dst ] dst = src + #lk << SHFT 2 2 2 4-4
ADD #lk, 16, src [ , dst ] dst = src + #lk << 16 2 2 2 4-4
ADD src [ , SHIFT ] [ , dst ] dst = dst + src << SHIFT 1 1 1 4-4
ADD src, ASM [ , dst ] dst = dst + src << ASM 1 1 1 4-4
2-2
Arithmetic Operations
SUB Smem, TS, src src = src – Smem << TS 1 1 3A, 3B 4-187
SUB Smem, 16, src [ , dst ] dst = src – Smem << 16 1 1 3A, 3B 4-187
SUB Smem [ , SHIFT ], src [ , dst ] dst = src – Smem << SHIFT 2 2 4A, 4B 4-187
SUB Xmem, SHFT, src src = src – Xmem << SHFT 1 1 3A 4-187
SUB Xmem, Ymem, dst dst = Xmem << 16 – Ymem << 16 1 1 7 4-187
SUB #lk [ , SHFT ],src [ , dst ] dst = src – #lk << SHFT 2 2 2 4-187
SUB #lk, 16, src [ , dst ] dst = src – #lk <<16 2 2 2 4-187
SUB src[ , SHIFT ] [ , dst ] dst = dst – src << SHIFT 1 1 1 4-187
SUB src, ASM [ , dst ] dst = dst – src << ASM 1 1 1 4-187
MPY Smem, #lk, dst dst = Smem * #lk , T = Smem 2 2 6A, 6B 4-101
MAC Xmem, Ymem, src [ , dst ] dst = src + Xmem * Ymem, 1 1 7 4-82
T = Xmem
MAC Smem, #lk, src [ , dst ] dst = src + Smem * #lk, 2 2 6A, 6B 4-82
T = Smem
MACR Xmem, Ymem, src [ , dst ] dst = rnd(src + Xmem * Ymem), 1 1 7 4-82
T = Xmem
2-4
Arithmetic Operations
MACD Smem, pmad, src src = src + Smem * pmad, 2 3 23A, 4-87
T = Smem, (Smem + 1) = Smem 23B
MACP Smem, pmad, src src = src + Smem * pmad, 2 3 22A, 4-89
T = Smem 22B
MAS Xmem, Ymem, src [ , dst ] dst = src – Xmem * Ymem, 1 1 7 4-94
T = Xmem
MASR Xmem, Ymem, src [ , dst ] dst = rnd(src – Xmem * Ymem), 1 1 7 4-94
T = Xmem
2-6
Arithmetic Operations
This section summarizes the logical operation instructions. Table 2–7 through
Table 2–11 list the instructions within the following functional groups:
AND #lk [ , SHFT ], src [ , dst ] dst = src & #lk << SHFT 2 2 2 4-11
AND #lk, 16, src [ , dst ] dst = src & #lk << 16 2 2 2 4-11
AND src [ , SHIFT ] [ , dst ] dst = dst & src << SHIFT 1 1 1 4-11
ANDM #lk, Smem Smem = Smem & #lk 2 2 18A, 18B 4-13
† Values for words (W) and cycles assume the use of DARAM for data. Add 1 word and 1 cycle when using long-offset indirect
addressing or absolute addressing with an Smem.
OR #lk [ , SHFT ], src [ , dst ] dst = src | #lk << SHFT 2 2 2 4-123
2-8
Logical Operations
XOR #lk [, SHFT, ], src [ , dst ] dst = src ^ #lk << SHFT 2 2 2 4-201
XOR #lk, 16, src [ , dst ] dst = src ^ #lk << 16 2 2 2 4-201
XOR src [, SHIFT] [ , dst ] dst = dst ^ src << SHIFT 1 1 1 4-201
SFTA src, SHIFT [ , dst ] dst = src << SHIFT {arithmetic shift} 1 1 1 4-155
SFTL src, SHIFT [ , dst ] dst = src << SHIFT {logical shift} 1 1 1 4-158
† Values for words (W) and cycles assume the use of DARAM for data.
BC[D] pmad, cond [ , cond [ , cond ] ] if (cond(s)) then PC = pmad(15–0) 2 5‡/3§/ 31A 4-18
[3¶]
2-10
Program-Control Operations
CC[D] pmad, cond [ , cond [ , cond ]] if (cond(s)) then – –SP, 2 5‡/3§/ 31B 4-29
PC + 2[4¶] = TOS, [3¶]
PC = pmad(15–0)
RC[D] cond [ , cond [ , cond ] ] if (cond(s)) then PC = TOS, ++SP 1 5‡/3§/[3¶] 32 4-133
2-12
Program-Control Operations
2-14
Load and Store Operations
STH src, Smem Smem = src << –16 1 1 10A, 10B 4-169
STH src, ASM, Smem Smem = src << (ASM – 16) 1 1 10A, 10B 4-169
STH src, SHFT, Xmem Xmem = src << (SHFT – 16) 1 1 10A 4-169
STH src [ , SHIFT ], Smem Smem = src << (SHIFT – 16) 2 2 11A, 11B 4-169
STL src, ASM, Smem Smem = src << ASM 1 1 10A, 10B 4-172
STL src, SHFT, Xmem Xmem = src << SHFT 1 1 10A, 10B 4-172
STL src [ , SHIFT ], Smem Smem = src << SHIFT 2 2 11A, 11B 4-172
SACCD src, Xmem, cond If (cond) Xmem = src << (ASM – 16) 1 1 15 4-152
2-16
Load and Store Operations
2-18
Repeating a Single Instruction
The ’54x includes repeat instructions that cause the next instruction to be re-
peated. The number of times for the instruction to be repeated is obtained from
an operand of the instruction and is equal to this operand + 1. This value is
stored in the 16-bit repeat counter (RC) register. You cannot program the value
in the RC register; it is loaded by the repeat instructions only. The maximum
number of executions of a given instruction is 65 536. An absolute program or
data address is automatically incremented when the single-repeat feature is
used.
Once a repeat instruction is decoded, all interrupts, including NMI but not RS,
are disabled until the completion of the repeat loop. However, the ’54x does
respond to the HOLD signal while executing a repeat loop—the response de-
pends on the value of the HM bit of status register 1 (ST1).
The repeat function can be used with some instructions, such as multiply/
accumulate and block moves, to increase the execution speed of these
instructions. These multicycle instructions (Table 2–27) effectively become
single-cycle instructions after the first iteration of a repeat instruction.
Table 2–27. Multicycle Instructions That Become Single-Cycle Instructions When Repeated
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Instruction
ÁÁÁÁÁ
Description # Cycles†
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
FIRS
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MACD
ÁÁÁÁÁ
Symmetrical FIR filter
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MACP
ÁÁÁÁÁ
Multiply and move result in accumulator 3
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
MVDK Data-to-data move 2
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MVDM
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MVDP
ÁÁÁÁÁ
Data-to-MMR move
Data-to-program move
2
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MVKD
ÁÁÁÁÁ
Data-to-data move 2
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
MVMD MMR-to-data move 2
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MVPD
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
READA
ÁÁÁÁÁ
Program-to-data move
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
WRITA
ÁÁÁÁÁ
Write data memory to program memory 5
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
InstructionÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ADDM Add long constant to data memory
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ANDM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
AND data memory with long constant
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
B[D] Unconditional branch
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
BACC[D] Branch to accumulator address
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
BANZ[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
BC[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Branch on auxiliary register not 0
Conditional branch
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
CALA[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Call to accumulator address
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
CALL[D] Unconditional call
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
CC[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
CMPR
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Conditional call
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
DST
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Long word (32-bit) store
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
FB[D] Far branch unconditionally
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
FBACC[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
FCALA[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Far branch to location specified by accumulator
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
FCALL[D] ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Far call unconditionally
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
FRET[D] Far return
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
FRETE[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Enable interrupts and far return from interrupt
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IDLE Idle instructions
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
INTR Interrupt trap
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
LD ARP
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
LD DP
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Load auxiliary register pointer (ARP)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
MVMM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Move memory-mapped register (MMR) to another MMR
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ORM OR data memory with long constant
2-20
Repeating a Single Instruction
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table 2–28. Nonrepeatable Instructions (Continued)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Instruction
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RC[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Description
Conditional return
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RESET
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Software reset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
RET[D] Unconditional return
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RETE[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RETF[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Return from interrupt
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RND ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Round accumulator
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
RPT Repeat next instruction
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
RPTB[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Block repeat
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
RPTZ Repeat next instruction and clear accumulator
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
RSBX Reset status register bit
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
SSBX
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
TRAP
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Set status register bit
Software trap
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
XC
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Conditional execute
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
XORM XOR data memory with long constant
The tables in this chapter show the number of cycles required for a given ’54x
instruction to execute in a given memory configuration when executed as a
single instruction and when executed in the repeat mode. Tables are also pro-
vided for a single data-memory operand access used with a long constant. The
column headings in the tables indicate the program source location. These
headings are defined as follows:
ROM The instruction executes from internal program ROM.
SARAM The instruction executes from internal single-access RAM.
DARAM The instruction executes from internal dual-access RAM.
External The instruction executes from external program memory.
The number of cycles required for each instruction is given in terms of the
processor machine cycles (the CLKOUT period). The additional wait states for
program/data memory accesses and I/O accesses are defined as follows:
d Data-memory wait states—the number of additional clock cycles the
device waits for external data-memory to respond to an access.
3-1
Instruction Classes and Cycles
io I/O wait states—the number of additional clock cycles the device waits
for an external I/O to respond to an access.
These variables can also use the subscripts src, dst, and code to indicate
source, destination, and code, respectively.
All reads from external memory take at least one instruction cycle to complete,
and all writes to external memory take at least two instruction cycles to com-
plete. These external accesses take longer if additional wait-state cycles are
added using the software wait-state generator or the external READY input.
However, internal to the CPU all writes to external memory take only one cycle
as long as no other access to the external memory is in process at the same
time. This is possible because the instruction pipeline takes only one cycle to
request an external write access, and the external bus interface unit completes
the write access independently.
- At least five instructions following the current instruction are fetched from
the same memory section (internal or external) as the current instruction,
except in instructions that cause a program counter (PC) discontinuity,
such as a branch or call.
3-2
Class 1
Cycles ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁÁÁ DARAM External
ÁÁÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
n n n+p
Cycles ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Cycles for a Single Execution
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Cycles for a Repeat Execution
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁÁ DARAM
Program
External
ÁÁÁÁÁÁÁÁÁ
n+1
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ n+1 n+1+2p
3-4
Class 3A
Class 3A 1 word, 1 cycle. Single data-memory (Smem or Xmem) read operand or MMR read
operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
LD T/DP/ASM/ARP MPY[R] SUB
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁ
ÁÁÁÁÁÁ
Smem
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
1 1, 2† 1+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM 1, 2† 1 1+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
DROM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
1, 2†
1+d
1
1+d
1+p
2+d+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
1 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM n n, n+1† n+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
n, n+1†
n, n+1†
n
n
n+p
n+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
n+nd n+nd n+1+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊ n n n+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
Class 3B 2 words, 2 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Smem
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ROM/SARAM DARAM
2, 3†
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2 2+2p
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2, 3† 2 2+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DROM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
2, 3†
2+d
2
2+d
2+2p
3+d+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
3-6
Class 4A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Operand
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2
2, 3†
2, 3†
2
2+2p
2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2, 3† 2 2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2+d 2+d 3+d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2
† Operand and code in same memory block
2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM n+1 n+1, n+2† n+1+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
n+1, n+2†
n+1, n+2†
n+1
n+1
n+1+2p
n+1+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
n+1+nd n+1+nd n+2+nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊ n+1 n+1 n+1+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
Class 4B 3 words, 3 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics ADD LD SUB
Cycles
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ
ÁÁÁÁÁÁÁ
Smem
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3, 4† 3+3p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 3, 4† 3 3+3p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DROM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
3, 4†
3+d
3
3+d
3+3p
4+d+3p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
3 3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
3-8
Class 5A / Class 5B
Class 5A 1 word, 3 cycles. Single data-memory (Smem) read operand (with DP destination for
load instruction).
Mnemonics LD RPT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3 3+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3
ÁÁÁÁÁÁÁ
3
3
3
3+p
3+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3+d 3+d 3+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊ 3 3 3+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 5B 2 words, 4 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing (with DP destination for load instruction).
Mnemonics LD RPT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 4 4 4+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
4
ÁÁÁÁÁÁÁ
4
4
4
4+2p
4+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
4+d 4+d 4+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊ 4 4 4+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 6A 2 words, 2 cycles. Single data-memory (Smem) read operand and single
long-immediate operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics BITF CMPM MAC MPY
Cycles
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2 2, 3† 2+2p
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2, 3†
2, 3†
2
2
2+2p
2+2p
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2+d 2+d 3+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁÁ
ÁÁÁ
Smem
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ROM/SARAM DARAM
n+1, n+2†
External
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1 n+1+2p
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1, n+2† n+1 n+1+2p
ÁÁÁÁÁÁ
ÁÁÁ
DROM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n+1, n+2†
n+1+nd
n+1
n+1+nd
n+1+2p
n+2+nd+2p
ÁÁÁÁÁÁ
ÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n+1 n+1 n+1+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-10
Class 6B
Class 6B 3 words, 3 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing and single long-immediate operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics BITF CMPM MAC MPY
Cycles
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3, 4† 3+3p
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
SARAM
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3, 4†
3, 4†
3
3
3+3p
3+3p
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3+d 3+d 4+d+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊ 3 3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 7 1 word, 1 cycle. Dual data-memory (Xmem and Ymem) read operands.
3-12
Class 7
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Xmem ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
Ymem
ÁÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
1
1, 2†
1, 2†
1, 2†
1+p
1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
DROM 1, 2† 1, 2† 1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
1+d
1, 2†
1+d, 2||
1
2+d+p
1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1, 2†, 3‡ 1, 2† 1+p, 2k
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
1, 2† 1 1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁ
DROM ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
1+d, 2||
1, 2†
1+d
1
2+d+p
1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ 1, 2† 1, 2† 1+p, 2k
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
1+p, 2k
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM 1, 2†, 3‡ 1, 2†
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
1+d, 2||
1+d
1+d
1+d
2+d+p
2+d+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1+d, 2|| 1+d 2+d+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM 1+d, 2|| 1+d 2+d+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2+2d
1
2+2d
1
3+2d+p
1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1, 2† 1 1+p
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM 1, 2† 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 1+d 1+d 2+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory
k Two operands in same memory block when
p=0
◊ Add one cycle for peripheral memory-
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
block
|| One operand and code in same memory mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
block when d = 0
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Xmem ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
Ymem
ÁÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
n
n, n+1†
n, n+1†
n, n+1†
n+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
DROM n, n+1† n, n+1† n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
n+nd
n, n+1†
n+nd, 1+n||
n
n+1+nd+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n, n+1†, 2n#,
2n+1‡
n, 2n# n+p, 2n (p = 0)#,
2n–1+p (p ≥ 1)#
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External n+nd, n+1|| n+nd n+1+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM DARAM n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n, n+1†, 2n#,
2n+1‡
n, 2n# n+p, 2n (p = 0)#,
2n–1+p (p ≥ 1)#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n+nd, n+1|| n+nd n+1+nd+p
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External DARAM n+nd n+nd n+1+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+nd, n+1|| n+nd n+1+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
n+nd, n+1||
2n+2nd
n+nd
2n+2nd
n+1+nd+p
2n+1+2nd+p
ÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
n n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
n+nd n+nd n+1+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block || One operand and code in same memory
‡ Two operands and code in same memory block when d = 0
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
block ◊ Add n cycles for peripheral memory-
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block mapped access.
3-14
Class 8
Class 8 2 words, 3 cycles. Dual data-memory (Xmem and Ymem) read operands and a single
program-memory (pmad) operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics FIRS
Cycles
ÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
pmad Xmem Ymem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM DARAM 3, 4† 3, 4† 3+2p,
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
4+2p†
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ 3, 4† 3, 4† 3+2p,
4+2p†
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
External 3+d, 4+d† 3+d, 4+d† 3+d+2p,
4+d+2p†
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ DARAM
DROM
3 3 3+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
SARAM/ 3, 4‡ 3, 4‡ 3+2p,
DROM 4+2p‡
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
External 3+d 3+d 3+d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
External DARAM 3+d 3+d 3+d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
DROM
3+d 3+d 3+d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM/ DARAM
ÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
DARAM
4+2d
3
4+2d
3
4+2d+2p
3+2p
ÁÁÁÁ
ÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
DROM
3, 4§ 3, 4§ 3+2p,
4+2p§
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
External 3+d 3+d 3+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Xmem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Xmem and Ymem in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
§ Ymem and pmad in same memory block
¶ Xmem, Ymem, and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution (Continued)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
pmad
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Xmem
ÁÁÁÁÁ
ÁÁÁÁ
Ymem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM ÁÁÁÁ
SARAM/ DARAM
ÁÁÁÁÁ
ÁÁÁÁ
3, 4† 3, 4† 3+2p,
4+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁ
3, 4†, 5¶ 3, 4†, 5¶ 3+2p,
ÁÁ
DROM 4+2p†,
5+2p¶
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
External 3+d, 4+d† 3+d, 4+d† 3+d+2p,
4+d+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁ
DARAM 3+d 3+d 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁ
3+d, 4+d§ 3+d, 4+d§ 3+2p,
ÁÁ
DROM 4+d+2p§
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
External ÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
DARAM
External
ÁÁÁÁ
DARAM
4+2d
3+pd
4+2d
3+pd
4+2d+2p
3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
SARAM/
DROM
3+pd 3+pd 3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
External 4+pd+d 4+pd+d 4+pd+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
SARAM/ DARAM
DROM
3+pd 3+pd 3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
SARAM/ 3+pd, 4+pd‡ 3+pd, 4+pd‡ 3+pd+2p,
DROM 4+pd+2p‡
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
External 4+pd+d 4+pd+d 4+pd+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
External DARAM 4+pd+d 4+pd+d 4+pd+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁ
DROM
4+pd+d 4+pd+d 4+pd+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁ
5+pd+2d 5+pd+2d 5+pd+2d
ÁÁ
+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Xmem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Xmem and Ymem in same memory block
§ Ymem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
¶ Xmem, Ymem, and pmad in same memory block
3-16
Class 8
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
ÁÁÁÁÁ Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ROM/
Á
pmad Xmem Ymem SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM DARAM n+2, 2n+2† n+2, 2n+2† n+2+2p,
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
2n+2+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ n+2, 2n+2† n+2, 2n+2† n+2+2p,
2n+2+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á ÁÁÁÁÁÁ ÁÁÁÁÁ
External n+2+nd, n+2+nd, n+2+nd+2p,
2n+2+nd† 2n+2+nd†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
2n+2+nd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
+2p†
Á ÁÁÁÁÁÁ
SARAM/ DARAM n+2 n+2 n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁ
DROM
Á
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ n+2, 2n+2‡ n+2, 2n+2‡ n+2+2p,
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Á ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DROM
ÁÁÁÁÁ
External n+2+nd n+2+nd
2n+2+2p‡
n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Á ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁ
DARAM n+2+nd n+2+nd n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ n+2+nd n+2+nd n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2n+2+2nd 2n+2+2nd 2n+2+2nd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ DARAM DARAM n+2 n+2 n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM/ n+2, 2n+2§ n+2, 2n+2§ n+2+2p,
2n+2+2p§
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á ÁÁÁÁÁÁ
ÁÁÁÁÁ
External n+2+nd n+2+nd n+2+nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Xmem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Xmem and Ymem in same memory block
§ Ymem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
¶ Xmem, Ymem, and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution (Continued)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ ROM/
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
pmad Xmem Ymem SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ DARAM n+2, 2n+2† n+2, 2n+2† n+2+2p,
2n+2+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ n+2, 2n+2†, n+2, 2n+2†, n+2+2p,
3n+2¶ 3n+2¶ 2n+2+2p†,
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DROM
3n+2+2p¶
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
External n+2+nd, n+2+nd, n+2+nd+2p,
2n+2+nd† 2n+2+nd† 2n+2+nd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
+2p†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
External DARAM n+2+nd n+2+nd n+2+nd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
n+2+nd, n+2+nd, n+2+nd+2p,
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁ
2n+2+nd§ 2n+2+nd§ 2n+2+nd
+2p§
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
2n+2+2nd 2n+2+2nd 2n+2+2nd
+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
External
ÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
DARAM n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
DROM
n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
2n+2+npd+nd 2n+2+npd+nd 2n+2+npd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
DARAM n+2+npd n+2+npd
+nd+2p
n+2+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/
ÁÁÁÁÁ
n+2+npd, n+2+npd, n+2+npd+2p,
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Á ÁÁÁÁÁ
DROM
ÁÁÁÁÁ
ÁÁÁÁÁ
2n+2+npd‡ 2n+2+npd‡ 2n+2+npd
ÁÁ
+2p‡
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
2n+2+npd+nd 2n+2+npd+nd 2n+2+npd
ÁÁ
+nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Xmem and pmad in same memory block
‡ Xmem and Ymem in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
§ Ymem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
¶ Xmem, Ymem, and pmad in same memory block
3-18
Class 8
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution (Continued)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ ROM/
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
Á ÁÁÁÁÁÁ
ÁÁÁÁÁ
pmad Xmem Ymem SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ Á
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External DARAM 2n+2+npd+nd 2n+2+npd+nd 2n+2+npd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ Á ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ Á
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM/ 2n+2+npd+nd 2n+2+npd+nd 2n+2+npd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ Á
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM +nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
Á ÁÁÁÁÁÁ ÁÁÁÁÁ
External 3n+2+npd+2nd 3n+2+npd+2nd 3n+2+npd
+2nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Xmem and pmad in same memory block
‡ Xmem and Ymem in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
§ Ymem and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
¶ Xmem, Ymem, and pmad in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Lmem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
1
1, 2†
1, 2† 1+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM 1, 2† 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ 2+2d 2+2d 3+2d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Lmem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n n, n+1† n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
SARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n, n+1†
n, n+1†
n
n
n+p
n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
External 2n+2nd 2n+2nd 1+2n+2nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
3-20
Class 9B
Class 9B 2 words, 2 cycles. Single long-word data-memory (Lmem) read operand using long-
offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
DADST DRSUB DSUB
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Lmem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 2 2, 3† 2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2, 3†
ÁÁÁÁÁÁÁ
2, 3†
2
2
2+2p
2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3+2d 3+2d 4+2d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 10A 1 word, 1 cycle. Single data-memory (Smem or Xmem) write operand or an MMR
write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ST STL
Cycles
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 1 1 1+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
SARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
1, 2†
1
1
1
1+p
4+d+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
MMR◊ 1 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Smem
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ROM/SARAM
n
DARAM
n
External
n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
n, n+1† n n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n–1+(n–1)d 2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ n n n+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
3-22
Class 10B
Class 10B 2 words, 2 cycles. Single data-memory (Smem or Xmem) write operand using long-
offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics CMPS ST STH STL
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 2 2 2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2, 3†
ÁÁÁÁÁÁÁ
2
2
2
2+2p
5+d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2
2, 3†
2 2+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2 2 5+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ 2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1 n+1 n+1+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1, n+2† n+1 n+1+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2n+(n–1)d 2n+(n–1)d 2n+3+nd+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
n+1 n+1 n+1+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-24
Class 11B
Class 11B 3 words, 3 cycles. Single data-memory (Smem) write operand using long-offset indi-
rect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics STH STL
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3 3+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3, 4†
ÁÁÁÁÁÁÁ
3
3
3
3+3p
6+d+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3 3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Class 12A 2 words, 2 cycles. Single data-memory (Smem) write operand or MMR write operand.
Mnemonics ST STM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2
2, 3†
2 2+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2 2 5+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ 2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2n 2n 2n+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2n, 2n+1† 2n 2n+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2n+(n–1)d 2n+(n–1)d 2n+3+nd+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2n 2n 2n+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-26
Class 12B
Class 12B 3 words, 3 cycles. Single data-memory (Smem) write operand using long-offset
indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics ST
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3 3+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3, 4†
ÁÁÁÁÁÁÁ
3
3
3
3+3p
6+d+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3 3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Class 13A 1 word, 2 cycles. Single long-word data-memory (Lmem) write operand.
Mnemonics DST
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Lmem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ 2 2 2+p
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2, 4† 2 2+p
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3+d 3+d 8+2d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ 2 2 2+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Lmem ROM/SARAM DARAM External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2n 2n 2n+p
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2n, 2n+2†
4n–1+(2n–1)d
2n
4n–1+(2n–1)d
2n+p
4n+4+2nd+p
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
2n 2n 2n+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-28
Class 13B
Class 13B 2 words, 3 cycles. Single long-word data-memory (Lmem) write operand using long-
offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics DST
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Lmem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3 3+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3, 5†
ÁÁÁÁÁÁÁ
4+d
3
4+d
3+2p
9+2d+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Class 14 1 word, 1 cycle. Dual data-memory (Xmem and Ymem) read and write operands.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ
Xmem ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Ymem ROM/SARAM
Program
DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
1
1, 2†
1, 2†
1, 2†
1+p
1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
1 1, 2† 4+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM DARAM 1, 2† 1 1+p
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 1, 2†, 3‡ 1 1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 1, 2† 1 4+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
DROM
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
1, 2†
1, 2†
1
1
1+p
1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
1, 2†
1+d
1
1+d
4+d+p
2+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ 1+d, 2+d†
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 1+d 2+d+p
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 1+d 1+d 5+2d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ DARAM 1 1, 2† 1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 1, 2† 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 1 1 4+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3-30
Class 14
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Xmem ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
Ymem
ÁÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
n
n, n+1†
n, n+1†
n, n+1†
n+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n–1+(n–1)d 2n–1+(n–1)d,
2n+(n–1)d†
2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
SARAM
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n, n+1†, 2n#, n, 2n# n+p, 2n+p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n+1‡
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n–1+(n–1)d, 2n–1+(n–1)d, 2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n+(n–1)d† 2n+(n–1)d†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM DARAM n, n+1† n, n+1† n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n–1+(n–1)d,
2n+(n–1)d†
2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ n+nd n+nd n+1+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
n+nd, n+1+nd† n+nd n+1+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4n–3+(2n–1)d 4n–3+(2n–1)d 4n+1+2nd+p
ÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
n
n, n+1†
n, 2n†
n
n+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n–1+(n–1)d 2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block # Two operands in same memory block
‡ Two operands and code in same memory ◊ Add n cycles for peripheral memory-
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
block mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Xmem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
1
1, 2†
1 1+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 1 1 4+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ 1 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Xmem ROM/SARAM DARAM External
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n n n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n, n+1† n n+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
2n–1+(n–1)d 2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
n n n+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-32
Class 16A
Class 16A 1 word, 1 cycle. Single data-memory (Smem) read operand or MMR read operand,
and a stack-memory write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics PSHD PSHM
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem Stack ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 1 1, 2† 1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
1, 2†
1
1, 2†
1, 2†
1+p
4+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 1, 2† 1 1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1, 2†, 3‡ 1 1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
1, 2†
1, 2†
1
1
4+d+p
1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1, 2† 1 1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
1, 2†
1+d
1
1+d
4+d+p
2+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 1+d, 2+d† 1+d 2+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 1+d 1+d 5+2d+p
ÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
1
1, 2†
1, 2†
1
1+p
1+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 1 1 4+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
Stack
ÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
n
n, n+1†
n, n+1†
n, n+1†
n+p
n+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
External 2n–1+(n–1)d 2n–1+(n–1)d, 2n+2+nd+p
2n+(n–1)d†
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
n, n+1† n n+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM n, n+1†, 2n#, n, 2n# n+p, 2n+p#
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
2n+1‡
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2n–1+(n–1)d, 2n–1+(n–1)d, 2n+2+nd+p
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
2n+(n–1)d† 2n+(n–1)d†
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM DARAM n, n+1† n, n+1† n+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ n, n+1† n n+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
2n–1+(n–1)d,
2n+(n–1)d†
2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ n+nd n+nd n+1+nd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
n+nd, n+1+nd† n+nd n+1+nd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 4n–3+(2n–1)d 4n–3+(2n–1)d 4n+1+2nd+p
ÁÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
n
n, n+1†
n, 2n†
n
n+p
n+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
External 2n–1+(n–1)d 2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block # Two operands in same memory block
‡ Two operands and code in same memory ◊ Add n cycles for peripheral memory-
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
block mapped access.
3-34
Class 16B
Class 16B 2 words, 2 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing and a stack-memory write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics PSHD
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem Stack ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 2 2, 3† 2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
2, 3†
2
2, 3†
2, 3†
2+2p
5+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2, 3† 2 2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2, 3†, 4‡ 2 2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
DROM
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2, 3†
2, 3†
2
2
5+d+2p
2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2, 3† 2 2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2, 3†
2+d
2
2+d
5+d+2p
3+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2+d, 3+d† 2+d 3+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2+d 2+d 6+2d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
2
2, 3†
2, 3†
2
2+2p
2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2 2 5+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 17A 1 word, 1 cycle. Single data-memory (Smem) write operand or MMR write operand,
and a stack-memory read operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics POPD POPM
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Smem Stack ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 1 1, 2† 1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
1, 2†
1, 2†
1
1
1+p
1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 1+d 1+d 2+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ 1 1, 2† 1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
SARAM
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
1, 2†
1, 2†, 3‡
1, 2†
1
1+p
1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM 1, 2† 1 1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
1+d, 2+d†
1, 2†
1+d
1
2+d+p
1+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM 1 1, 2† 4+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 1, 2† 1 4+d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
1, 2†
1+d
1
1+d
4+d+p
5+2d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
1 1 4+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-36
Class 17A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Stack ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
n
n, n+1†
n, n+1†
n
n+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
n, n+1† n, n+1† n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+nd
n
n+nd
n, 2n†
n+1+nd+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ n, n+1† n, n+1†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n, n+1†, 2n n, 2n n+p, 2n+p
2n+1‡
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
n, n+1† n n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+nd, n+1+nd†
n, n+1†
n+nd
n
n+1+nd+p
n+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2n–1+(n–1)d 2n–1+(n–1)d,
2n+(n–1)d†
2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n–1+(n–1)d,
2n+(n–1)d†
2n–1+(n–1)d,
2n+(n–1)d†
2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n–1+(n–1)d,
2n+(n–1)d†
2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4n–3+((2n–1)d 4n–3+(2n–1)d 4n+1+2nd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n–1+(n–1)d 2n–1+(n–1)d 2n+2+nd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 17B 2 words, 2 cycles. Single data-memory (Smem) write operand using long-offset indi-
rect addressing, and a stack-memory read operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics POPD
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Smem Stack ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 2 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
2, 3†
2, 3†
2
2
2+2p
2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2+d 2+d 3+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ 2 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
2, 3†
2, 3†, 4‡
2, 3†
2
2+2p
2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM 2, 3† 2 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
2+d, 3+d†
2, 3†
2+d
2
3+d+2p
2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM 2 2, 3† 5+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 2, 3† 2 5+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
2, 3†
2+d
2
2+d
5+d+2p
6+2d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
2 2 5+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-38
Class 18A / Class 18B
Class 18A 2 words, 2 cycles. Single data-memory (Smem) read and write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Operand
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2
ÁÁÁÁÁÁÁ
2, 4†
2, 3†
2
2+2p
2+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2+d 2+d 6+2d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 18B 3 words, 3 cycles. Single data-memory (Smem) read and write operand using long-
offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3, 4† 3+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM 3, 5† 3 3+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3+d 7+2d+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
Class 19A 2 words, 2 cycles. Single data-memory (Smem) read operand or MMR read operand,
and single data-memory (dmad) write operand; or single data-memory (dmad) read
operand, and single data-memory (Smem) write operand or MMR write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem dmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 2 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2, 3† 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
2
2
2, 3†
2
5+d+2p
2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
SARAM
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
2, 3†
2, 3†, 4‡
2
2
2+2p
2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2, 3† 2 5+d+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 2, 3† 2 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM DARAM 2, 3‡ 2 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
2, 3†
2, 3†
2
2
2+2p
5+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2, 3†
2+d
2
2+d
2+2p
3+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ 2+d, 3+d†
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2+d 3+d+2p
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2+d 2+d 6+2d+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 2+d 2+d 3+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ DARAM 2 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
2, 3†
2
2
2
2+2p
5+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 2 2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-40
Class 19A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Smem ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
dmad
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1 n+1, n+2† n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1, n+2† n+1, n+2† n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2n+(n–1)d 2n+(n–1)d,
2n+1+(n–1)d†
2n+3+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
n+1
n+1, n+2†
n+1
n+1
n+1+2p
n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2n, 2n+1†,
2n+2‡
2n 2n+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+(n–1)d,
2n+1+(n–1)d†
2n+(n–1)d 2n+3+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+1, n+2† n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
DROM
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1, n+2† n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1, n+2† n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+(n–1)d, 2n+(n–1)d 2n+3+nd+2p
2n+1+(n–1)d†
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+1, n+2† n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1+nd n+1+nd n+1+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1+nd,
n+2nd†
n+1+nd n+1+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4n–2+(2n–1)d 4n–2+(2n–1)d 4n+2+2nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ n+1+nd n+1+nd n+1+nd+2p
ÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+1 n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+1, n+2† n+1 n+1+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+(n–1)d 2n+(n–1)d 2n+3+nd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ n+1 n+1 n+1+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
Class 19B 2 words, 2 cycles. Single data-memory (Smem) read operand using long-offset in-
direct addressing and single data-memory (dmad) write operand, or single data-
memory (dmad) read operand and single data-memory (Smem) write operand using
long-offset indirect addressing.
Mnemonics MVDK MVKD
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem dmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
3
3, 4†
3, 4†
3, 4†
3+3p
3+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
External 3 3, 4† 6+d+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3 3 3+3p
ÁÁÁÁÁ
ÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
3, 4†
3, 4†, 5‡
3
3
3+3p
3+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3, 4† 3 6+d+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3, 4† 3 3+3p
ÁÁÁÁÁ
ÁÁÁÁ
DROM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
3, 4‡
3, 4†
3 3+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 3 3+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3, 4† 3 6+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
3, 4†
3+d
3
3+d
3+3p
4+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 3+d, 4+d† 3+d 4+d+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3+d 3+d 7+2d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3+d 3+d 4+d+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3-42
Class 19B
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier (Continued)
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
Smem
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
MMR◊ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
dmad
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ROM/SARAM
3
DARAM
3, 4†
External
3+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ 3, 4† 3 3+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3 3 6+d+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3 3 3+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
‡ Two operands and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
Class 20A 2 words, 4 cycles. Single data-memory (Smem) read operand and single program-
memory (pmad) write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MVDP
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem pmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 4 4 4+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4
4
4
4
4+2p
6+pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 4, 5† 4 4+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4
4
4
4
4+2p
6+pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
DROM DARAM 4, 5† 4 4+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4
4
4
4
4+2p
6+pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 4+d 4+d 4+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 4+d 4+d 4+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4+d+pd 4+d+pd 6+d+pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
MMR◊
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 4 4 4+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 4 4 4+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4 4 6+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-44
Class 20A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Smem
ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
pmad
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+3 n+3 n+3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+3 n+3 n+3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2n+2+(n–1)pd
n+3
2n+2+(n–1)pd
n+3
2n+4+npd+2p
n+3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+3, 2n+2# n+3, 2n+2# n+3+2p,
2n+2+2p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+2+(n–1)pd 2n+2+(n–1)pd 2n+4+npd+2p
ÁÁÁÁ
ÁÁÁÁ
DROM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
n+3
n+3
n+3
n+3
n+3+2p
n+3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+2+(n–1)pd 2n+2+(n–1)pd 2n+4+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External DARAM n+3+npd n+3+npd n+3+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
n+3+npd
4n+nd+npd
n+3+npd
4n+nd+npd
n+3+npd+2p
4n+2+nd+npd+2p
ÁÁÁÁ
ÁÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+3 n+3 n+3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
n+3
2n+2+(n–1)pd
n+3
2n+2+(n–1)pd
n+3+2p
2n+4+npd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
Class 20B 3 words, 5 cycles. Single data-memory (Smem) read operand using long-offset in-
direct addressing and single program-memory (pmad) write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MVDP
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem pmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 5 5 5+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+3p
7+2pd+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 5, 6† 5 5+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+3p
7+2pd+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
DROM DARAM 5, 6† 5 5+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+3p
7+2pd+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 5+d 5+d 5+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 5+d 5+d 5+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 5+d+2pd 5+d+2pd 7+d+2pd+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁ
MMR◊
ÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 5 5 5+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 5 5 5+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 5 5 7+3pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-46
Class 21A
Class 21A 2 words, 3 cycles. Single program-memory (pmad) read operand and single data-
memory (Smem) write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MVPD
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
3
3
3
3
3+2p
6+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM 3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3 3 6+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
PROM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
3
3
3
3
3+2p
3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3 3 6+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
3+pd 3+pd 3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 3+pd 3+pd 3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3+pd 3+pd 6+d+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3+pd 3+pd 3+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
pmad ÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
Smem
ÁÁÁÁÁÁ ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
n+2
n+2
n+2
n+2
n+2+2p
n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
External 2n+1+(n–1)d 2n+1+(n–1)d 2n+4+nd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
SARAM ÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
n+2
n+2
n+2
n+2
n+2+2p
n+2+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+2, 2n+1# n+2, 2n+1# n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+1+(n–1)d 2n+1+(n–1)d 2n+4+nd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
PROM
ÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
n+2
n+2
n+2
n+2
n+2+2p
n+2+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
SARAM n+2 n+2 n+2+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+1+(n–1)d 2n+1+(n–1)d 2n+4+nd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
External
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
n+2
n+2+npd
n+2
n+2+npd
n+2+2p
n+2+npd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4n–1+(n–1)d
+npd
4n–1+(n–1)d
+npd
4n+2+nd+npd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
3-48
Class 21B
Class 21B 3 words, 4 cycles. Single program-memory (pmad) read operand and single data-
memory (Smem) write operand using long-offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MVPD
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4
4
4
4
4+3p
7+d+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM 4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4 4 7+d+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
PROM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
4
4
4
4
4+3p
4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4 4 7+d+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
4+2pd 4+2pd 4+2pd+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 4+2pd 4+2pd 4+2pd+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4+2pd 4+2pd 7+d+2pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 4+2pd 4+2pd 4+2pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 22A 2 words, 3 cycles. Single data-memory (Smem) read operand and single program-
memory (pmad) read operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MACP
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 3 3, 4† 3+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
3, 4†
3+d
3
3+d
3+2p
4+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM DARAM 3 3, 4† 3+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
3, 4†
3+d
3
3+d
3+2p
4+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
PROM DARAM 3 3, 4† 3+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
3, 4†
3+d
3
3+d
3+2p
4+d+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
3 3 3+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
3+pd
3+pd
3+pd, 4+pd†
3+pd
3+pd+2p
4+pd+2p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 4+d+pd 4+d+pd 4+d+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ 3+pd 3+pd 3+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3-50
Class 22A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
pmad ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
Smem
ÁÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
n+2
n+2, n+3†
n+2, n+3†
n+2
n+2+2p
n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External n+2+nd n+2+nd n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
n+2
n+2
n+2
n+2, n+3†
n+2+2p
n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
n+2, n+3†,
2n+2#
n+2, 2n+2# n+2+2p,
2n+2+2p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External n+2+nd n+2+nd n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
n+2 n+2 n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
PROM DARAM n+2 n+2, n+3† n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
n+2, n+3†
n+2+nd
n+2
n+2+nd
n+2+2p
n+2+nd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
n+2 n+2 n+2+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
External
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
n+2+npd n+2+npd,
n+3+npd†
n+2+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+2+npd n+2+npd n+3+npd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2n+2+nd+npd 2n+2+nd+npd 2n+2+nd+npd
+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
◊ Add n cycles for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Class 22B 3 words, 4 cycles. Single data-memory (Smem) read operand using long-offset in-
direct addressing and single program-memory (pmad) read operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MACP
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 4 4, 5† 4+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
4, 5†
4+d
4
4+d
4+3p
5+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM DARAM 4 4, 5† 4+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
4, 5†
4+d
4
4+d
4+3p
5+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
PROM DARAM 4 4, 5† 4+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
4, 5†
4+d
4
4+d
4+3p
5+d+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
4 4 4+3p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
4+2pd
4+2pd
4+2pd, 5+2pd†
4+2pd
4+2pd+3p
5+2pd+3p
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 5+d+2pd 5+d+2pd 5+d+2pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ 4+2pd 4+2pd 4+2pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
3-52
Class 23A
Class 23A 2 words, 3 cycles. Single data-memory (Smem) read operand, single data-memory
(Smem) write operand, and single program-memory (pmad) read operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics MACD
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 3, 4# 3, 4# 3+2p, 4+2p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
3, 4†
3+d
3, 4†
3+d
3+2p
6+2d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM 3, 4† 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
3, 4#
3+d
3, 4#
3+d
3+2p, 4+2p#
6+2d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
PROM DARAM 3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
3, 4†
3+d
3
3+d
3+2p
6+2d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
3 3 3+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
3+pd
3+pd
3+pd
3+pd
3+pd+2p
3+pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4+d+pd 4+d+pd 7+d+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 3+pd 3+pd 4+pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁ
pmad ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
Smem
ÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
n+2, 2n+2# n+2, 2n+2# n+2+2p,
2n+2+2p#
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
n+2, n+3†
4n+1+2nd
n+2, n+3†
4n+1+2nd
n+2+2p
4n+2+2nd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
n+2 n+2 n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM DARAM n+2, n+3† n+2 n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
n+2, 2n+2# n+2, 2n+2# n+2+2p,
2n+2+2p#
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
4n+1+2nd
n+2
4n+1+2nd
n+2
4n+2+2nd+2p
n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ
PROM
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM n+2 n+2 n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM n+2, n+3† n+2 n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
4n+1+2nd
n+2
4n+1+2nd
n+2
4n+2+2nd+2p
n+2+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM n+2+npd n+2+npd,
n+3+npd†
n+2+npd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM n+2+npd n+2+npd n+2+npd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 5n–1+nd+npd 5n–1+nd+npd 5n+2+nd+npd
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ n+2+npd n+2+npd 4n+3+npd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
◊ Add one cycle for peripheral memory-mapped access.
3-54
Class 23B
Class 23B 3 words, 4 cycles. Single data-memory (Smem) read operand using long-offset
indirect addressing, single data-memory (Smem) write operand using long-offset
indirect addressing, and single program-memory (pmad) read operand.
Mnemonics
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
MACD
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
Operand
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 4, 5# 4, 5# 4+3p, 5+3p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 4, 5† 4, 5† 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
4+d
4
4+d
4
7+2d+3p
4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
SARAM ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 4, 5† 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4, 5#
4+d
4, 5#
4+d
4+3p, 5+3p#
7+2d+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
PROM DARAM 4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4, 5†
4+d
4
4+d
4+3p
7+2d+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 4 4+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External DARAM 4+2pd 4+2pd 4+pd+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
4+2pd
5+d+2pd
4+2pd
5+d+2pd
4+2pd+3p
8+d+2pd+3p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4+2pd 4+2pd 5+2pd+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
# Two operands in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 24A 1 word, 1 cycle. Single data-memory (Smem) read operand and single data-memory
(Smem) write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Single Execution
Program
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem
ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁ
1
DARAM
1, 2†
External
1+p
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
1, 3† 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
1+d 1+d 5+p+2d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem
ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁ
n
DARAM
n, n+1†
External
n+p
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2n–1, 2n+1† 2n–1 2n–1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4n–3+(2n–1)d 4n–3+(2n–1)d 4n+1+p+2nd
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 24B 2 words, 2 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing and single data-memory (Smem) write operand using long-offset in-
direct addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ROM/SARAM DARAM
Program
External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
2 2, 3† 2+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2, 4†
ÁÁÁÁÁÁ
2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2+d 2+d 6+2p+2d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
3-56
Class 25A
Class 25A 1 word, 5 cycles. Single program-memory (pmad) read address and single data-
memory (Smem) write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics READA
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+p
8+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM 5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+p
8+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
PROM DARAM 5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
5
5
5
5
5+p
8+d+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
5 5 5+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
5+pd
5+pd
5+pd
5+pd
5+pd+p
5+pd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 5+pd 5+pd 8+pd+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 5+pd 5+pd 5+pd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁ
pmad ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
Smem
ÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
n+4
n+4
n+4
n+4
n+4+p
n+4+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2n+3+(n–1)d 2n+3+(n–1)d 2n+6+nd+np
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ
SARAM ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
n+4
n+4
n+4
n+4
n+4+p
n+4+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
n+4, 2n+3# n+4, 2n+3# n+4+p,
2n+3+p#
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2n+3+(n–1)d 2n+3+(n–1)d 2n+6+nd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
MMR◊ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
n+4 n+4 n+4+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
PROM DARAM n+4 n+4 n+4+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
n+4
2n+3+(n–1)d
n+4
2n+3+(n–1)d
n+4+p
2n+6+nd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
n+4 n+4 n+4+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
External
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
n+4+npd
n+4+npd
n+4+npd
n+4+npd
n+4+npd+p
n+4+npd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 4n+1+(n–1)d
+npd
4n+1+(n–1)d
+npd
4n+4+nd+npd
+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ n+4+npd n+4+npd n+4+npd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
◊ Add n cycles for peripheral memory-mapped access.
3-58
Class 25B
Class 25B 2 words, 6 cycles. Single program-memory (pmad) read address and single data-
memory (Smem) write operand using long-offset indirect addressing.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics READA
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
pmad Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM DARAM 6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
6
6
6
6
6+2p
9+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM DARAM 6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
6
6
6
6
6+2p
9+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
PROM DARAM 6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
6
6
6
6
6+2p
9+d+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
MMR◊
ÁÁÁÁÁ
ÁÁÁÁÁÁ
6 6 6+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
6+2pd
6+2pd
6+2pd
6+2pd
6+2pd+2p
6+2pd+2p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 6+2pd 6+2pd 9+2pd+d+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ 6+2pd 6+2pd 6+2pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
Class 26A 1 word, 5 cycles. Single data-memory (Smem) read operand and single program-
memory (pmad) write address.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics WRITA
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Smem pmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 5 5 5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
5
5
5
5
5+p
5+pd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM 5 5 5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 5 5 5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
5
5
5
5
5+pd+p
5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 5 5 5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
5
5+pd
5
5+pd
5+pd+p
5+pd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 5+pd 5+pd 5+pd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 5+d 5+d 7+d+pd+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
5
5
5
5
5+p
5+p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 5 5 5+pd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-60
Class 26A
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ
Smem ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁ
pmad
ÁÁÁÁÁÁ ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
DARAM
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
n+4
n+4
n+4
n+4
n+4+p
n+4+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2n+3+(n–1)pd 2n+3+(n–1)pd 2n+3+npd+p
ÁÁÁÁ
ÁÁÁÁ
SARAM
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM n+4 n+4 n+4+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
n+4, 2n+3# n+4, 2n+3# n+4+p,
2n+3+p#
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2n+3+(n–1)pd
n+4
2n+3+(n–1)pd
n+4
2n+3+npd+p
n+4+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+4 n+4 n+4+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
2n+3+(n–1)pd
n+4+npd
2n+3+(n–1)pd
n+4+npd
2n+3+npd+p
n+4+npd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM n+4+npd n+4+npd n+4+npd+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4n+1+nd 4n+1+nd 4n+3+nd+npd
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
+(n–1)pd +(n–1)pd +p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
MMR◊ DARAM n+4 n+4 n+4+p
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External
n+4
2n+3+(n–1)pd
n+4
2n+3+(n–1)pd
n+4+p
2n+3+npd+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
# Two operands in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add n cycles for peripheral memory-mapped access.
Class 26B 2 words, 6 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing and single program-memory (pmad) write address.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics WRITA
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Smem pmad ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM DARAM 6 6 6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
6
6
6
6
6+2p
6+2pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM 6 6 6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 6 6 6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
6
6
6
6
6+2pd+2p
6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 6 6 6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM
6
6+2pd
6
6+2pd
6+2pd+2p
6+2pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 6+2pd 6+2pd 6+2pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 6+d 6+d 8+d+2pd+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
MMR◊
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM
6
6
6
6
6+2p
6+2p
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 6 6 6+2pd+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
◊ Add one cycle for peripheral memory-mapped access.
3-62
Class 27A / Class 27B
Class 27A 2 words, 2 cycles. Single I/O port read operand and single data-memory (Smem)
write operand.
Mnemonics
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PORTR
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Port
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
Operand
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External DARAM 3+io 3+io 6+2p+io
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 3+io, 4+io† 3+io 6+2p+io
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3+io 3+io 9+2p+d+io
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Cycles for a Repeat Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
Port ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
Operand
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Smem ROM/SARAM
Program
DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 2n+1+nio 2n+1+nio 2n+4+2p+nio
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM 2n+1+nio,
2n+2+nio†
2n+1+nio 2n+4+2p+nio
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 5n–2+nio
+(n–1)d
5n–2+nio
+(n–1)d
5n+4+2p
+nio+nd
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 27B 3 words, 3 cycles. Single I/O port read operand and single data-memory (Smem)
write operand using long-offset indirect addressing.
Mnemonics PORTR
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Port Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
External
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
4+io
4+io, 5+io†
4+io
4+io
7+3p+io
7+3p+io
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 4+io 4+io 10+3p+d+io
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 28A 2 words, 2 cycles. Single data-memory (Smem) read operand and single I/O port
write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics PORTW
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Port Smem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External DARAM 2 2, 3† 6+2p+io
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DROM
2, 3†
2, 3†
2
2
6+2p+io
6+2p+io
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External 2+d 2+d 7+2p+d+io
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
Cycles for a Repeat Execution
Program
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
Port
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
Smem ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
DARAM 2n+(n–1)io 2n+(n–1)io,
2n+1+(n–1)io†
2n+4+2p+nio
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
SARAM 2n+(n–1)io,
2n+1+(n–1)io†
2n+(n–1)io 2n+4+2p+nio
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
DROM
ÁÁÁÁÁÁ
ÁÁÁÁÁ
2n+(n–1)io,
2n+1+(n–1)io†
2n+(n–1)io 2n+4+2p+nio
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
External
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
5n–3+nd
+(n–1)io
5n–3+nd
+(n–1)io
5n+2+2p+nd
+nio
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
3-64
Class 28B
Class 28B 3 words, 3 cycles. Single data-memory (Smem) read operand using long-offset indi-
rect addressing and single I/O port write operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics PORTW
Cycles
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution With Long-Offset Modifier
ÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
Port Smem ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
External DARAM 3 3, 4† 7+3p+io
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁ
ÁÁÁÁÁÁ
DROM
3, 4†
3, 4†
3
3
7+3p+io
7+3p+io
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
External 3+d 3+d 8+3p+d+io
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 29A 2 words, 4 cycles, 2 cycles (delayed), 2 cycles (false condition). Single program-
memory (pmad) operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics B[D] BANZ[D] FB[D] RPTB[D]
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁÁ DARAM
Program
External
ÁÁÁÁÁÁÁÁÁ
4
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ 4 4+4p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁÁ
2
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ 2 2+2p
Class 29B 2 words, 4 cycles, 2 cycles (delayed). Single program-memory (pmad) operand.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Stack ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
DARAM
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
4
ÁÁÁÁÁÁ
4, 5†
4
4
4+4p
4+4p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁ
External 4 4 7+4p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Stack
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁ
2
DARAM
2
External
2+2p
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
2, 3†
ÁÁÁÁÁÁ
2 2+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External 2 2 5+2p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
3-66
Class 30A / Class 30B
Cycles ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
6
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ 6 6+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
4 4 4+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles Cycles for a Single Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Stack
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁ
6
DARAM
6
External
6+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
6 6 6+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
6 6 7+3p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Stack
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁ
4
DARAM
4
External
4+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
4 4 4+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External 4 4 5+p+d
Class 31A 2 words, 5 cycles, 3 cycles (delayed). Single program-memory (pmad) operand and
short-immediate operands.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics BC[D]
Cycles
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Condition ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
True 5 5 5+4p
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
False
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ 3 3 3+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Condition ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
True 3 3 3+2p
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
False
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ 3 3 3+2p
3-68
Class 31B
Class 31B 2 words, 5 cycles, 3 cycles (delayed), 3 cycles (false condition). Single program-
memory (pmad) operand and short-immediate operands.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics CC[D]
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single True Condition Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Stack ROM/SARAM DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 5 5 5+4p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
5, 6†
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
5 5+4p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
5 8+4p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
Cycles for a Single False Condition Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Stack
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁ
DARAM External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
DARAM 3 3 3+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM 3, 4† 3 3+2p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3 3 6+2p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Stack
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁ
3
DARAM
3
External
3+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3, 4† 3 3+2p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
External ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
3 3 6+2p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Class 32 1 word, 5 cycles, 3 cycles (delayed), 3 cycles (false condition). No operand, or short-
immediate operands.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics RC[D] RET[D] RETE[D]
Cycles
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Stack ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 5 5, 6† 5+3p
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
5, 6† 5 5+3p
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
5+d 5+d 6+d+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Operand Program
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
Stack ROM/SARAM DARAM External
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM 3 3, 4† 3+p
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External
ÁÁÁÁÁÁ
3, 4†
3+d
3
3+d
3+p
4+d+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
3-70
Class 33 / Class 34
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics RETF[D]
Cycles
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
3 3 3+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Program
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROM/SARAM DARAM External
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
1 1 1+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Mnemonics FRET[D] FRETE[D]
Cycles
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
Stack
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM DARAM
Program
External
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
6 6, 8† 6+3p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
SARAM 6, 8† 6 6+3p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
External
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
6+2d 6+2d 8+3p+d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
Cycles for a Single Delayed Execution
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Program
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
Stack
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
DARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁ
4
DARAM
4, 6†
External
4+p
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁ ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
SARAM
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
4, 6†
ÁÁÁÁÁÁÁ
4 4+p
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
External 4+2d 4+2d 6+p+2d
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
† Operand and code in same memory block
Cycles ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Cycles for a Single Execution
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ROM/SARAM
ÁÁÁÁÁÁÁÁ DARAM
Program
External
ÁÁÁÁÁÁÁÁÁ
3
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ 3 3+p
Mnemonics IDLE
Cycles The number of cycles needed to execute this instruction depends on the idle period.
3-72
Running Title—Attribute Reference
Chapter 4
This section provides detailed information on the instruction set for the ’54x
family. The ’54x instruction set supports numerically intensive signal-processing
operations as well as general-purpose applications, such as multiprocessing
and high-speed control.
See Section 1.1, Instruction Set Symbols and Abbreviations, for definitions of
symbols and abbreviations used in the description of assembly language
instructions. See Section 1.2, Example Description of Instruction, for a description
of the elements in an instruction. See Chapter 2 for a summary of the instruction
set.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 0 1 1 X X X X Y Y Y Y
Execution ȧ
(B) + (A(32–16)) B ȧ³
((Xmem) *
(Ymem)) << 16 ³A
Status Bits Affected by OVM, FRCT, and SXM
Affects C, OVA, and OVB
Description This instruction calculates the absolute value of the distance between two vec-
tors, Xmem and Ymem. The absolute value of accumulator A(32–16) is added
to accumulator B. The content of Ymem is subtracted from Xmem, and the re-
sult is left-shifted 16 bits and stored in accumulator A. If the fractional mode
bit is logical 1 (FRCT = 1), the absolute value is multiplied by 2.
Words 1 word
Cycles 1 cycle
4-2
Absolute Value of Accumulator ABS
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 0 1 0 1
Description This instruction calculates the absolute value of src and loads the value into
dst. If no dst is specified, the absolute value is loaded into src.
Words 1 word
Cycles 1 cycle
Example 1 ABS A, B
Before Instruction After Instruction
A FF FFFF FFCB –53 A FF FFFF FFCB –53
B FF FFFF FC18 –1000 B 00 0000 0035 +53
Example 2 ABS A
Before Instruction After Instruction
A 03 1234 5678 A 00 7FFF FFFF
OVM 1 OVM 1
Example 3 ABS A
Before Instruction After Instruction
A 03 1234 5678 A 03 1234 5678
OVM 0 OVM 0
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 1 0 S I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 1 1 S D I A A A A A A A
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 1 1 I A A A A A A A
0 0 0 0 1 1 S D 0 0 0 S H I F T
5:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 0 0 0 S X X X X S H F T
6:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 0 0 0 0 D X X X X Y Y Y Y
7:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 0 0 0 S H F T
16-bit constant
4-4
Add to Accumulator ADD
8:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 0 0 0
16-bit constant
9:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 0 0 0 S H I F T
10:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 0 0 0 0
For instruction syntax 3, if the result of the addition generates a carry, the carry
bit, C, is set to 1; otherwise, C is not affected.
Description This instruction adds a 16-bit value to the content of the selected accumulator
or to a 16-bit operand Xmem in dual data-memory operand addressing mode.
The 16-bit value added is one of the following:
If dst is specified, this instruction stores the result in dst. If no dst is specified,
this instruction stores the result in src. Most of the second operands can be
shifted. For a left shift:
Notes:
The following syntaxes are assembled as a different syntax in certain cases.
- Syntax 4: If dst = src and SHIFT = 0, then the instruction opcode is
assembled as syntax 1.
- v
Syntax 4: If dst = src, SHIFT 15 and Smem indirect addressing mode
is included in Xmem, then the instruction opcode is assembled as
syntax 5.
- Syntax 5: If SHIFT = 0, the instruction opcode is assembled as syntax 1.
4-6
Add to Accumulator ADD
Example 4 shows the same auxiliary register (AR2) with different addressing
modes specified for both operands. The mode defined by the Xmod field
(*AR2+) is used for addressing.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 1 1 S I A A A A A A A
Description This instruction adds the 16-bit single data-memory operand Smem and the
value of the carry bit (C) to src. This instruction stores the result in src. Sign
extension is suppressed regardless of the value of the SXM bit.
Words 1 word
Cycles 1 cycle
4-8
Add Long-Immediate Value to Memory ADDM
Description This instruction adds the 16-bit single data-memory operand Smem to the
16-bit immediate memory value lk and stores the result in Smem.
Note:
This instruction is not repeatable.
Words 2 words
Cycles 2 cycles
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 1 S I A A A A A A A
Description This instruction adds the 16-bit single data-memory operand Smem to src and
stores the result in src. Sign extension is suppressed regardless of the value
of the SXM bit.
Words 1 word
Cycles 1 cycle
4-10
AND With Accumulator AND
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 1 0 0 S I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 0 1 1 S H F T
16-bit constant
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 0 1 1
16-bit constant
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 1 0 0 S H I F T
If a shift is specified, this instruction left-shifts the operand before the AND. For
a left shift, the low-order bits are cleared and the high-order bits are not sign
extended. For a right shift, the high-order bits are not sign extended.
Example 2 AND A, 3, B
Before Instruction After Instruction
A 00 0000 1200 A 00 0000 1200
B 00 0000 1800 B 00 0000 1000
4-12
AND Memory With Long Immediate ANDM
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 0 0 0 I A A A A A A A
16-bit constant
Description This instruction ANDs the 16-bit single data-memory operand Smem with a
16-bit long constant lk. The result is stored in the data-memory location speci-
fied by Smem.
Note:
This instruction is not repeatable.
Words 2 words
Cycles 2 cycles
Execution pmad ³ PC
Status Bits None
Note:
This instruction is not repeatable.
Words 2 words
Cycles 4 cycles
2 cycles (delayed)
Example 1 B 2000h
Before Instruction After Instruction
PC 1F45 PC 2000
Example 2 BD 1000h
ANDM 4444h, *AR1+
Before Instruction After Instruction
PC 1F45 PC 1000
After the operand has been ANDed with 4444h, the program continues execut-
ing from location 1000h.
4-14
Branch to Location Specified by Accumulator BACC[D]
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z S 1 1 1 0 0 0 1 0
Execution (src(15–0)) ³ PC
Status Bits None
Description This instruction passes control to the 16-bit address in the low part of src (bits
15–0). If the branch is delayed (specified by the D suffix), the two 1-word
instructions or the one 2-word instruction following the branch instruction is
fetched from program memory and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example 1 BACC A
Before Instruction After Instruction
A 00 0000 3000 A 00 0000 3000
PC 1F45 PC 3000
Example 2 BACCD B
ANDM 4444h, *AR1+
Before Instruction After Instruction
B 00 0000 2000 B 00 0000 2000
PC 1F45 PC 2000
After the operand has been ANDed with 4444h value, the program continues
executing from location 2000h.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 Z 0 I A A A A A A A
16-bit constant
Execution If ((ARx) 0 0)
Then
pmad ³ PC
Else
(PC) + 2 ³ PC
Note:
This instruction is not repeatable.
Words 2 words
4-16
Branch on Auxiliary Register Not Zero BANZ[D]
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 2000h.
Condition Condition
Cond Description Code Cond Description Code
BIO BIO low 0000 0011 NBIO BIO high 0000 0010
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 0 Z 0 C C C C C C C C
16-bit constant
Execution If (cond(s))
Then
pmad ³ PC
Else
(PC) + 2 ³ PC
Description This instruction branches to the program-memory address (pmad) if the speci-
fied condition(s) is met. The two 1-word instructions or the one 2-word instruc-
tion following the branch instruction is fetched from program memory. If the
condition(s) is met, the two words following the instruction are flushed from the
pipeline and execution begins at pmad. If the condition(s) is not met, the PC
is incremented by 2 and the two words following the instruction are executed.
4-18
Branch Conditionally BC[D]
If the branch is delayed (specified by the D suffix), the two 1-word instructions
or the one 2-word instruction is fetched from program memory and executed.
The two words following the delayed instruction have no effect on the condi-
tions being tested. If the condition(s) is met, execution continues at pmad. If
the condition(s) is not met, the PC is incremented by 2 and the two words
following the delayed instruction are executed.
This instruction tests multiple conditions before passing control to another sec-
tion of the program. This instruction can test the conditions individually or in
combination with other conditions. You can combine conditions from only one
group as follows:
Note:
This instruction is not repeatable.
Words 2 words
Cycles 5 cycles (true condition)
3 cycles (false condition)
3 cycles (delayed)
Classes Class 31A (see page 3-68)
After the memory location is ANDed with 4444h, the branch is taken if the
condition (OVB) is met. Otherwise, execution continues at the instruction fol-
lowing this instruction.
4-20
Test Bit BIT
Description This instruction copies the specified bit of the dual data-memory operand
Xmem into the TC bit of status register ST0. The following table lists the bit
codes that correspond to each bit in data memory.
The bit code corresponds to BITC and the bit address corresponds to
(15 – BITC).
1 1110 9 0110
2 1101 10 0101
3 1100 11 0100
4 1011 12 0011
5 1010 13 0010
6 1001 14 0001
Words 1 word
Cycles 1 cycle
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 0 0 0 1 I A A A A A A A
16-bit constant
Description This instruction tests the specified bit or bits of the data-memory value Smem.
If the specified bit (or bits) is 0, the TC bit in status register ST0 is cleared to
0; otherwise, TC is set to 1. The lk constant is a mask for the bit or bits tested.
Words 2 words
Cycles 2 cycles
4-22
Test Bit Specified by T BITT
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 1 0 0 I A A A A A A A
Description This instruction copies the specified bit of the data-memory value Smem into
the TC bit in status register ST0. The four LSBs of T contain a bit code that
specifies which bit is copied.
The bit address corresponds to (15 – T(3–0)). The bit code corresponds to the
content of T(3–0).
1 1110 9 0110
2 1101 10 0101
3 1100 11 0100
4 1011 12 0011
5 1010 13 0010
6 1001 14 0001
Words 1 word
Cycles 1 cycle
4-24
Call Subroutine at Location Specified by Accumulator CALA[D]
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z S 1 1 1 0 0 0 1 1
Execution Nondelayed
(SP) – 1 ³
SP
(PC) + 1 ³
TOS
(src(15–0)) PC³
Delayed
(SP) – 1 ³
SP
(PC) + 3 ³
TOS
(src(15–0)) PC³
Status Bits None
Description This instruction passes control to the 16-bit address in the low part of src (bits
15–0). If the call is delayed (specified by the D suffix), the two 1-word instruc-
tions or the one 2-word instruction following the call instruction is fetched from
program memory and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example 1 CALA A
Before Instruction After Instruction
A 00 0000 3000 A 00 0000 3000
PC 0025 PC 3000
SP 1111 SP 1110
Data Memory
1110h 4567 1110h 0026
Example 2 CALAD B
ANDM 4444h, *AR1+
Before Instruction After Instruction
B 00 0000 2000 B 00 0000 2000
PC 0025 PC 2000
SP 1111 SP 1110
Data Memory
1110h 4567 1110h 0028
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 2000h.
4-26
Call Unconditionally CALL[D]
Execution Nondelayed
(SP) 1 * ³
SP
(PC) 2 ) ³
TOS
pmad PC ³
Delayed
(SP) 1* ³SP
(PC) + 4 ³
TOS
pmad ³
PC
Note:
This instruction is not repeatable.
Words 2 words
Cycles 4 cycles
2 cycles (delayed)
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 1000h.
4-28
Call Conditionally CC[D]
Condition Condition
Cond Description Code Cond Description Code
BIO BIO low 0000 0011 NBIO BIO high 0000 0010
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 0 Z 1 C C C C C C C C
16-bit constant
Execution Nondelayed
If (cond(s))
Then
(SP) 1* ³SP
(PC) 2) ³TOS
pmad ³
PC
Else
(PC) + 2 ³
PC
Delayed
If (cond(s))
Then
(SP) 1* ³SP
(PC) + 4 ³
TOS
pmad ³
PC
Else
(PC) + 2 ³
PC
Description This instruction passes control to the program-memory address (pmad) if the
specified condition(s) is met. The two 1-word instructions or the one 2-word
instruction following the call instruction is fetched from program memory. If the
condition(s) is met, the two words following the instruction are flushed from the
pipeline and execution begins at pmad. If the condition(s) is not met, the PC
is incremented by 2 and the two words following the instruction are executed.
If the call is delayed (specified by the D suffix), the two 1-word instructions or
the one 2-word instruction is fetched from program memory and executed. The
two words following the delayed instruction have no effect on the conditions
being tested. If the condition(s) is met, execution continues at pmad. If the
condition(s) is not met, the PC is incremented by 2 and the two words following
the delayed instruction are executed.
This instruction tests multiple conditions before passing control to another sec-
tion of the program. This instruction can test the conditions individually or in
combination with other conditions. You can combine conditions from only one
group as follows:
4-30
Call Conditionally CC[D]
LT
LEQ
GT
GEQ
Note:
This instruction is not repeatable.
Words 2 words
Cycles 5 cycles (true condition)
3 cycles (false condition)
3 cycles (delayed)
Classes Class 31B (see page 3-69)
Example 1 CC 2222h, AGT
Before Instruction After Instruction
A 00 0000 3000 A 00 0000 3000
PC 0025 PC 2222
SP 1111 SP 1110
Data Memory
1110h 4567 1110h 0027
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 1000h.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 1 0 0 1 1
Description This instruction calculates the 1s complement of the content of src (this is a
logical inversion). The result is stored in dst, if specified, or src otherwise.
Words 1 word
Cycles 1 cycle
Example CMPL A, B
Before Instruction After Instruction
A FC DFFA AEAA A FC DFFA AEAA
B 00 0000 7899 B 03 2005 5155
4-32
Compare Memory With Long Immediate CMPM
Description This instruction compares the 16-bit single data-memory operand Smem to
the 16-bit constant lk . If they are equal, TC is set to 1. Otherwise, TC is cleared
to 0.
Words 2 words
Cycles 2 cycles
Operands 0 v v
CC 3
ARx: AR0–AR7
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 C C 1 0 1 0 1 A R X
Execution If (cond)
Then
1 ³ TC
Else
0 ³ TC
Description This instruction compares the content of the designated auxiliary register
(ARx) to the content of AR0 and sets the TC bit according to the comparison.
The comparison is specified by the CC (condition code) value (see the follow-
ing table). If the condition is true, TC is set to 1. If the condition is false, TC is
cleared to 0. All conditions are computed as unsigned operations.
Cycles 1 cycle
4-34
Compare, Select and Store Maximum CMPS
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 1 1 1 S I A A A A A A A
Description This instruction compares the two 16-bit 2s-complement values located in the
high and low parts of src and stores the maximum value in the single data-
memory location Smem. If the high part of src (bits 31–16) is greater, a 0 is
shifted into the LSB of the transition register (TRN) and the TC bit is cleared
to 0. If the low part of src (bits 15–0) is greater, a 1 is shifted into the LSB of
TRN and the TC bit is set to 1.
This instruction does not follow the standard pipeline operation. The compari-
son is performed in the read phase; thus, the src value is the value one cycle
before the instruction executes. TRN and the TC bit are updated during the
execution phase.
Words 1 word
Cycles 1 cycle
4-36
Double-Precision/Dual 16-Bit Add to Accumulator DADD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 0 0 S D I A A A A A A A
Execution If C16 +
0
Then
(Lmem) )
(src) ³
dst
Else
(Lmem(31–16)) + (src(31–16)) ³
dst(39–16)
(Lmem(15–0)) + (src(15–0)) ³
dst(15–0)
Description This instruction adds the content of src to the 32-bit long data-memory oper-
and Lmem. If a dst is specified, this instruction stores the result in dst. If no dst
is specified, this instruction stores the result in src. The value of C16 deter-
mines the mode of the instruction:
- If C16 = 1, the instruction is executed in dual 16-bit mode. The high part
of src (bits 31–16) is added to the 16 MSBs of Lmem, and the low part of
src (bits 15–0) is added to the 16 LSBs of Lmem. The saturation and over-
flow bits are not affected in this mode. In this mode, the results are not sat-
urated regardless of the state of the OVM bit.
Words 1 word
Cycles 1 cycle
4-38
Double-Precision Load With T Add/Dual 16-Bit Load With T Add/Subtract DADST
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 1 0 1 D I A A A A A A A
Execution If C16 = 1
Then
(Lmem(31–16)) ) ³
(T) dst(39–16)
(Lmem(15–0)) * ³
(T) dst(15–0)
Else
(Lmem) + ((T) + (T) << 16) dst ³
Status Bits Affected by SXM and OVM (only if C16 = 0)
Affects C and OVdst
Description This instruction adds the content of T to the 32-bit long data-memory operand
Lmem. The value of C16 determines the mode of the instruction:
Note:
This instruction is meaningful only if C16 is set to 1 (dual 16-bit mode).
Words 1 word
Cycles 1 cycle
4-40
Memory Delay DELAY
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 1 0 1 I A A A A A A A
Description This instruction copies the content of a single data-memory location Smem
into the next higher address. When data is copied, the content of the ad-
dressed location remains the same. This function is useful for implementing
a Z delay in digital signal processing applications. The delay operation is also
contained in the load T and insert delay (LTD) instruction (page 4-81) and the
multiply by program memory and accumulate with delay (MACD) instruction
(page 4-87).
Words 1 word
Cycles 1 cycle
Execution If C16 0+
Then
(Lmem) dst³
Else
(Lmem(31–16)) ³ dst(39–16)
(Lmem(15–0)) ³ dst(15–0)
Status Bits Affected by SXM
Description This instruction loads dst with a 32-bit long operand Lmem. The value of C16
determines the mode of the instruction:
- If C16 = 0, the instruction is executed in double-precision mode. Lmem is
loaded to dst.
- If C16 = 1, the instruction is executed in dual 16-bit mode. The 16 MSBs
of Lmem are loaded to the upper 24 bits of dst. At the same time, the 16
LSBs of Lmem are loaded in the lower 16 bits of dst.
Words 1 word
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Lmem.
Cycles 1 cycle
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Lmem.
Classes Class 9A (see page 3-20)
Class 9B (see page 3-21)
Example DLD *AR3+, B
Before Instruction After Instruction
B 00 0000 0000 B 00 6CAC BD90
AR3 0100 AR3† 0102
Data Memory
0100h 6CAC 0100h 6CAC
0101h BD90 0101h BD90
† Because this instruction is a long-operand instruction, AR3 is incremented by 2 after the
execution.
4-42
Double-Precision/Dual 16-Bit Subtract From Long Word DRSUB
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 1 0 0 S I A A A A A A A
Execution If C16 = 0
Then
(Lmem) *
(src) src ³
Else
(Lmem(31–16)) *
(src(31–16)) ³
src(39–16)
(Lmem(15–0)) *
(src(15–0)) ³
src(15–0)
Description This instruction subtracts the content of src from the 32-bit long data-memory
operand Lmem and stores the result in src. The value of C16 determines the
mode of the instruction:
- If C16 = 1, the instruction is executed in dual 16-bit mode. The high part
of src (bits 31–16) is subtracted from the 16 MSBs of Lmem and the result
is stored in the high part of src (bits 39–16). At the same time, the low part
of src (bits 15–0) is subtracted from the 16 LSBs of Lmem. The result is
stored in the low part of src (bits 15–0). In this mode, the results are not
saturated regardless of the state of the OVM bit.
Words 1 word
Cycles 1 cycle
4-44
Long-Word Load With T Add/Dual 16-Bit Load With T Subtract/Add DSADT
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 1 1 1 D I A A A A A A A
Execution If C16 = 1
Then
(Lmem(31–16)) * ³
(T) dst(39–16)
(Lmem(15–0)) ) ³
(T) dst(15–0)
Else
(Lmem) – ((T) + (T << 16)) dst ³
Status Bits Affected by SXM and OVM (only if C16 = 0)
Affects C and OVdst
Description This instruction subtracts/adds the content of T from the 32-bit long data-
memory operand Lmem and stores the result in dst. The value of C16 deter-
mines the mode of the instruction:
Note:
This instruction is meaningful only if C16 is set (dual 16-bit mode).
Words 1 word
Cycles 1 cycle
4-46
Store Accumulator in Long Word DST
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 S I A A A A A A A
Execution If C16 = 0
Then
(src) *
(Lmem) ³
src
Else
(src(31–16)) *
(Lmem(31–16)) ³
src(39–16)
(src(15–0)) *
(Lmem(15–0)) ³
src(15–0)
Description This instruction subtracts the 32-bit long data-memory operand Lmem from
the content of src, and stores the result in src. The value of C16 determines
the mode of the instruction:
Words 1 word
Cycles 1 cycle
4-48
Double-Precision/Dual 16-Bit Subtract From Accumulator DSUB
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 1 1 1 0 D I A A A A A A A
Execution If C16 = 1
Then
(Lmem(31–16)) (T) * ³
dst(39–16)
(Lmem(15–0)) (T) * ³
dst(15–0)
Else
(Lmem) *
((T) + (T << 16)) dst ³
Status Bits Affected by SXM and OVM (only if C16 = 0)
Affects C and OVdst
Description This instruction subtracts the content of T from the 32-bit long data-memory
operand Lmem and stores the result in dst. The value of C16 determines the
mode of the instruction:
Note:
This instruction is meaningful only if C16 is set to 1 (dual 16-bit mode).
Words 1 word
Cycles 1 cycle
4-50
Long-Word Load With T Subtract/Dual 16-Bit Load With T Subtract DSUBT
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 0 1 1 1 0
Execution +
If (src) 0
Then
0 ³ T
Else
(Number of leading bits of src) *8³T
Status Bits None
Description This instruction computes the exponent value, which is a signed 2s-comple-
ment value in the –8 to 31 range, and stores the result in T. The exponent is
computed by calculating the number of leading bits in src and subtracting 8
from this value. The number of leading bits is equivalent to the number of left
shifts needed to eliminate the significant bits from the 40-bit src with the excep-
tion of the sign bit. The src is not modified after this instruction.
The result of subtracting 8 from the number of leading bits produces a negative
exponent for accumulator values that have significant bits in the guard bits (the
eight MSBs of the accumulator used in error detection and correction). See the
normalization instruction (page 4-122).
Words 1 word
Cycles 1 cycle
Example 1 EXP A
Before Instruction After Instruction
A FF FFFF FFCB –53 A FF FFFF FFCB –53
T 0000 T 0019 25
Example 2 EXP B
Before Instruction After Instruction
B 07 8543 2105 B 07 8543 2105
T FFFC T FFFC –4†
† The value in accumulator B has significant bits in the guard bits, which results in a negative
exponent.
4-52
Far Branch Unconditionally FB[D]
Execution (pmad(15–0)) PC ³
(pmad(22–16)) XPC ³
Status Bits None
Note:
This instruction is not repeatable.
Words 2 words
Cycles 4 cycles
2 cycles (delayed)
Example 1 FB 012000h
Before Instruction After Instruction
PC 1000 PC 2000
XPC 00 XPC 01
2000h is loaded into the PC, 01h is loaded into XPC, and the program contin-
ues executing from that location.
After the operand has been ANDed with 4444h, the program continues execut-
ing from location 1000h on page 7Fh.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z S 1 1 1 0 0 1 1 0
Execution (src(15–0)) ³
PC
(src(22–16)) ³
XPC
Description This instruction loads the XPC with the value in src (bits 22–16) and passes
control to the 16-bit address in the low part of src (bits 15–0). If the branch is
delayed (specified by the D suffix), the two 1-word instructions or the one
2-word instruction following the branch instruction is fetched from program
memory and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example 1 FBACC A
Before Instruction After Instruction
A 00 0001 3000 A 00 0001 3000
PC 1000 PC 3000
XPC 00 XPC 01
1h is loaded into the XPC, 3000h is loaded into the PC, and the program contin-
ues executing from that location on page 1h.
Example 2 FBACCD B
ANDM 4444h *AR1+
Before Instruction After Instruction
B 00 007F 2000 B 00 007F 2000
XPC 01 XPC 7F
After the operand has been ANDed with 4444h value, 7Fh is loaded into the
XPC, and the program continues executing from location 2000h on page 7Fh.
4-54
Far Call Subroutine at Location Specified by Accumulator FCALA[D]
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z S 1 1 1 0 0 1 1 1
Execution Nondelayed
(SP) – 1 ³ SP
(PC) + 1 ³ TOS
(SP) – 1 ³ SP
(XPC) ³TOS
(src(15–0)) ³
PC
(src(22–16)) ³
XPC
Delayed
(SP) – 1 ³ SP
(PC) + 3 ³ TOS
(SP) – 1 ³ SP
(XPC) ³TOS
(src(15–0)) ³
PC
(src(22–16)) ³
XPC
Description This instruction loads the XPC with the value in src (bits 22–16) and passes
control to the 16-bit address in the low part of src (bits 15–0). If the call is
delayed (specified by the D suffix), the two 1-word instructions or the one
2-word instruction following the call instruction is fetched from program
memory and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example 1 FCALA A
Before Instruction After Instruction
A 00 007F 3000 A 00 007F 3000
PC 0025 PC 3000
XPC 00 XPC 7F
SP 1111 SP 110F
Data Memory
1110h 4567 1110h 0026
110Fh 4567 110Fh 0000
Example 2 FCALAD B
ANDM #4444h, *AR1+
Before Instruction After Instruction
B 00 0020 2000 B 00 0020 2000
PC 0025 PC 2000
XPC 7F XPC 20
SP 1111 SP 110F
Data Memory
1110h 4567 1110h 0028
110Fh 4567 110Fh 007F
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 2000h on page 20h.
4-56
Far Call Unconditionally FCALL[D]
Execution Nondelayed
(SP) 1* ³SP
(PC) 2) ³TOS
(SP) – 1 ³
SP
(XPC) ³
TOS
(pmad(15–0)) PC ³
(pmad(22–16)) XPC ³
Delayed
(SP) – 1 ³
SP
(PC) + 4 ³
TOS
(SP) – 1 ³
SP
(XPC) ³
TOS
(pmad(15–0)) PC ³
(pmad(22–16)) XPC ³
Status Bits None
Note:
This instruction is not repeatable.
Words 2 words
Cycles 4 cycles
2 cycles (delayed)
After the memory location has been ANDed with 4444h, the program contin-
ues executing from location 1000h.
4-58
Symmetrical Finite Impulse Response Filter FIRS
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 0 0 0 X X X X Y Y Y Y
16-bit constant
Description This instruction implements a symmetrical finite impulse respone (FIR) filter.
This instruction multiplies accumulator A (bits 32–16) with a Pmem value ad-
dressed by pmad (in the program address register PAR) and adds the result
to the value in accumulator B. At the same time, it adds the memory operands
Xmem and Ymem, shifts the result left 16 bits, and loads this value into accu-
mulator A. In the next iteration, pmad is incremented by 1. Once the repeat
pipeline is started, the instruction becomes a single-cycle instruction.
Words 2 words
Cycles 3 cycles
Syntax FRAME K
Execution (SP) ) K ³ SP
Status Bits None
Description This instruction adds a short-immediate offset K to the SP. There is no latency
for address generation in compiler mode (CPL = 1) or for stack manipulation
by the instruction following this instruction.
Words 1 word
Cycles 1 cycle
4-60
Far Return FRET[D]
Syntax FRET[D]
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z 0 1 1 1 0 0 1 0 0
Execution (TOS) ³
XPC
(SP) 1) ³ SP
(TOS) ³
PC
(SP) 1) ³ SP
Description This instruction replaces the XPC with the 7-bit value from the TOS and re-
places the PC with the next 16-bit value on the stack. The SP is incremented
by 1 for each of the two replacements. If the return is delayed (specified by the
D suffix), the two 1-word instructions or one 2-word instruction following this
instruction is fetched and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example FRET
Before Instruction After Instruction
PC 2112 PC 1000
XPC 01 XPC 05
SP 0300 SP 0302
Data Memory
0300h 0005 0300h 0005
0301h 1000 0301h 1000
Syntax FRETE[D]
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z 0 1 1 1 0 0 1 0 1
Description This instruction replaces the XPC with the 7-bit value from the TOS and re-
places the PC with the next 16-bit value on the stack, continuing execution
from the new PC value. This instruction automatically clears the interrupt mask
bit (INTM) in ST1. (Clearing this bit enables interrupts.) If the return is delayed
(specified by the D suffix), the two 1-word instructions or one 2-word instruction
following this instruction is fetched and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 6 cycles
4 cycles (delayed)
Example FRETE
Before Instruction After Instruction
PC 2112 PC 0110
XPC 05 XPC 6E
ST1 xCxx ST1 x4xx
SP 0300 SP 0302
Data Memory
0300h 006E 0300h 006E
0301h 0110 0301h 0110
4-62
Idle Until Interrupt IDLE
Syntax IDLE K
Operands 1 vKv3
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 N N 1 1 1 0 0 0 0 1
If K is: NN is:
1 00
2 10
3 01
Execution (PC) +1 ³ PC
Status Bits Affected by INTM
Description This instruction forces the program being executed to wait until an unmasked
interrupt or reset occurs. The PC is incremented by 1. The device remains in
an idle state (power-down mode) until it is interrupted.
The idle state is exited after an unmasked interrupt, even if INTM = 1. If
INTM = 1, the program continues executing at the instruction following the
idle. If INTM = 0, the program branches to the corresponding interrupt service
routine. The interrupt is enabled by the interrupt mask register (IMR), regard-
less of the INTM value. The following options, indicated by the value of K,
determine the type of interrupts that can release the device from idle:
K=1 Peripherals, such as the timer and the serial ports, are still active.
The peripheral interrupts as well as reset and external interrupts
release the processor from idle mode.
K=2 Peripherals, such as the timer and the serial ports, are inactive.
Reset and external interrupts release the processor from idle
mode. Because interrupts are not latched in idle mode as they
are in normal device operation, they must be low for a number
of cycles to be acknowledged.
K=3 Peripherals, such as the timer and the serial ports, are inactive
and the PLL is halted. Reset and external interrupts release the
processor from idle mode. Because interrupts are not latched in
idle mode as they are in normal device operation, they must be
low for a number of cycles to be acknowledged.
Note:
This instruction is not repeatable.
Words 1 word
Cycles The number of cycles needed to execute this instruction depends on the idle
period. Because the entire device is halted when K = 3, the number of cycles
cannot be specified. The minimum number of cycles is 4.
Example 1 IDLE 1
Example 2 IDLE 2
Example 3 IDLE 3
4-64
Software Interrupt INTR
Syntax INTR K
Operands 0 v K v 31
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 1 1 1 1 0 K K K K K
Execution (SP) * ³
1 SP
(PC) ) ³
1 TOS
interrupt vector specified by K ³ PC
1 ³INTM
Description This instruction transfers program control to the interrupt vector specified by
K. This instruction allows you to use your application software to execute any
interrupt service routine. For a list of interrupts and their corresponding K val-
ue, see Appendix B.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 3 cycles
Example INTR 3
Before Instruction After Instruction
PC 0025 PC FF8C
INTM 0 INTM 1
IPTR 01FF IPTR 01FF
SP 1000 SP 0FFF
Data Memory
0FFFh 9653 0FFFh 0026
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 0 0 0 D I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 0 1 0 D I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 0 1 0 D I A A A A A A A
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 1 1 I A A A A A A A
0 0 0 0 1 1 0 D 0 1 0 S H I F T
5:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 0 1 0 D X X X X S H F T
6:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 1 0 0 D K K K K K K K K
4-66
Load Accumulator With Shift LD
7:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 0 D 0 0 1 0 S H F T
16-bit constant
8:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 0 D 0 1 1 0 0 0 1 0
16-bit constant
9:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 0 0 1 0
10:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 0 1 0 S H I F T
Description This instruction loads the accumulator (dst, or src if dst is not specified) with
a data-memory value or an immediate value, supporting different shift quanti-
ties. Additionally, the instruction supports accumulator-to-accumulator moves
with shift.
Notes:
The following syntaxes are assembled as a different syntax in certain cases.
- Syntax 4: If SHIFT = 0, the instruction opcode is assembled as syntax 1.
- v
Syntax 4: If 0 < SHIFT 15 and Smem indirect addressing mode is in-
cluded in Xmem, the instruction opcode is assembled as syntax 5.
- Syntax 5: If SHFT = 0, the instruction opcode is assembled as syntax 1.
- Syntax 7: If SHFT = 0 and 0 v lk v 255, the instruction opcode is
assembled as syntax 6.
Example 1 LD *AR1, A
Before Instruction After Instruction
A 00 0000 0000 A 00 0000 FEDC
SXM 0 SXM 0
AR1 0200 AR1 0200
Data Memory
0200h FEDC 0200h FEDC
4-68
Load Accumulator With Shift LD
Example 2 LD *AR1, A
Before Instruction After Instruction
A 00 0000 0000 A FF FFFF FEDC
SXM 1 SXM 1
AR1 0200 AR1 0200
Data Memory
0200h FEDC 0200h FEDC
Example 5 LD #248, B
Before Instruction After Instruction
B 00 0000 0000 B 00 0000 00F8
SXM 1 SXM 1
Example 6 LD A, 8, B
Before Instruction After Instruction
A 00 7FFD 0040 A 00 7FF0 0040
B 00 0000 FFFF B 7F FD00 4000
OVB 0 OVB 1
SXM 1 SXM 1
Data Memory
0200h FEDC 0200h FEDC
Syntax 1: LD Smem, T
2: LD Smem, DP
3: LD #k9, DP
4: LD #k5, ASM
5: LD #k3, ARP
6: LD Smem, ASM
For additional load instructions, see Load Accumulator With Shift on page
4-66.
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 0 0 0 I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 0 1 1 0 I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 1 0 1 K K K K K K K K K
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 1 1 0 1 0 0 0 K K K K K
5:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 0 1 0 1 0 0 K K K
6:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 0 1 0 I A A A A A A A
Execution 1: (Smem) T ³
2: (Smem(8–0)) ³ DP
3: k9 DP ³
4: k5 ASM³
5: k3 ARP³
6: (Smem(4–0)) ³ ASM
Status Bits None
4-70
Load T/DP/ASM/ARP LD
Description This instruction loads a value into T or into the DP, ASM, and ARP fields of ST0
or ST1. The value loaded can be a single data-memory operand Smem or a
constant.
Words 1 word
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Smem.
Cycles Syntaxes 1, 3, 4, 5, and 6: 1 cycle
Syntax 2: 3 cycles
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Smem.
Classes Syntaxes 1 and 6: Class 3A (see page 3-5)
Syntaxes 1 and 6: Class 3B (see page 3-6)
Syntax 2: Class 5A (see page 3-9)
Syntax 2: Class 5B (see page 3-9)
Syntaxes 3, 4, and 5: Class 1 (see page 3-3)
Example 1 LD *AR3+, T
Before Instruction After Instruction
T 0000 T FEDC
AR3 0300 AR3 0301
Data Memory
0300h FEDC 0300h FEDC
Example 2 LD *AR4, DP
Before Instruction After Instruction
AR4 0200 AR4 0200
DP 1FF DP 0DC
Data Memory
0200h FEDC 0200h FEDC
Example 3 LD #23, DP
Before Instruction After Instruction
DP 1FF DP 017
Example 5 LD 3, ARP
Before Instruction After Instruction
ARP 0 ARP 3
Example 6 LD 0, ASM
Before Instruction After Instruction
ASM 00 ASM 1C
DP 004 DP 004
Data Memory
0200h FEDC 0200h FEDC
4-72
Load Memory-Mapped Register LDM
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 0 0 D I A A A A A A A
Execution (MMR) ³
dst(15–0)
00 0000h ³
dst(39–16)
Description This instruction loads dst with the value in memory-mapped register MMR.
The nine MSBs of the effective address are cleared to 0 to designate data page
0, regardless of the current value of DP or the upper nine bits of ARx. This
instruction is not affected by the value of SXM.
Words 1 word
Cycles 1 cycle
4-74
Load Accumulator With Parallel Multiply Accumulate With/Without Rounding LD||MAC[R]
Example 2 LD *AR4+, A
||MACR *AR5+, B
Before Instruction After Instruction
A 00 0000 1000 A 00 1234 0000
B 00 0000 1111 B 00 010D 0000
T 0400 T 0400
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0201
Data Memory
0100h 1234 0100h 1234
0200h 4321 0200h 4321
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 0 1 1 R D X X X X Y Y Y Y
Description This instruction loads the high part of dst (bits 31–16) with a 16-bit dual data-
memory operand Xmem shifted left 16 bits. In parallel, this instruction multi-
plies a dual data-memory operand Ymem by the content of T, subtracts the re-
sult of the multiplication from dst_, and stores the result in dst_.
If you use the R suffix, this instruction optionally rounds the result of the multi-
ply and subtract operation by adding 215 to the result and clearing the LSBs
(15–0) to 0, and stores the result in dst_.
Words 1 word
Cycles 1 cycle
4-76
Load Accumulator With Parallel Multiply Subtract With/Without Rounding LD||MAS[R]
Example 1 LD *AR4+, A
||MAS *AR5+, B
Before Instruction After Instruction
A 00 0000 1000 A 00 1234 0000
B 00 0000 1111 B FF FEF3 8D11
T 0400 T 0400
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0201
Data Memory
0100h 1234 0100h 1234
0200h 4321 0200h 4321
Example 2 LD *AR4+, A
||MASR *AR5+, B
Before Instruction After Instruction
A 00 0000 1000 A 00 1234 0000
B 00 0000 1111 B FF FEF4 0000
T 0400 T 0400
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0201
Data Memory
0100h 1234 0100h 1234
0200h 4321 0200h 4321
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 0 1 1 D I A A A A A A A
Description This instruction loads the data-memory value Smem shifted left 16 bits into the
high part of dst (bits 31–16). Smem is rounded by adding 215 to this value and
clearing the 15 LSBs (14–0) of the accumulator to 0. Bit 15 of the accumulator
is set to 1.
Words 1 word
Cycles 1 cycle
4-78
Load Unsigned Memory Value LDU
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 0 0 1 D I A A A A A A A
Execution (Smem) ³
dst(15–0)
00 0000h ³
dst(39–16)
Description This instruction loads the data-memory value Smem into the low part of dst
(bits 15–0). The guard bits and the high part of dst (bits 39–16) are cleared to
0. Data is then treated as an unsigned 16-bit number. There is no sign exten-
sion regardless of the status of the SXM bit.
Words 1 word
Cycles 1 cycle
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 0 0 1 X X X X Y Y Y Y
Description This instruction executes the least mean square (LMS) algorithm. The dual
data-memory operand Xmem is shifted left 16 bits and added to accumulator
A. The result is rounded by adding 215 to the high part of the accumulator (bits
31–16). The result is stored in accumulator A. In parallel, Xmem and Ymem
are multiplied and the result is added to accumulator B. Xmem does not over-
write T; therefore, T always contains the error value used to update coeffi-
cients.
Words 1 word
Cycles 1 cycle
4-80
Load T and Insert Delay LTD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 1 0 0 I A A A A A A A
Execution (Smem) ³T
(Smem) ³ Smem ) 1
Status Bits None
Description This instruction copies the content of a single data-memory location Smem
into T and into the address following this data-memory location. When data is
copied, the content of the address location remains the same. This function
is useful for implementing a Z delay in digital signal processing applications.
This function also contains the memory delay instruction (page 4-41).
Words 1 word
Cycles 1 cycle
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 1 0 R S I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 1 0 R S D X X X X Y Y Y Y
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 1 1 1
16-bit constant
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 0 1 S D I A A A A A A A
16-bit constant
Description This instruction multiplies and adds with or without rounding. The result is
stored in dst or src, as specified. For syntaxes 2 and 4, the data-memory value
after the instruction is stored in T. T is updated in the read phase.
If you use the R suffix, this instruction rounds the result of the multiply and ac-
cumulate operation by adding 215 to the result and clearing the LSBs (15–0)
to 0.
4-82
Multiply Accumulate With/Without Rounding MAC[R]
4-84
Multiply by Accumulator A and Accumulate With/Without Rounding MACA[R]
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 1 R 1 I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 1 0 0 R
Description This instruction multiplies the high part of accumulator A (bits 32–16) by a
single data-memory operand Smem or by the content of T, adds the product
to accumulator B (syntax 1) or to src. The result is stored in accumulator B
(syntax 1) or in dst or src if no dst is specified. A(32–16) is used as a 17-bit
operand for the multiplier.
If you use the R suffix, this instruction rounds the result of the multiply by accu-
mulator A operation by adding 215 to the result and clearing the 16 LSBs of dst
(bits 15–0) to 0.
Words 1 word
Cycles 1 cycle
Example 2 MACA T, B, B
Before Instruction After Instruction
A 00 1234 0000 A 00 1234 0000
B 00 0002 0000 B 00 009D 4BA0
T 0444 T 0444
FRCT 1 FRCT 1
Example 4 MACAR T, B, B
Before Instruction After Instruction
A 00 1234 0000 A 00 1234 0000
B 00 0002 0000 B 00 009D 0000
T 0444 T 0444
FRCT 1 FRCT 1
4-86
Multiply by Program Memory and Accumulate With Delay MACD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 0 1 S I A A A A A A A
16-bit constant
Execution pmad ³
PAR
If (RC) 00
Then
(Smem) (Pmem addressed by PAR) ) (src) ³ src
(Smem) ³ T
(Smem) ³ Smem 1 )
(PAR) + 1 ³ PAR
Else
(Smem) (Pmem addressed by PAR) ) (src) ³ src
(Smem) ³ T
(Smem) ³ Smem 1 )
Status Bits Affected by FRCT and OVM
Affects OVsrc
Description This instruction multiplies a single data-memory value Smem by a program-
memory value pmad, adds the product to src, and stores the result in src. The
data-memory value Smem is copied into T and into the next address following
the Smem address. When this instruction is repeated, the program-memory
address (in the program address register PAR) is incremented by 1. Once the
repeat pipeline is started, the instruction becomes a single-cycle instruction.
This function also contains the memory delay instruction (page 4-41).
Words 2 words
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Smem.
Cycles 3 cycles
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Smem.
Classes Class 23A (see page 3-53)
Class 23B (see page 3-55)
4-88
Multiply by Program Memory and Accumulate MACP
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 0 0 S I A A A A A A A
16-bit constant
Words 2 words
Cycles 3 cycles
4-90
Multiply Signed by Unsigned and Accumulate MACSU
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 0 0 1 1 S X X X X Y Y Y Y
The data addressed by Xmem is fed from the D bus. The data addressed by
Ymem is fed from the C bus.
Words 1 word
Cycles 1 cycle
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 0 1 I A A A A A A A
Description This instruction modifies the content of the selected auxiliary register (ARx) as
specified by Smem. In compatibility mode (CMPT = 1), this instruction modi-
fies the ARx content as well as the auxiliary register pointer (ARP) value.
Words 1 word
Cycles 1 cycle
4-92
Modify Auxiliary Register MAR
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 1 1 R S I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 1 1 R S D X X X X Y Y Y Y
If you use the R suffix, this instruction rounds the result of the multiply and sub-
tract operation by adding 215 to the result and clearing bits 15–0 of the result
to 0.
The data addressed by Xmem is fed from DB and the data addressed by
Ymem is fed from CB.
Words 1 word
Cycles 1 cycle
4-94
Multiply and Subtract With/Without Rounding MAS[R]
4-96
Multiply by Accumulator A and Subtract With/Without Rounding MASA[R]
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 0 1 1 I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 1 0 1 R
Execution 1: (B) *
(Smem) (A(32–16)) B ³
(Smem) ³
T
2: (src) *
(T) (A(32–16)) dst ³
Status Bits Affected by FRCT and OVM
Affects OVdst (or OVsrc, if dst is not specified) and OVB in syntax 1
Description This instruction multiplies the high part of accumulator A (bits 32–16) by a
single data-memory operand Smem or by the content of T, subtracts the result
from accumulator B (syntax 1) or from src. The result is stored in accumulator
B (syntax 1) or in dst or src, if no dst is specified. T is updated with the Smem
value in the read phase.
If you use the R suffix in syntax 2, this instruction optionally rounds the result
of the multiply by accumulator A and subtract operation by adding 215 to the
result and clearing bits 15–0 of the result to 0.
Words 1 word
Cycles 1 cycle
Example 2 MASA T, B
Example 3 MASAR T, B
Before Instruction After Instruction
A 00 1234 0000 A 00 1234 0000
B 00 0002 0000 B FF FF67 0000
T 0444 T 0444
FRCT 1 FRCT 1
4-98
Accumulator Maximum MAX
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 D 1 0 0 0 0 1 1 0
Execution If (A u B)
Then
(A)³ dst
0 ³ C
Else
(B)³ dst
1 ³ C
Description This instruction compares the content of the accumulators and stores the max-
imum value in dst. If the maximum value is in accumulator A, the carry bit, C,
is cleared to 0; otherwise, it is set to 1.
Words 1 word
Cycles 1 cycle
Example 1 MAX A
Before Instruction After Instruction
A FFF6 –10 A FFF6 –10
B FFCB –53 B FFCB –53
C 1 C 0
Example 2 MAX A
Before Instruction After Instruction
A 00 0000 0055 A 00 0000 1234
B 00 0000 1234 B 00 0000 1234
C 0 C 1
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 D 1 0 0 0 0 1 1 1
Execution If (A t B)
Then
(A)³ dst
0 ³ C
Else
(B)³ dst
1 ³ C
Description This instruction compares the content of the accumulators and stores the mini-
mum value in dst. If the minimum value is in accumulator A, the carry bit, C,
is cleared to 0; otherwise, it is set to 1.
Words 1 word
Cycles 1 cycle
Example 1 MIN A
Before Instruction After Instruction
A FFCB –53 A FFCB –53
B FFF6 –10 B FFF6 –10
C 1 C 0
Example 2 MIN A
Before Instruction After Instruction
A 00 0000 1234 A 00 0000 1234
B 00 0000 1234 B 00 0000 1234
C 0 C 1
4-100
Multiply With/Without Rounding MPY[R]
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 0 0 R D I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 0 0 1 0 D X X X X Y Y Y Y
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 0 0 1 D I A A A A A A A
16-bit constant
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 0 D 0 1 1 0 0 1 1 0
16-bit constant
If you use the R suffix, this instruction optionally rounds the result of the multi-
ply operation by adding 215 to the result and then clearing bits 15–0 to 0.
4-102
Multiply With/Without Rounding MPY[R]
Example 4 MPYR 0, B
Before Instruction After Instruction
B FF FE00 0001 B 00 0626 0000
T 1234 T 1234
FRCT 0 FRCT 0
DP 004 DP 004
Data Memory
0200h 5678 0200h 5678
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 D 1 0 0 0 1 1 0 0
4-104
Multiply by Accumulator A MPYA
Example 2 MPYA B
Before Instruction After Instruction
A FF 8765 1111 A FF 8765 1111
B 00 0000 0320 B FF DF4D B2A3
T 4567 T 4567
FRCT 0 FRCT 0
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 0 1 0 D I A A A A A A A
Description This instruction multiplies the unsigned content of T by the unsigned content
of the single data-memory operand Smem, and stores the result in dst. The
multiplier acts as a signed 17 17-bit multiplier for this instruction with the MSB
of both operands cleared to 0. This instruction is particularly useful for comput-
ing multiple-precision products, such as multiplying two 32-bit numbers to
yield a 64-bit product.
Words 1 word
Cycles 1 cycle
4-106
Move Data From Data Memory to Data Memory With X, Y Addressing MVDD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 1 0 1 X X X X Y Y Y Y
Description This instruction copies the content of the data-memory location addressed by
Xmem to the data-memory location addressed by Ymem.
Words 1 word
Cycles 1 cycle
Description This instruction copies the content of a single data-memory operand Smem
to a data-memory location addressed by a 16-bit immediate value dmad (ad-
dress is in the EAB address register EAR). You can use this instruction with
the single-repeat instruction to move consecutive words in data memory (us-
ing indirect addressing). The number of words to be moved is one greater than
the number contained in the repeat counter at the beginning of the instruction.
Once the repeat pipeline is started, the instruction becomes a single-cycle
instruction.
Words 2 words
Cycles 2 cycles
4-108
Move Data From Data Memory to Data Memory With Destination Addressing MVDK
Description This instruction copies data from a data-memory location dmad (address is in
the DAB address register DAR) to a memory-mapped register MMR. The data-
memory value is addressed with a 16-bit immediate value. Once the repeat
pipeline is started, the instruction becomes a single-cycle instruction.
Words 2 words
Cycles 2 cycles
4-110
Move Data From Data Memory to Program Memory MVDP
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 1 0 1 I A A A A A A A
16-bit constant
Description This instruction copies a 16-bit single data-memory operand Smem to a pro-
gram-memory location addressed by a 16-bit immediate value pmad. You can
use this instruction with the repeat instruction to move consecutive words in
data memory (using indirect addressing) to the contiguous program-memory
space addressed by 16-bit immediate values. The source and destination
blocks do not have to be entirely on-chip or off-chip. When used with repeat,
this instruction becomes a single-cycle instruction after the repeat pipeline
starts. In addition, when repeat is used with this instruction, interrupts are in-
hibited. Once the repeat pipeline is started, the instruction becomes a single-
cycle instruction.
Words 2 words
Cycles 4 cycles
4-112
Move Data From Data Memory to Data Memory With Source Addressing MVKD
Description This instruction moves data from data memory to data memory. The source
data-memory value is addressed with a 16-bit immediate operand dmad and
is moved to Smem. You can use this instruction with the single repeat instruc-
tion to move consecutive words in data memory (using indirect addressing).
The number of words to move is one greater than the number contained in the
repeat counter at the beginning of the instruction. Once the repeat pipeline is
started, the instruction becomes a single-cycle instruction.
Words 2 words
Cycles 2 cycles
4-114
Move Data From Memory-Mapped Register to Data Memory MVMD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 0 1 1 I A A A A A A A
16-bit constant
Description This instruction moves data from a memory-mapped register MMR to data
memory. The data-memory destination is addressed with a 16-bit immediate
value dmad. Once the repeat pipeline is started, the instruction becomes a
single-cycle instruction.
Words 2 words
Cycles 2 cycles
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 1 1 1 M M R X M M R Y
AR4 0100
Description This instruction moves the content of memory-mapped register MMRx to the
memory-mapped register MMRy. Only nine operands are allowed: AR0–AR7
and SP. The read operation from MMRx is executed in the decode phase. The
write operation to MMRy is executed in the access phase.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 1 cycle
4-116
Move Data From Program Memory to Data Memory MVPD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 1 0 0 I A A A A A A A
16-bit constant
Description This instruction moves a word in program memory addressed by a 16-bit im-
mediate value pmad to a data-memory location addressed by Smem. This
instruction can be used with the repeat instruction to move consecutive words
addressed by a 16-bit immediate program address to contiguous data-
memory locations addressed by Smem. The source and destination blocks do
not have to be entirely on-chip or off-chip. When used with repeat, this instruc-
tion becomes a single-cycle instruction after the repeat pipeline starts. In addi-
tion, when repeat is used with this instruction, interrupts are inhibited. Once
the repeat pipeline is started, the instruction becomes a single-cycle instruc-
tion.
Words 2 words
Cycles 3 cycles
4-118
Negate Accumulator NEG
Example 2 NEG B, A
Before Instruction After Instruction
A 00 0000 1234 A FF 8000 0000
B 00 8000 0000 B 00 8000 0000
OVB 0 OVB 0
Example 3 NEG A
Before Instruction After Instruction
A 80 0000 0000 A 80 0000 0000
OVA 0 OVA 1
OVM 0 OVM 0
Example 4 NEG A
Before Instruction After Instruction
A 80 0000 0000 A 00 7FFF FFFF
OVA 0 OVA 1
OVM 1 OVM 1
4-120
No Operation NOP
Syntax NOP
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 0 1 0 0 1 0 1 0 1
Execution None
Words 1 word
Cycles 1 cycle
Example NOP
No operation is performed.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 1 1 1 1
Description The signed number contained in src is normalized and the value is stored in
dst or src, if dst is not specified. Normalizing a fixed-point number separates
the number into a mantissa and an exponent by finding the magnitude of the
sign-extended number.
Words 1 word
Cycles 1 cycle
Example 1 NORM A
Before Instruction After Instruction
A FF FFFF F001 A FF 8008 0000
T 0013 T 0013
Example 2 NORM B, A
Before Instruction After Instruction
A FF FFFF F001 A 00 4214 1414
B 21 0A0A 0A0A B 21 0A0A 0A0A
T 0FF9 T 0FF9
4-122
OR With Accumulator OR
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 1 0 1 S I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 0 0 S H F T
16-bit constant
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 1 0 0
16-bit constant
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 1 0 1 S H I F T
Description This instruction ORs the src with a single data-memory operand Smem, a left-
shifted 16-bit immediate value lk, dst, or with itself. The result is stored in dst,
or src if dst is not specified. The values can be shifted as indicated by the
instruction. For a positive (left) shift, low-order bits are cleared and high-order
bits are not sign extended. For a negative (right) shift, high-order bits are not
sign extended.
Example 1 OR *AR3+, A
Before Instruction After Instruction
A 00 00FF 1200 A 00 00FF 1700
AR3 0100 AR3 0101
Data Memory
0100h 1500 0100h 1500
Example 2 OR A, +3, B
Before Instruction After Instruction
A 00 0000 1200 A 00 0000 1200
B 00 0000 1800 B 00 0000 9800
4-124
OR Memory With Constant ORM
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 0 0 1 I A A A A A A A
16-bit constant
Description This instruction ORs the single data-memory operand Smem with a 16-bit
constant lk, and stores the result in Smem. This instruction is a memory-to-
memory operation.
Note:
This instruction is not repeatable.
Words 2 words
Cycles 2 cycles
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 1 1 0 I A A A A A A A
Description This instruction shifts the content of the single data-memory operand Smem
16 bits to the left and stores the result in accumulator B. In parallel, this instruc-
tion multiplies the high part of accumulator A (bits 32–16) by the content of T,
adds the product to accumulator B, rounds the result of this operation, and
stores the final result in accumulator A. This instruction is useful for polynomial
evaluation to implement computations that take one cycle per monomial to
execute.
Words 1 word
Cycles 1 cycle
4-126
Pop Top of Stack to Data Memory POPD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 1 0 1 1 I A A A A A A A
Description This instruction moves the content of the data-memory location addressed by
SP to the memory location specified by Smem. SP is incremented by 1.
Words 1 word
Cycles 1 cycle
Example POPD 10
Before Instruction After Instruction
DP 008 DP 008
SP 0300 SP 0301
Data Memory
0300h 0092 0300h 0092
040Ah 0055 040Ah 0092
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 1 0 1 0 I A A A A A A A
Description This instruction moves the content of the data-memory location addressed by
SP to the specified memory-mapped register MMR. SP is incremented by 1.
Words 1 word
Cycles 1 cycle
4-128
Read Data From Port PORTR
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 1 0 0 I A A A A A A A
Port address
Description This instruction reads a 16-bit value from an external I/O port PA (16-bit
immediate address) into the specified data-memory location Smem. The IS
signal goes low to indicate an I/O access, and the IOSTRB and READY timings
are the same as for an external data memory read.
Words 2 words
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 1 0 1 I A A A A A A A
Port address
Execution (Smem) ³ PA
Status Bits None
Description This instruction writes a 16-bit value from the specified data-memory location
Smem to an external I/O port PA. The IS signal goes low to indicate an I/O
access, and the IOSTRB and READY timings are the same as for an external
data memory read.
Words 2 words
4-130
Push Data-Memory Value Onto Stack PSHD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 0 1 1 I A A A A A A A
Execution (SP) * ³ SP
1
(Smem) ³ TOS
Status Bits None
Description After SP has been decremented by 1, this instruction stores the content of the
memory location Smem in the data-memory location addressed by SP. SP is
read during the decode phase; it is stored during the access phase.
Words 1 word
Cycles 1 cycle
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 0 1 0 I A A A A A A A
Execution (SP) * ³
1 SP
(MMR) ³TOS
Description After SP has been decremented by 1, this instruction stores the content of the
memory-mapped register MMR in the data-memory location addressed by SP.
Words 1 word
Cycles 1 cycle
4-132
Return Conditionally RC[D]
Operands The following table lists the conditions (cond operand) for this instruction.
Condition Condition
Cond Description Code Cond Description Code
BIO BIO low 0000 0011 NBIO BIO high 0000 0010
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 1 Z 0 C C C C C C C C
Execution If (cond(s))
Then
(TOS) ³ PC
(SP) + 1³ SP
Else
(PC) + 1 ³ PC
Description If the conditions given by cond are met, this instruction replaces the PC with
the data-memory value from the TOS and increments the SP by 1. If the condi-
tions are not met, this instruction just increments the PC by 1.
If the return is delayed (specified by the D suffix), the two 1-word instructions
or one 2-word instruction following this instruction is fetched and executed.
The two instruction words following this instruction have no effect on the condi-
tion(s) being tested.
This instruction tests multiple conditions before passing control to another sec-
tion of the program. It can test the conditions individually or in combination with
other conditions. You can combine conditions from only one group as follows:
LT
LEQ
GT
GEQ
Note:
This instruction is not repeatable.
Words 1 word
4-134
Return Conditionally RC[D]
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 1 1 0 I A A A A A A A
Execution A ³ PAR
0
If ((RC) 0)
(Pmem (addressed by PAR)) ³ Smem
(PAR) + 1 PAR³
(RC) – 1 RC ³
Else
(Pmem (addressed by PAR)) ³ Smem
Status Bits None
A(15–0) A(22–0)
This instruction can be used with the repeat instruction to move consecutive
words (starting with the address specified in accumulator A) to a contiguous
data-memory space addressed using indirect addressing. Source and des-
tination blocks do not need to be entirely on-chip or off-chip.
Words 1 word
Cycles 5 cycles
4-136
Read Program Memory Addressed by Accumulator A and Store in Data Memory READA
Example READA 6
Before Instruction After Instruction
A 00 0000 0023 A 00 0000 0023
DP 004 DP 004
Program Memory
0023h 0306 0023h 0306
Data Memory
0206h 0075 0206h 0306
Syntax RESET
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 1 1 1 1 1 0 0 0 0 0
Execution These fields of PMST, ST0, and ST1 are loaded with the values shown:
0 ³ DP 1 ³ SXM 0 ³ ASM
0 ³ BRAF 0 ³ HM 1 ³ XF
0 ³ OVM
Status Bits The status bits affected are listed in the execution section.
Description This instruction performs a nonmaskable software reset that can be used at
any time to put the ’54x into a known state. When the reset instruction is
executed, the operations listed in the execution section occur. The MP/MC pin
is not sampled during this software reset. The initialization of IPTR and the pe-
ripheral registers is different from the initialization using RS. This instruction
is not affected by INTM; however, it sets INTM to 1 to disable interrupts.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 3 cycles
Example RESET
Before Instruction After Instruction
PC 0025 PC 0080
INTM 0 INTM 1
IPTR 1 IPTR 1
4-138
Return RET[D]
Syntax RET[D]
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 1 Z 0 0 0 0 0 0 0 0 0
Description This instruction replaces the value in the PC with the 16-bit value from the
TOS. The SP is incremented by 1. If the return is delayed (specified by the D
suffix), the two 1-word instructions or one 2-word instruction following this
instruction is fetched and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 5 cycles
3 cycles (delayed)
Example RET
Before Instruction After Instruction
PC 2112 PC 1000
SP 0300 SP 0301
Data Memory
0300h 1000 0300h 1000
Syntax RETE[D]
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z 0 1 1 1 0 1 0 1 1
Execution (TOS) ³ PC
(SP) ) ³
1 SP
0 ³ INTM
Description This instruction replaces the value in the PC with the 16-bit value from the
TOS. Execution continues from this address. The SP is incremented by 1. This
instruction automatically clears the interrupt mask bit (INTM) in ST1. (Clearing
this bit enables interrupts.) If the return is delayed (specified by the D suffix),
the two 1-word instructions or one 2-word instruction following this instruction
is fetched and executed.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 5 cycles
3 cycles (delayed)
Example RETE
Before Instruction After Instruction
PC 01C3 PC 0110
SP 2001 SP 2002
ST1 xCxx ST1 x4xx
Data Memory
2001h 0110 2001h 0110
4-140
Enable Interrupts and Fast Return From Interrupt RETF[D]
Syntax RETF[D]
Operands None
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 Z 0 1 0 0 1 1 0 1 1
Execution (RTN) ³ PC
(SP) ) ³
1 SP
0³ INTM
Description This instruction replaces the value in the PC with the 16-bit value in RTN. RTN
holds the address to which the interrupt service routine should return. RTN is
loaded into the PC during the return instead of reading the PC from the stack.
The SP is incremented by 1. This instruction automatically clears the interrupt
mask bit (INTM) in ST1. (Clearing this bit enables interrupts.) If the return is
delayed (specified by the D suffix), the two 1-word instructions or one 2-word
instruction following this instruction is fetched and executed.
Note:
You can use this instruction only if no call is performed during the interrupt
service routine and no other interrupt routine is taken.
This instruction is not repeatable.
Words 1 word
Cycles 3 cycles
1 cycle (delayed)
Example RETF
Before Instruction After Instruction
PC 01C3 PC 0110
SP 2001 SP 2002
ST1 xCxx ST1 x4xx
Data Memory
2001h 0110 2001h 0110
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 1 1 1 1 1
Description This instruction rounds the content of src (either A or B) by adding 215. The
rounded value is stored in dst or src, if dst is not specified.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 1 cycle
Example 1 RND A, B
Before Instruction After Instruction
A FF FFFF FFFF A FF FFFF FFFF
B 00 0000 0001 B 00 0000 7FFF
OVM 0 OVM 0
Example 2 RND A
Before Instruction After Instruction
A 00 7FFF FFFF A 00 7FFF FFFF
OVM 1 OVM 1
4-142
Rotate Accumulator Left ROL
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 1 0 0 0 1
Description This instruction rotates each bit of src left 1 bit. The value of the carry bit, C,
before the execution of the instruction is shifted into the LSB of src. Then, the
MSB of src is shifted into C. The guard bits of src are cleared.
Words 1 word
Cycles 1 cycle
Example ROL A
Before Instruction After Instruction
A 5F B000 1234 A 00 6000 2468
C 0 C 1
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 1 0 0 1 0
Description This instruction rotates each bit of src left 1 bit. The value of the TC bit before
the execution of the instruction is shifted into the LSB of src. Then, the MSB
of src is shifted into C. The guard bits of src are cleared.
Words 1 word
Cycles 1 cycle
Example ROLTC A
Before Instruction After Instruction
A 81 C000 5555 A 00 8000 AAAB
C x C 1
TC 1 TC 1
4-144
Rotate Accumulator Right ROR
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 1 0 0 0 0
Execution (C) ³
src(31)
(src(31–1)) ³
src(30–0)
(src(0)) C³
0 ³ src(39–32)
Description This instruction rotates each bit of src right 1 bit. The value of the carry bit, C,
before the execution of the instruction is shifted into the MSB of src. Then, the
LSB of src is shifted into C. The guard bits of src are cleared.
Words 1 word
Cycles 1 cycle
Example ROR A
Before Instruction After Instruction
A 7F B000 1235 A 00 5800 091A
C 0 C 1
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 1 1 0 0 K K K K K K K K
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0
16-bit constant
Execution 1: (Smem) ³ RC
2: K RC ³
3: lk RC ³
Status Bits None
Description The repeat counter (RC) is loaded with the number of iterations when this
instruction is executed. The number of iterations (n) is given in a 16-bit single
data-memory operand Smem or an 8- or 16-bit constant, K or lk, respectively.
The instruction following the repeat instruction is repeated n + 1 times. You
cannot access RC while it decrements.
Note:
This instruction is not repeatable.
4-146
Repeat Next Instruction RPT
Execution 1 ³BRAF
If (delayed) then
(PC) + 4 RSA ³
Else
(PC) + 2 RSA ³
pmad ³
REA
Description This instruction repeats a block of instructions the number of times specified
by the memory-mapped block-repeat counter (BRC). BRC must be loaded be-
fore the execution of this instruction. When this instruction is executed, the
block-repeat start address register (RSA) is loaded with PC + 2 (or PC + 4 if
you use the delayed instruction) and the block-repeat end address register
(REA) is loaded with the program-memory address (pmad).
In a delayed block repeat (specified by the D suffix), the two 1-word instruc-
tions or the one 2-word instruction following this instruction is fetched and
executed.
Note:
Block repeat can be deactivated by clearing the BRAF bit.
This instruction is not repeatable.
Words 2 words
Cycles 4 cycles
2 cycles (delayed)
4-148
Block Repeat RPTB[D]
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 0 D 0 1 1 1 0 0 0 1
16-bit constant
Execution 0 ³ dst
lk ³ RC
Status Bits None
Description This instruction clears dst and repeats the next instruction n + 1 times, where
n is the value in the repeat counter (RC). The RC value is obtained from the
16-bit constant lk.
Words 2 words
Cycles 2 cycles
4-150
Reset Status Register Bit RSBX
Operands 0 v SBIT v 15
N + 0 or 1
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 N 0 1 0 1 1 S B I T
Execution 0 ³ STN(SBIT)
Status Bits None
Description This instruction clears the specified bit in status register 0 or 1 to a logic 0. N
designates the status register to modify and SBIT specifies the bit to be modi-
fied. The name of a field in a status register can be used as an operand instead
of the N and SBIT operands (see Example1).
Note:
This instruction is not repeatable.
Words 1 word
Cycles 1 cycle
The following table lists the conditions (cond operand) for this instruction.
Condition Condition
Cond Description Code Cond Description Code
AEQ (A) = 0 0101 BEQ (B) = 0 1101
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 1 1 1 S X X X X C O N D
Execution If (cond)
Then
(src) << (ASM – 16) ³ Xmem
Else
(Xmem) ³ (Xmem)
Description If the condition is true, this instruction stores src left-shifted by (ASM – 16). The
shift value is in the memory location designated by Xmem. If the condition is
false, the instruction reads Xmem and writes the value in Xmem back to the
same address; thus, Xmem remains the same. Regardless of the condition,
Xmem is always read and updated.
Words 1 word
Cycles 1 cycle
4-152
Store Accumulator Conditionally SACCD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 0 0 0 1 1
Description Regardless of the OVM value, this instruction allows the saturation of the con-
tent of src on 32 bits.
Words 1 word
Cycles 1 cycle
Example 1 SAT B
Before Instruction After Instruction
B 71 2345 6789 B 00 7FFF FFFF
OVB x OVB 1
Example 2 SAT A
Before Instruction After Instruction
A F8 1234 5678 A FF 8000 0000
OVA x OVA 1
Example 3 SAT B
Before Instruction After Instruction
B 00 0012 3456 B 00 0012 3456
OVB x OVB 0
4-154
Shift Accumulator Arithmetically SFTA
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 0 1 1 S H I F T
Description This instruction arithmetically shifts src and stores the result in dst or src, if dst
is not specified. The execution of the instruction depends on the SHIFT value:
Words 1 word
Cycles 1 cycle
Example 2 SFTA B, +5
Before Instruction After Instruction
B 80 AA00 1234 B 15 4002 4680
C 0 C 1
OVM 0 OVM 0
SXM 0 SXM 0
4-156
Shift Accumulator Conditionally SFTC
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 S 1 0 0 1 0 1 0 0
Execution If (src) = 0
Then
1 ³ TC
Else
If (src(31)) XOR (src(30)) = 0
Then (two significant sign bits)
0 ³ TC
(src) << 1 ³
src
Else (only one sign bit)
1 ³ TC
Description If src has two significant sign bits, this instruction shifts the 32-bit src left by 1
bit. If there are two sign bits, the test control (TC) bit is cleared to 0; otherwise,
it is set to 1.
Words 1 word
Cycles 1 cycle
Example SFTC A
Before Instruction After Instruction
A FF FFFF F001 A FF FFFF E002
TC x TC 0
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 1 1 1 S H I F T
Description This instruction logically shifts src and stores the result in dst or src, if dst is
not specified. The guard bits of dst or src, if dst is not specified, are also
cleared. The execution of the instruction depends on the SHIFT value:
Words 1 word
Cycles 1 cycle
4-158
Shift Accumulator Logically SFTL
Example 2 SFTL B, +5
Before Instruction After Instruction
B 80 AA00 1234 B 00 4002 4680
C 0 C 1
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 0 1 0 X X X X Y Y Y Y
Description Used in repeat single mode, this instruction computes the square of the dis-
tance between two vectors. The high part of accumulator A (bits 32–16) is
squared, the product is added to accumulator B, and the result is stored in ac-
cumulator B. Ymem is subtracted from Xmem, the difference is shifted 16 bits
left, and the result is stored in accumulator A. The value to be squared
(A(32–16)) is the value of the accumulator before the subtraction is executed
by this instruction.
Words 1 word
Cycles 1 cycle
4-160
Square SQUR
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 0 0 1 1 D I A A A A A A A
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 D 1 0 0 0 1 1 0 1
Execution 1: (Smem) T ³
(Smem) (Smem) dst ³
2: (A(32–16)) (A(32–16)) ³ dst
Status Bits Affected by OVM and FRCT
Affects OVsrc
Description This instruction squares a single data-memory operand Smem or the high part
of accumulator A (bits 32–16) and stores the result in dst. T is unaffected when
accumulator A is used; otherwise, Smem is stored in T.
Words 1 word
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Smem.
Cycles 1 cycle
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Smem.
Classes Syntax 1: Class 3A (see page 3-5)
Syntax 1: Class 3B (see page 3-6)
Syntax 2: Class 1 (see page 3-3)
Example 1 SQUR 30, B
Before Instruction After Instruction
B 00 0000 01F4 B 00 0000 00E1
T 0003 T 000F
FRCT 0 FRCT 0
DP 006 DP 006
Data Memory
031Eh 000F 031Eh 000F
Example 2 SQUR A, B
Before Instruction After Instruction
A 00 000F 0000 A 00 000F 0000
B 00 0101 0101 B 00 0000 01C2
FRCT 1 FRCT 1
4-162
Square and Accumulate SQURA
Execution (Smem) ³T
(Smem) (Smem) ) (src) ³ src
Status Bits Affected by OVM and FRCT
Affects OVsrc
Description This instruction stores the data-memory value Smem in T, then it squares
Smem and adds the product to src. The result is stored in src.
Words 1 word
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Smem.
Cycles 1 cycle
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Smem.
Classes Class 3A (see page 3-5)
Class 3B (see page 3-6)
Example 1 SQURA 30, B
Before Instruction After Instruction
B 00 0320 0000 B 00 0320 00E1
T 0003 T 000F
FRCT 0 FRCT 0
DP 006 DP 006
Data Memory
031Eh 000F 031Eh 000F
Execution (Smem) T ³
(src) – (Smem) (Smem) ³ src
Status Bits Affected by OVM and FRCT
Affects OVsrc
Description This instruction stores the data-memory value Smem in T, then it squares
Smem and subtracts the product from src. The result is stored in src.
Words 1 word
Add 1 word when using long-offset indirect addressing or absolute addressing
with an Smem.
Cycles 1 cycle
Add 1 cycle when using long-offset indirect addressing or absolute addressing
with an Smem.
Classes Class 3A (see page 3-5)
Class 3B (see page 3-6)
Example 1 SQURS 9, A
Before Instruction After Instruction
A 00 014B 5DB0 A 00 0000 0320
T 8765 T 1234
FRCT 0 FRCT 0
DP 006 DP 006
Data Memory
0309h 1234 0309h 1234
4-164
Store Block Repeat Counter Conditionally SRCCD
The following table lists the conditions (cond operand) for this instruction.
Condition Condition
Cond Description Code Cond Description Code
AEQ (A) = 0 0101 BEQ (B) = 0 1101
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 1 1 0 1 X X X X C O N D
Execution If (cond)
Then
(BRC) ³
Xmem
Else
(Xmem) ³
Xmem
Description If the condition is true, this instruction stores the content of the block-repeat
counter (BRC) in Xmem. If the condition is false, the instruction reads Xmem
and writes the value in Xmem back to the same address; thus, Xmem remains
the same. Regardless of the condition, Xmem is always read and updated.
Words 1 word
Cycles 1 cycle
Operands 0 v
SBIT v 15
N = 0 or 1
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 N 1 1 0 1 1 S B I T
Execution 1 ³ STN(SBIT)
Status Bits None
Description This instruction sets the specified bit in status register 0 or 1 to a logic 1. N des-
ignates the status register to modify and SBIT specifies the bit to be modified.
The name of a field in a status register can be used as an operand instead of
the N and SBIT operands (see Example 1).
Note:
This instruction is not repeatable.
Words 1 word
Cycles 1 cycle
4-166
Store T, TRN, or Immediate Value Into Memory ST
Syntax 1: ST T, Smem
2: ST TRN, Smem
3: ST #lk, Smem
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 1 1 0 1 I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 1 1 0 I A A A A A A A
16-bit constant
Execution 1: (T) ³
Smem
2: (TRN) ³
Smem
3: lk ³
Smem
Description This instruction stores the content of T, the transition register (TRN), or a 16-bit
constant lk in data-memory location Smem.
Example 1 ST FFFFh, 0
Before Instruction After Instruction
DP 004 DP 004
Data Memory
0200h 0101 0200h FFFF
Example 2 ST TRN, 5
Before Instruction After Instruction
DP 004 DP 004
TRN 1234 TRN 1234
Data Memory
0205h 0030 0205h 1234
Example 3 ST T, *AR7–
Before Instruction After Instruction
T 4210 T 4210
AR7 0321 AR7 0320
Data Memory
0321h 1200 0321h 4210
4-168
Store Accumulator High Into Memory STH
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 0 1 1 S I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 1 0 1 S X X X X S H F T
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 1 1 I A A A A A A A
0 0 0 0 1 1 0 S 0 1 1 S H I F T
Execution 1: (src(31–16)) ³
Smem
2: (src) << (ASM – 16) Smem ³
3: (src) << (SHFT – 16) Xmem ³
4: (src) << (SHIFT – 16) Smem ³
Status Bits Affected by SXM
Description This instruction stores the high part of src (bits 31–16) in data-memory location
Smem. The src is shifted left (as specified by ASM, SHFT, or SHIFT) and bits
31–16 of the shifted value are stored in data memory (Smem or Xmem). If
SXM = 0, bit 39 of src is copied in the MSBs of the data-memory location. If
SXM = 1, the sign-extended value with bit 39 of src is stored in the MSBs of
the data-memory location after being right-shifted by the exceeding guard bit
margin. The src remains unaffected.
Notes:
The following syntaxes are assembled as a different syntax in certain cases.
- Syntax 4: If 0 t v
SHIFT 15 and an indirect modifier is equal to one of
the Xmem modes, the instruction opcode is assembled as syntax 3.
Example 1 STH A, 10
Before Instruction After Instruction
A FF 8765 4321 A FF 8765 4321
DP 004 DP 004
Data Memory
020Ah 1234 020Ah 8765
4-170
Store Accumulator High Into Memory STH
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 0 1 0 S I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 1 0 0 S X X X X S H F T
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 1 1 I A A A A A A A
0 0 0 0 1 1 0 S 1 0 0 S H I F T
Execution 1: (src(15–0)) ³
Smem
2: (src) << ASM ³
Smem
3: (src) << SHFT ³
Xmem
4: (src) << SHIFT ³
Smem
Description This instruction stores the low part of src (bits 15–0) in data-memory location
Smem. The src is shifted left (as specified by ASM, SHFT, or SHIFT) and bits
15–0 of the shifted value are stored in data memory (Smem or Xmem). When
the shifted value is positive, zeros are shifted into the LSBs.
4-172
Store Accumulator Low Into Memory STL
Notes:
The following syntaxes are assembled as a different syntax in certain cases.
- Syntax 4: If 0 t v
SHIFT 15 and an indirect modifier is equal to one of
the Xmem modes, the instruction opcode is assembled as syntax 3.
Example 1 STL A, 11
Before Instruction After Instruction
A FF 8765 4321 A FF 8765 4321
DP 004 DP 004
Data Memory
020Bh 1234 020Bh 4321
Example 3 STL A, 7, 11
Before Instruction After Instruction
A FF 8421 1234 A FF 8421 1234
DP 004 DP 004
Data Memory
020Bh 0101 020Bh 1A00
4-174
Store Accumulator Low Into Memory-Mapped Register STLM
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 0 1 0 0 S I A A A A A A A
Description This instruction stores the low part of src (bits 15–0) into the addressed
memory-mapped register MMR. The nine MSBs of the effective address are
cleared to 0 regardless of the current value of DP or of the upper nine bits of
ARx. This instruction allows src to be stored in any memory location on data
page 0 without modifying the DP field in status register ST0.
Words 1 word
Cycles 1 cycle
Execution lk ³ MMR
Status Bits None
Words 2 words
Cycles 2 cycles
4-176
Store Accumulator With Parallel Add ST||ADD
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 S D X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction adds the content of dst_ to the data-memory
operand Xmem shifted left 16 bits, and stores the result in dst. If src is equal
to dst, the value stored in Ymem is the value of src before the execution.
Words 1 word
Cycles 1 cycle
Example ST A, *AR3
||ADD *AR5+0%, B
Before Instruction After Instruction
A FF 8421 1000 A FF 8021 1000
B 00 0000 1111 B FF 0422 1000
OVM 0 OVM 0
SXM 1 SXM 1
ASM 1 ASM 1
AR0 0002 AR0 0002
AR3 0200 AR3 0200
AR5 0300 AR5 0302
Data Memory
0200h 0101 0200h 0842
0300h 8001 0300h 8001
Opcode 1:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 1 0 S D X X X X Y Y Y Y
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 0 0 1 S 0 X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction loads the 16-bit dual data-memory operand
Xmem to dst or T. If src is equal to dst, the value stored in Ymem is the value
of src before the execution.
Words 1 word
Cycles 1 cycle
4-178
Store Accumulator With Parallel Load ST||LD
Example 1 ST B, *AR2–
||LD *AR4+, A
Before Instruction After Instruction
A 00 0000 001C A FF 8001 0000
B FF 8421 1234 B FF 8421 1234
SXM 1 SXM 1
ASM 1C ASM 1C
AR2 01FF AR2 01FE
AR4 0200 AR4 0201
Data Memory
01FFh xxxx 01FFh F842
0200h 8001 0200h 8001
Example 2 ST A, *AR3
||LD *AR4, T
Before Instruction After Instruction
A FF 8421 1234 A FF 8421 1234
T 3456 T 80FF
ASM 1 ASM 1
AR3 0200 AR3 0200
AR4 0100 AR4 0100
Data Memory
0200h 0001 0200h 0842
0100h 80FF 0100h 80FF
Example 3 ST A, *AR2+
||LD *AR2–, A
In Example 3, the LD reads the source operand at the memory location pointed
to by AR2 before the ST writes to the same location. The ST reads the source
operand of accumulator A before LD loads accumulator A.
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 1 0 R S D X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction multiplies the content of T by the data-
memory operand Xmem, adds the value in dst (with or without rounding), and
stores the result in dst. If src is equal to dst, the value stored in Ymem is the
value of src before the execution of this instruction.
If you use the R suffix, this instruction rounds the result of the multiply accumu-
late operation by adding 215 to the result and clearing the LSBs (bits 15–0) to
0.
Words 1 word
Cycles 1 cycle
4-180
Store Accumulator With Parallel Multiply Accumulate With/Without Rounding ST||MAC[R]
Example 1 ST A, *AR4–
||MAC *AR5, B
Before Instruction After Instruction
A 00 0011 1111 A 00 0011 1111
B 00 0000 1111 B 00 010C 9511
T 0400 T 0400
ASM 5 ASM 5
FRCT 0 FRCT 0
AR4 0100 AR4 00FF
AR5 0200 AR5 0200
Data Memory
100h 1234 100h 0222
200h 4321 200h 4321
Example 2 ST A, *AR4+
||MACR *AR5+, B
Before Instruction After Instruction
A 00 0011 1111 A 00 0011 1111
B 00 0000 1111 B 00 010D 0000
T 0400 T 0400
ASM 1C ASM 1C
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0201
Data Memory
100h 1234 100h 0001
200h 4321 200h 4321
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 1 1 R S D X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction multiplies the content of T by the data-
memory operand Xmem, subtracts the value from dst (with or without round-
ing), and stores the result in dst. If src is equal to dst, the value stored in Ymem
is the value of src before the execution of this instruction.
If you use the R suffix, this instruction optionally rounds the result of the multi-
ply subtract operation by adding 215 to the result and clearing the LSBs (bits
15–0) to 0.
Words 1 word
Cycles 1 cycle
4-182
Store Accumulator With Parallel Multiply Subtract With/Without Rounding ST||MAS[R]
Example 1 ST A, *AR4+
||MAS *AR5, B
Before Instruction After Instruction
A 00 0011 1111 A 00 0011 1111
B 00 0000 1111 B FF FEF3 8D11
T 0400 T 0400
ASM 5 ASM 5
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0200
Data Memory
0100h 1234 0100h 0222
0200h 4321 0200h 4321
Example 2 ST A, *AR4+
||MASR *AR5+, B
Before Instruction After Instruction
A 00 0011 1111 A 00 0011 1111
B 00 0000 1111 B FF FEF4 0000
T 0400 T 0400
ASM 0001 ASM 0001
FRCT 0 FRCT 0
AR4 0100 AR4 0101
AR5 0200 AR5 0201
Data Memory
0100h 1234 0100h 0022
0200h 4321 0200h 4321
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 1 1 S D X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction multiplies the content of T by the 16-bit dual
data-memory operand Xmem, and stores the result in dst. If src is equal to dst,
then the value stored in Ymem is the value of src before the execution.
Words 1 word
Cycles 1 cycle
Example ST A, *AR3+
||MPY *AR5+, B
Before Instruction After Instruction
A FF 8421 1234 A FF 8421 1234
B xx xxxx xxxx B 00 2000 0000
T 4000 T 4000
ASM 00 ASM 00
FRCT 1 FRCT 1
AR3 0200 AR3 0201
AR5 0300 AR5 0301
Data Memory
0200h 1111 0200h 8421
0300h 4000 0300h 4000
4-184
Store Accumulator With Parallel Subtract ST||SUB
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 1 S D X X X X Y Y Y Y
Description This instruction stores src shifted by (ASM – 16) in data-memory location
Ymem. In parallel, this instruction subtracts the content of dst_ from the 16-bit
dual data-memory operand Xmem shifted left 16 bits, and stores the result in
dst. If src is equal to dst, then the value stored in Ymem is the value of src be-
fore the execution.
Words 1 word
Cycles 1 cycle
Example ST A, *AR3–
||SUB *AR5+0%, B
Before Instruction After Instruction
A FF 8421 0000 A FF 8421 0000
B 00 1000 0001 B FF FBE0 0000
ASM 01 ASM 01
SXM 1 SXM 1
AR0 0002 AR0 0002
AR3 01FF AR3 01FE
AR5 0300 AR5 0302
Data Memory
01FFh 1111 01FFh 0842
0300h 8001 0300h 8001
The following table lists the conditions (cond operand) for this instruction.
Condition Condition
Cond Description Code Cond Description Code
AEQ (A) = 0 0101 BEQ (B) = 0 1101
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 1 1 0 0 X X X X C O N D
Execution If (cond)
(T) ³
Xmem
Else
(Xmem) ³
Xmem
Description If the condition is true, this instruction stores the content of T into the data-
memory location Xmem. If the condition is false, the instruction reads Xmem
and writes the value in Xmem back to the same address; thus, Xmem remains
the same. Regardless of the condition, Xmem is always read and updated.
Words 1 word
Cycles 1 cycle
4-186
Subtract From Accumulator SUB
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 1 1 0 S I A A A A A A A
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 0 0 S D I A A A A A A A
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 1 1 1 I A A A A A A A
0 0 0 0 1 1 S D 0 0 1 S H I F T
5:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 0 1 0 0 1 S X X X X S H F T
6:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 0 1 0 0 0 1 D X X X X Y Y Y Y
7:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 0 0 1 S H F T
16-bit constant
8:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 0 0 1
16-bit constant
9:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 0 0 1 S H I F T
10:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 S D 1 0 0 0 0 0 0 1
4-188
Subtract From Accumulator SUB
Notes:
The following syntaxes are assembled as a different syntax in certain cases.
- Syntax 4: If dst = src and SHIFT = 0, then the instruction opcode is
assembled as syntax 1.
- v
Syntax 4: If dst = src, SHIFT 15, and Smem indirect addressing mode
is included in Xmem, then the instruction opcode is assembled as
syntax 1.
Example 4 ST B, *AR2–
||LD *AR4+, A
Before Instruction After Instruction
A 00 0000 001C A FF 8001 0000
B FF 8421 1234 B FF 8421 1234
SXM 1 SXM 1
ASM 1C ASM 1C
AR2 01FF AR2 01FE
AR4 0200 AR4 0201
Data Memory
01FFh xxxx 01FFh F842
0200h 8001 0200h 8001
Example 5 ST A, *AR3
||LD *AR4, T
Before Instruction After Instruction
A FF 8421 1234 A FF 8421 1234
T 3456 T 80FF
ASM 1 ASM 1
AR3 0200 AR3 0200
AR4 0100 AR4 0100
Data Memory
0200h 0001 0200h 0842
0100h 80FF 0100h 80FF
Example 6 ST A, *AR2+
||LD *AR2–, A
In Example 6, the LD reads the source operand at the memory location pointed
to by AR2 before the ST writes to the same location. The ST reads the source
operand of accumulator A before LD loads accumulator A.
4-190
Subtract From Accumulator With Borrow SUBB
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 1 1 1 1 S I A A A A A A A
Description This instruction subtracts the 16-bit single data-memory operand Smem, left-
shifted 15 bits, from the content of src. If the result is greater than 0, it is shifted
1 bit left, 1 is added to the result, and the result is stored in src. Otherwise, this
instruction shifts the content of src 1 bit left and stores the result in src.
The divisor and the dividend are both assumed to be positive in this instruction.
The SXM bit affects this operation in these ways:
The dividend, which is in src, must initially be positive (bit 31 must be 0) and
must remain positive following the accumulator shift, which occurs in the first
portion of the instruction.
This instruction affects OVA or OVB (depending on src) but is not affected by
OVM; therefore, src does not saturate on positive or negative overflows when
executing this instruction.
Words 1 word
Cycles 1 cycle
4-192
Subtract Conditionally SUBC
Example 1 SUBC 2, A
Before Instruction After Instruction
A 00 0000 0004 A 00 0000 0008
C x C 0
DP 006 DP 006
Data Memory
0302h 0001 0302h 0001
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 1 0 1 S I A A A A A A A
Description This instruction subtracts the content of the 16-bit single data-memory oper-
and Smem from the content of src. Smem is considered a 16-bit unsigned
number regardless of the value of SXM. The result is stored in src.
Words 1 word
Cycles 1 cycle
4-194
Software Interrupt TRAP
Syntax TRAP K
Operands 0 v K v 31
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 1 0 0 1 1 0 K K K K K
Execution (SP) 1* ³ SP
(PC) ) ³
1 TOS
Interrupt vector specified by K ³ PC
Status Bits None
Description This instruction transfers program control to the interrupt vector specified by
K. This instruction allows you to use your software to execute any interrupt
service routine. For a list of interrupts and their corresponding K value, see
Appendix B.
Note:
This instruction is not repeatable.
Words 1 word
Cycles 3 cycles
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 1 1 1 1 I A A A A A A A
Execution A ³ PAR
If (RC) 0 0
Then
(Smem) ³(Pmem addressed by PAR)
(PAR) + 1 ³ PAR
(RC) – 1 ³ RC
Else
(Smem) ³(Pmem addressed by PAR)
A(15–0) A(22–0)
This instruction can be used with the repeat instruction to move consecutive
words (using indirect addressing) in data memory to a continuous program-
memory space addressed by PAR by automatically incrementing PAR. The ini-
tial value is set with the 16 LSBs of accumulator A. The source and destination
blocks in memory do not have to be entirely on-chip or off-chip. When used
with repeat, this instruction becomes a single-cycle instruction once the repeat
pipeline is started.
Words 1 word
Cycles 5 cycles
4-196
Write Data to Program Memory Addressed by Accumulator A WRITA
Example WRITA 5
Before Instruction After Instruction
A 00 0000 0257 A 00 0000 0257
DP 032 DP 032
Program Memory
0257h 0306 0257h 4339
Data Memory
1005h 4339 1005h 4339
Operands n + 1 or 2
The following table lists the conditions (cond operand) for this instruction.
Condition Condition
Cond Description Code Cond Description Code
BIO BIO low 0000 0011 NBIO BIO high 0000 0010
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 1 N 1 C C C C C C C C
Syntax n Opcode N
1 0
2 1
Execution If (cond)
Then
Next n instructions are executed
Else
Execute NOP for next n instructions
4-198
Execute Conditionally XC
Description The execution of this instruction depends on the value of n and the selected
conditions:
- If n = 1 and the condition(s) is met, the 1-word instruction following this
instruction is executed.
- If n = 2 and the condition(s) is met, the one 2-word instruction or the two
1-word instructions following this instruction are executed.
- If the condition(s) is not met, one or two nops are executed depending on
the value of n.
This instruction tests multiple conditions before executing and can test the
conditions individually or in combination with other conditions. You can com-
bine conditions from only one group as follows:
Group 1: You can select up to two conditions. Each of these conditions
must be from a different category (category A or B); you cannot
have two conditions from the same category. For example, you
can test EQ and OV at the same time but you cannot test GT and
NEQ at the same time. The accumulator must be the same for
both conditions; you cannot test conditions for both accumula-
tors with the same instruction. For example, you can test AGT
and AOV at the same time, but you cannot test AGT and BOV
at the same time.
Group 2: You can select up to three conditions. Each of these conditions
must be from a different category (category A, B, or C); you can-
not have two conditions from the same category. For example,
you can test TC, C, and BIO at the same time but you cannot test
NTC, C, and NC at the same time.
LT
LEQ
GT
GEQ
This instruction and the two instruction words following this instruction are
uninterruptible.
Note:
The conditions tested are sampled two full cycles before this instruction is
executed. Therefore, if the two 1-word instructions or one 2-word instruction
modifies the conditions, there is no effect on the execution of this instruction,
but if the conditions are modified during the two slots, the interrupt operation
using this instruction can cause undesirable results.
This instruction is not repeatable.
Words 1 word
Cycles 1 cycle
Example XC 1, ALEQ
MAR *AR1+
ADD A, DAT100
4-200
Exclusive OR With Accumulator XOR
2:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 0 1 S H F T
16-bit constant
3:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 0 1 1 0 0 1 0 1
16-bit constant
4:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 0 0 S D 1 1 0 S H I F T
4-202
Exclusive OR Memory With Constant XORM
Opcode 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 0 1 0 1 0 I A A A A A A A
Note:
This instruction is not repeatable.
Words 2 words
Cycles 2 cycles
Condition Codes
This appendix lists the conditions for conditional instructions (Table A–1) and
the combination of conditions that can be tested (Table A–2). Conditional
instructions can test conditions individually or in combination with other condi-
tions. You can combine conditions from only one group as follows:
A-1
Conditions for Conditional Instructions
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table A–1. Conditions for Conditional Instructions
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Operand
ÁÁÁÁÁÁ
AEQ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Condition
A=0
Description
Accumulator A equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BEQ
0
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B=0 Accumulator B equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ANEQ A 0 Accumulator A not equal to 0
0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BNEQ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ALT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B
A<0
0 Accumulator B not equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BLT
v
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B<0 Accumulator B less than 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ALEQ A 0 Accumulator A less than or equal to 0
v
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BLEQ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
AGT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B
A>0
0 Accumulator B less than or equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BGT
w
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B>0 Accumulator B greater than 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
AGEQ A 0 Accumulator A greater than or equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
w
BGEQ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
AOV†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
B 0
AOV = 1
Accumulator B greater than or equal to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BOV†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
BOV = 1 Accumulator B overflow detected
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ANOV†
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BNOV†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
AOV = 0
BOV = 0
No accumulator A overflow detected
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
C†
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
C=1 ALU carry set to 1
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
NC† C=0 ALU carry clear to 0
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
TC†
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
NTC†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
TC = 1
TC = 0
Test/Control flag set to 1
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BIO†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
BIO low BIO signal is low
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
NBIO† BIO high BIO signal is high
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
UNC†
ÁÁÁÁÁÁÁÁÁÁÁÁÁ none Unconditional operation
† Cannot be used with conditional store instructions
A-2
Groupings of Conditions
LT
LEQ
GT
GEQ
This appendix lists the ’54x interrupt locations and priorities for each individual
device type.
B-1
’541 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–1. ’541 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Number (K)
ÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
0
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
2 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT17 8 Software interrupt #17
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
3
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT18
SINT19
C
10
Software interrupt #18
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT20 14 Software interrupt #20
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
6 – SINT21 18 Software interrupt #21
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
7
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
8
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT22
SINT23
1C
20
Software interrupt #22
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT24 24 Software interrupt #24
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
10 – SINT25 28 Software interrupt #25
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
11
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
12
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT26
SINT27
2C
30
Software interrupt #26
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
13
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT28 34 Software interrupt #28
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
14 – SINT29 38 Software interrupt #29; reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
15
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
3
SINT30
INT0/SINT0
3C
40
Software interrupt #30; reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
17 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
18
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
19
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
6
INT2/SINT2
TINT/SINT3
48
4C
External user interrupt #2
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
20
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
7 RINT0/SINT4 50 Serial port 0 receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
21 8 XINT0/SINT5 54 Serial port 0 transmit interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
22
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
23
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
10
RINT1/SINT6
XINT1/SINT7
58
5C
Serial port 1 receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
24
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
25–31 – 64–7F Reserved
B-2
’542 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–2. ’542 Interrupt Locations and Priorities
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Number (K) ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
2 – SINT17 8 Software interrupt #17
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
3 – SINT18 C Software interrupt #18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4
ÁÁÁÁÁÁ
ÁÁÁÁÁ
5 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT19
SINT20
10
14
Software interrupt #19
ÁÁÁÁÁÁ
ÁÁÁÁÁ
6
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT21 18 Software interrupt #21
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
7
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT22 1C Software interrupt #22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
8 – SINT23 20 Software interrupt #23
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁ
ÁÁÁÁÁ
10
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT24
SINT25
24
28
Software interrupt #24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
11 – SINT26 2C Software interrupt #26
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
12 – SINT27 30 Software interrupt #27
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
13
ÁÁÁÁÁÁ
ÁÁÁÁÁ
14 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT28
SINT29
34
38
Software interrupt #28
ÁÁÁÁÁÁ
ÁÁÁÁÁ
15
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT30 3C Software interrupt #30, reserved
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
3 INT0/SINT0 40 External user interrupt #0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
17 4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
19
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁÁ
6
INT2/SINT2
TINT/SINT3
48
4C
External user interrupt #2
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
20 7 BRINT0/SINT4 50 Buffered serial port receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
23 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁÁ
10
TRINT/SINT6
TXINT/SINT7
58
5C
TDM serial port receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
25
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
12 HPINT/SINT9 64 HPI interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
26–31 – 68–7F Reserved
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–3. ’543 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Number (K)
ÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
0
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
2 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT17 8 Software interrupt #17
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
3
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT18
SINT19
C
10
Software interrupt #18
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT20 14 Software interrupt #20
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
6 – SINT21 18 Software interrupt #21
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
7
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
8
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT22
SINT23
1C
20
Software interrupt #22
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT24 24 Software interrupt #24
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
10 – SINT25 28 Software interrupt #25
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
11
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
12
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT26
SINT27
2C
30
Software interrupt #26
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
13
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT28 34 Software interrupt #28
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
14 – SINT29 38 Software interrupt #29, reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
15
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
3
SINT30
INT0/SINT0
3C
40
Software interrupt #30, reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
17 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
18
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
19
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
6
INT2/SINT2
TINT/SINT3
48
4C
External user interrupt #2
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
20
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
7 BRINT0/SINT4 50 Buffered serial port receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port transmit interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
22
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
23
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
10
TRINT/SINT6
TXINT/SINT7
58
5C
TDM serial port receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
24
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
25–31 – 64–7F Reserved
B-4
’545 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–4. ’545 Interrupt Locations and Priorities
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Number (K) ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
2 – SINT17 8 Software interrupt #17
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
3 – SINT18 C Software interrupt #18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
4
ÁÁÁÁÁÁ
ÁÁÁÁÁ
5 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT19
SINT20
10
14
Software interrupt #19
ÁÁÁÁÁÁ
ÁÁÁÁÁ
6
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT21 18 Software interrupt #21
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
7
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT22 1C Software interrupt #22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
8 – SINT23 20 Software interrupt #23
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁ
ÁÁÁÁÁ
10
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT24
SINT25
24
28
Software interrupt #24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
11 – SINT26 2C Software interrupt #26
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
12 – SINT27 30 Software interrupt #27
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
13
ÁÁÁÁÁÁ
ÁÁÁÁÁ
14 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT28
SINT29
34
38
Software interrupt #28
ÁÁÁÁÁÁ
ÁÁÁÁÁ
15
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
– SINT30 3C Software interrupt #30, reserved
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
3 INT0/SINT0 40 External user interrupt #0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
17 4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
19
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁÁ
6
INT2/SINT2
TINT/SINT3
48
4C
External user interrupt #2
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
20 7 BRINT0/SINT4 50 Buffered serial port receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
23 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁÁ
10
RINT1/SINT6
XINT1/SINT7
58
5C
Serial port receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
25
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
12 HPINT/SINT9 64 HPI interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
26–31 – 68–7F Reserved
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–5. ’546 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Number (K)
ÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
0
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
2 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT17 8 Software interrupt #17
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
3
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT18
SINT19
C
10
Software interrupt #18
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT20 14 Software interrupt #20
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
6 – SINT21 18 Software interrupt #21
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
7
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
8
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT22
SINT23
1C
20
Software interrupt #22
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT24 24 Software interrupt #24
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
10 – SINT25 28 Software interrupt #25
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
11
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
12
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT26
SINT27
2C
30
Software interrupt #26
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
13
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
– SINT28 34 Software interrupt #28
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
14 – SINT29 38 Software interrupt #29, reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
15
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
3
SINT30
INT0/SINT0
3C
40
Software interrupt #30, reserved
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
17 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
18
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
19
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
5
ÁÁÁÁÁÁÁÁÁÁÁ
6
INT2/SINT2
TINT/SINT3
48
4C
External user interrupt #2
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
20
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
7 BRINT0/SINT4 50 Buffered serial port receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port transmit interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
22
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
23
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁ
10
RINT1/SINT6
XINT1/SINT7
58
5C
Serial port receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
24
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
25–31 – 64–7F Reserved
B-6
’548 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–6. ’548 Interrupt Locations and Priorities
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
Number (K) ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
1 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
2
ÁÁÁÁÁÁ
ÁÁÁÁÁ
3
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT17
SINT18
8
C
Software interrupt #17
Software interrupt #18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
4 – SINT19 10 Software interrupt #19
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
5 – SINT20 14 Software interrupt #20
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
6 – SINT21 18 Software interrupt #21
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
7
ÁÁÁÁÁÁ
ÁÁÁÁÁ
8 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT22
SINT23
1C
20
Software interrupt #22
Software interrupt #23
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
9
ÁÁÁÁÁÁ
ÁÁÁÁÁ
10
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT24
SINT25
24
28
Software interrupt #24
Software interrupt #25
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
11 – SINT26 2C Software interrupt #26
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
12 – SINT27 30 Software interrupt #27
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
13 – SINT28 34 Software interrupt #28
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
14 – SINT29 38 Software interrupt #29, reserved
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
15
ÁÁÁÁÁÁ
ÁÁÁÁÁ
16 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
3
SINT30
INT0/SINT0
3C
40
Software interrupt #30, reserved
External user interrupt #0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
17
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
4
ÁÁÁÁÁÁÁÁÁÁÁÁ
INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
18 5 INT2/SINT2 48 External user interrupt #2
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
19 6 TINT/SINT3 4C Internal timer interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
20 7 BRINT0/SINT4 50 Buffered serial port 0 receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port 0 transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
23 ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
9
ÁÁÁÁÁÁÁÁÁÁÁÁ
10
TRINT/SINT6
TXINT/SINT7
58
5C
TDM serial port receive interrupt
TDM serial port transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
25
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
11
ÁÁÁÁÁÁÁÁÁÁÁÁ
12
INT3/SINT8
HPINT/SINT9
60
64
External user interrupt #3
HPI interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
26
ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
13 BRINT1/SINT10 68 Buffered serial port 1 receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
27 14 BXINT1/SINT11 6C Buffered serial port 1 transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
28–31 – 70–7F Reserved
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table B–7. ’549 Interrupt Locations and Priorities
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
TRAP/INTR
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
Number (K)
ÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
0 1 RS/SINTR 0 Reset (hardware and software reset)
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
1
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
2 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
2
ÁÁÁÁÁÁÁÁÁÁÁ
–
NMI/SINT16
SINT17
4
8
Nonmaskable interrupt
Software interrupt #17
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
3
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
4 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT18
SINT19
C
10
Software interrupt #18
Software interrupt #19
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
5
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
6 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT20
SINT21
14
18
Software interrupt #20
Software interrupt #21
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
7
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
8 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT22
SINT23
1C
20
Software interrupt #22
Software interrupt #23
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
9
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
10 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT24
SINT25
24
28
Software interrupt #24
Software interrupt #25
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
11
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
12 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT26
SINT27
2C
30
Software interrupt #26
Software interrupt #27
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
13
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
14 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
–
SINT28
SINT29
34
38
Software interrupt #28
Software interrupt #29
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
15
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁ
3
SINT30
INT0/SINT0
3C
40
Software interrupt #30
External user interrupt #0
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
17
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
18
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
4
ÁÁÁÁÁÁÁÁÁÁÁ
5
INT1/SINT1
INT2/SINT2
44
48
External user interrupt #1
External user interrupt #2
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
19
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
20
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
6
ÁÁÁÁÁÁÁÁÁÁÁ
7
TINT/SINT3
BRINT0/SINT4
4C
50
Internal timer interrupt
Buffered serial port 0 receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
21
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
22
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
8
ÁÁÁÁÁÁÁÁÁÁÁ
9
BXINT0/SINT5
TRINT/SINT6
54
58
Buffered serial port 0 transmit interrupt
TDM serial port receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
23
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
24
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
10
ÁÁÁÁÁÁÁÁÁÁÁ
11
TXINT/SINT7
INT3/SINT8
5C
60
TDM serial port transmit interrupt
External user interrupt #3
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
25
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
12
ÁÁÁÁÁÁÁÁÁÁÁ
HINT/SINT9 64 HPI interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
26 13 BRINT1/SINT10 68 Buffered serial port 1 receive interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
27 14 BXINT1/SINT11 6C Buffered serial port 1 transmit interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
28 15 BMINT0/SINT12 70 BSP #0 misalignment detection
interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
29
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁ
BMINT1/SINT13 74 BSP #1 misalignment detection
interrupt
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
30–31 – 78–7F Reserved
B-8
Appendix
AppendixCA
This appendix shows the bit fields of the ’54x interrupt and status registers. The
following table defines terms used in identifying these register fields.
C Carry
HM Hold mode
C-1
Interrupt and Status Registers
MP/MC Microprocessor/microcomputer
Resvd Reserved
TC Test/control flag
C-2
Interrupt Flag Register (IFR)
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 XINT1 RINT1 XINT0 RINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd HPINT INT3 XINT1 RINT1 BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 XINT1 RINT1 BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BMINT1 BMINT0 BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 XINT1 RINT1 XINT0 RINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd HPINT INT3 XINT1 RINT1 BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd Resvd Resvd Resvd INT3 XINT1 RINT1 BXINT0 BRINT0 TINT INT2 INT1 INT0
15–12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
15–14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BMINT1 BMINT0 BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
C-4
Processor Mode Status Register (PMST) / Status Register 0 (ST0) / Status Register 1 (ST1)
Glossary
A
A: See accumulator A.
accumulator A: One of two 40-bit registers that store the result of an opera-
tion and provide an input for subsequent arithmetic logic unit (ALU)
operations.
accumulator B: One of two 40-bit registers that store the result of an opera-
tion and provide an input for subsequent arithmetic logic unit (ALU)
operations.
accumulator shift mode bits (ASM): A 5-bit field in ST1 that specifies a
shift value (from –16 to 15) that is used to shift an accumulator value
when executing certain instructions, such as instructions with parallel
loads and stores.
address visibility mode bit (AVIS): A bit in PMST that determines whether
or not the internal program address appears on the device’s external
address bus pins.
AG: Accumulator guard bits. An 8-bit register that contains bits 39–32 (the
guard bits) of an accumulator. Both accumulator A and accumulator B
have guards bits.
D-1
Glossary
ALU: Arithmetic logic unit. The part of the CPU that performs arithmetic and
logic operations.
auxiliary register file: The area in data memory containing the eight 16-bit
auxiliary registers. See also auxiliary registers.
B
B: See accumulator B.
BG: Accumulator B guard bits. An 8-bit register that contains bits 39–32 (the
guard bits) of accumulator B.
block-repeat active flag (BRAF): A 1-bit flag in ST1 that indicates whether
or not a block repeat is currently active.
D-2
Glossary
boot loader: A built-in segment of code that transfers code from an external
source to program memory at power-up.
C
C16: A bit in ST1 that determines whether the ALU operates in dual 16-bit
mode or in double-precision mode.
CAB: C address bus. A bus that carries addresses needed for accessing
data memory.
carry bit (C): A bit used by the ALU in extended arithmetic operations and
accumulator shifts and rotates. The carry bit can be tested by conditional
instructions.
CB: C bus. A bus that carries operands that are read from data memory.
compatibility mode bit (CMPT): A bit in ST1 that determines whether or not
the auxiliary register pointer (ARP) is used to select an auxiliary register
in single indirect addressing mode.
compiler mode bit (CPL): A bit in ST1 that determines whether the CPU
uses the data page pointer or the stack pointer to generate data memory
addresses in direct addressing mode.
Glossary D-3
Glossary
D
DAB: D address bus. A bus that carries addresses needed for accessing
data memory.
DAB address register (DAR): A register that holds the address to be put
on the DAB to address data memory for reads via the DB.
data bus: A group of connections used to route data. The ’54x has three
16-bit data buses: CB, DB, and EB.
data memory: A memory region used for storing and manipulating data. Ad-
dresses 00h–1Fh of data memory contain CPU registers. Addresses
20h–5Fh of data memory contain peripheral registers.
data page pointer (DP): A 9-bit field in ST0 that specifies which of 512
128-word pages is currently selected for direct address generation. DP
provides the nine MSBs of the data-memory address; the data memory
address provides the lower seven bits. See also direct memory address.
data ROM bit (DROM): A bit in processor mode status register (PMST) that
determines whether part of the on-chip ROM is mapped into program
space.
DB: D bus. A bus that carries operands that are read from data memory.
D-4
Glossary
E
EAB address register (EAR): A register that holds the address to be put on
the EAB to address data memory for reads via the EB.
F
fast return register (RTN): A 16-bit register used to hold the return address
for the fast return from interrupt (RETF[D]) instruction.
fractional mode bit (FRCT): A bit in status register ST1 that determines
whether or not the multiplier output is left-shifted by one bit.
H
HM: See hold mode bit.
hold mode bit (HM): A bit in status register ST1 that determines whether the
CPU enters the hold state in normal mode or concurrent mode.
I
IFR: See interrupt flag register.
Glossary D-5
Glossary
L
latency: The delay between when a condition occurs and when the device
reacts to the condition. Also, in a pipeline, the delay between the execu-
tion of two instructions that is necessary to ensure that the values used
by the second instruction are correct.
LSB: Least significant bit. The lowest order bit in a word.
M
memory-mapped register (MMR): The ’54x processor registers mapped
into page 0 of the data memory space.
microcomputer mode: A mode in which the on-chip ROM is enabled and
addressable.
microprocessor mode: A mode in which the on-chip ROM is disabled.
micro stack: A stack that provides temporary storage for the address of the
next instruction to be fetched when the program address generation logic
is used to generate sequential addresses in data space.
MP/MC bit: A bit in the processor mode status register (PMST) that indicates
whether the processor is operating in microprocessor or microcomputer
mode. See also microcomputer mode; microprocessor mode.
MSB: Most significant bit. The highest order bit in a word.
D-6
Glossary
O
OVA: Overflow flag A. A bit in status register ST0 that indicates the overflow
condition of accumulator A.
OVB: Overflow flag B. A bit status register ST0 that indicates the overflow
condition of accumulator B.
overflow flag (OVA, OVB): A flag that indicates whether or not an arithmetic
operation has exceeded the capacity of the corresponding accumulator.
See also OVA and OVB.
overflow mode bit (OVM): A bit in status register ST1 that specifies how the
ALU handles an overflow after an operation.
P
PAB: Program address bus. A 16-bit bus that provides the address for
program memory reads and writes.
PB: Program bus. A bus that carries the instruction code and immediate
operands from program memory.
Glossary D-7
Glossary
R
RAM overlay bit (OVLY): A bit in the processor mode status register PMST
that determines whether or not on-chip dual-access RAM is mapped into
the program/data space.
RC: See repeat counter.
REA: See block-repeat end address.
register: A group of bits used for temporarily holding data or for controlling
or specifying the status of a device.
repeat counter (RC): A 16-bit register used to specify the number of times
a single instruction is executed.
reset: A means of bringing the CPU to a known state by setting the registers
and control bits to predetermined values and signaling execution to start
at a specified address.
RSA: See block-repeat start address.
RTN: See fast return register.
D-8
Glossary
S
SARAM: Single-access RAM. Memory that only can be read from or writ-
ten during one clock cycle.
shifter: A hardware unit that shifts bits in a word to the left or to the right.
sign-control logic: Circuitry used to extend data bits (signed/unsigned) to
match the input data format of the multiplier, ALU, and shifter.
sign extension: An operation that fills the high order bits of a number with
the sign bit.
sign-extension mode bit (SXM): A bit in status register ST1 that enables
sign extension in CPU operations.
SINT: See software interrupt.
software interrupt: An interrupt caused by the execution of an INTR or
TRAP instruction.
SP: See stack pointer.
ST0: Status register 0. A 16-bit register that contains ’54x status and
control bits. See also PMST; ST1.
ST1: Status register 1. A16-bit register that contains ’54x status and
control bits. See also PMST; ST0.
stack: A block of memory used for storing return addresses for subroutines
and interrupt service routines and for storing data.
stack pointer (SP): A register that always points to the last element pushed
onto the stack.
SXM: See sign-extension mode bit.
T
TC: See test/control flag bit.
temporary register (T): A 16-bit register that holds one of the operands for
multiply and store instructions, the dynamic shift count for the add and
subtract instructions, or the dynamic bit position for the bit test instruc-
tions.
test/control flag bit (TC): A bit in status register ST0 that is affected by test
operations.
transition register (TRN): A 16-bit register that holds the transition decision
for the path to new metrics to perform the Viterbi algorithm.
Glossary D-9
Glossary
W
warm boot: The process by which the processor transfers control to the
entry address of a previously-loaded program.
X
XF: XF status flag. A bit in status register ST1 that indicates the status of the
XF pin.
Z
ZA: Zero detect bit A. A signal that indicates when accumulator A contains
a 0.
ZB: Zero detect bit B. A signal that indicates when accumulator B contains
a 0.
zero fill: A method of filling the low- or high-order bits with zeros when load-
ing a 16-bit number into a 32-bit field.
D-10
Appendix
AppendixEA
This appendix provides a summary of the updates in this version of the docu-
ment. Updates within paragraphs appear in a bold typeface.
Syntax Cycles†
RPT Smem 3
Syntax Expression
LD src [ , SHIFT ], dst dst = src << SHIFT
Condition
Cond Description Code
TC TC = 1 0011 0000
E-1
Summary of Updates in This Document
Condition
Cond Description Code
TC TC = 1 0011 0000
Condition
Cond Description Code
TC TC = 1 0011 0000
E-2
Summary of Updates in This Document
A(15–0) A(22–0)
A(15–0) A(22–0)
Condition
Cond Description Code
TC TC = 1 0011 0000
E-4
Summary of Updates in This Document
ÁÁÁÁÁÁ
B-8
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Added Table B–7, ’549 Interrupt Locations and Priorities:
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
TRAP/INTR
Number (K)
ÁÁÁÁÁÁÁÁÁÁÁÁ
Priority Name Location Function
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
0
ÁÁÁÁÁ
ÁÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁÁ
2
RS/SINTR
NMI/SINT16
0
4
Reset (hardware and software reset)
Nonmaskable interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
2
ÁÁÁÁÁ
ÁÁÁÁÁÁ
3 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT17
SINT18
8
C
Software interrupt #17
Software interrupt #18
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
4
ÁÁÁÁÁ
ÁÁÁÁÁÁ
5 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT19
SINT20
10
14
Software interrupt #19
Software interrupt #20
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
6
ÁÁÁÁÁ
ÁÁÁÁÁÁ
7 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT21
SINT22
18
1C
Software interrupt #21
Software interrupt #22
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁ
8
ÁÁÁÁÁ
ÁÁÁÁÁÁ
9 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT23
SINT24
20
24
Software interrupt #23
Software interrupt #24
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
10
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
11 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT25
SINT26
28
2C
Software interrupt #25
Software interrupt #26
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
12
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
13 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT27
SINT28
30
34
Software interrupt #27
Software interrupt #28
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
14
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ
15 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
–
ÁÁÁÁÁÁÁÁÁÁÁÁ
–
SINT29
SINT30
38
3C
Software interrupt #29
Software interrupt #30
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
16 3 INT0/SINT0 40 External user interrupt #0
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
17 4 INT1/SINT1 44 External user interrupt #1
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
18 5 INT2/SINT2 48 External user interrupt #2
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
19 6 TINT/SINT3 4C Internal timer interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
20 7 BRINT0/SINT4 50 Buffered serial port 0 receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
21 8 BXINT0/SINT5 54 Buffered serial port 0 transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
22 9 TRINT/SINT6 58 TDM serial port receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
23 10 TXINT/SINT7 5C TDM serial port transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
24 11 INT3/SINT8 60 External user interrupt #3
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
25 12 HINT/SINT9 64 HPI interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
26 13 BRINT1/SINT10 68 Buffered serial port 1 receive interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
27 14 BXINT1/SINT11 6C Buffered serial port 1 transmit interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
28 15 BMINT0/SINT12 70 BSP #0 misalignment detection
interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
29
ÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
16
ÁÁÁÁÁÁÁÁÁÁÁÁ
BMINT1/SINT13 74 BSP #1 misalignment detection
interrupt
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
30–31 – 78–7F Reserved
C-1 Added BMINT1, BMINT0 to Table C–1, Register Field Terms and Definitions:
Term Definition
BMINT1, BMINT0 Buffer misalignment interrupts
C-3 Added ’549 IFR to Figure C–1, Interrupt Flag Register (IFR):
(g) ’549 IFR
15–14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BMINT1 BMINT0 BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
C-4 Added ’549 IMR to Figure C–2, Interrupt Mask Register (IMR):
(g) ’549 IMR
15–14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Resvd BMINT1 BMINT0 BXINT1 BRINT1 HPINT INT3 TXINT TRINT BXINT0 BRINT0 TINT INT2 INT1 INT0
Syntax Cycles†
RPT Smem 3
Syntax Expression
LD src [ , SHIFT ], dst dst = src << SHIFT
E-6
Summary of Updates in This Document
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Address Name Description
ÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
1E XPC Program counter extension register (’548
and ’549)
TRAP/INTR
Number (K) Priority Name Location
28† 15 BMINT0/SINT12 70
29† 16 BMINT1/SINT13 74
30–31 – Reserved 78–7F
† TRAP/INTR Numbers 28 and 29 are reserved on ’548.
Index
Index-1
Index
Index-2
Index
Index-3
Index
M N
NEG instruction 4-119
MAC instruction 4-82
nonrepeatable instructions 2-20
MACA instruction 4-85
NOP instruction 4-121
MACAR instruction 4-85
NORM instruction 4-122
MACD instruction 4-87
MACP instruction 4-89
MACR instruction 4-82 O
MACSU instruction 4-91 OR instruction 4-123
MAR instruction 4-92 OR instructions 2-8
MAS instruction 4-94 ORM instruction 4-125
MASA instruction 4-97 OVA. See overflow flag A
MASAR instruction 4-97 OVB. See overflow flag B
MASR instruction 4-94 overflow, definition D-7
MAX instruction 4-99 overflow flag, definition D-7
memory-mapped register (MMR), definition D-6 overflow flag A (OVA), definition D-7
micro stack, definition D-6 overflow flag B (OVB), definition D-7
microcomputer mode, definition D-6 overflow mode bit (OVM), definition D-7
microprocessor mode, definition D-6 OVLY. See RAM overlay bit
MIN instruction 4-100 OVM. See overflow mode bit
miscellaneous load-type and store-type
instructions 2-18
miscellaneous program control instructions 2-13
P
MMR 3-1 PAGEN. See program address generation logic
most significant bit (MSB), definition D-6 PAR. See program address register
MP/MC bit, definition D-6 parallel load and multiply instructions 2-16
MPY instruction 4-101 parallel load and store instructions 2-16
MPYA instruction 4-104 parallel store and add/subtract instructions 2-17
MPYR instruction 4-101 parallel store and multiply instructions 2-17
MPYU instruction 4-106 PC. See program counter
multi-cycle instructions, transformed to pipeline, definition D-7
single-cycle 2-19 pmad, definition D-7
multiply instructions 2-4 PMST. See processor mode status register
multiply-accumulate instructions 2-4 to 2-5 POLY instruction 4-126
multiply-subtract instructions 2-4 to 2-5 pop, definition D-7
MVDD instruction 4-107 POPD instruction 4-127
MVDK instruction 4-108 POPM instruction 4-128
Index-4
Index
Index-5
Index
Index-6