
10/31/95
SECTION 1: OVERVIEW
UM Rev.1.0
viii
MC68341 USER’S MANUAL
MOTOROLA
TABLE OF CONTENTS (Continued)
Paragraph
Page
Number
Title
Number
4.5
MC68340 Initialization Sequence............................................................ 4-46
4.5.1
Startup ................................................................................................. 4-47
4.5.2
SIM41 Module Configuration ............................................................... 4-47
4.5.3
SIM41 Example Configuration Code ................................................... 4-48
SECTION 5
CPU32
5.1
Overview ............................................................................................. 5-1
5.1.1
Features .......................................................................................... 5-2
5.1.2
Virtual Memory ................................................................................ 5-2
5.1.3
Loop Mode Instruction Execution .................................................... 5-3
5.1.4
Vector Base Register....................................................................... 5-4
5.1.5
Exception Handling.......................................................................... 5-4
5.1.6
Addressing Modes........................................................................... 5-5
5.2
Architecture Summary ........................................................................ 5-5
5.2.1
Programming Model ........................................................................ 5-6
5.2.2
Registers ......................................................................................... 5-7
5.3
Instruction Set ..................................................................................... 5-8
5.3.1
M68000 Family Compatibility .......................................................... 5-10
5.3.1.1
New Instructions .......................................................................... 5-10
5.3.1.1.1
Low-Power Stop (LPSTOP) ..................................................... 5-10
5.3.1.1.2
Table Lookup and Interpolate (TBL)......................................... 5-10
5.3.1.2
Unimplemented Instructions ........................................................ 5-10
5.3.2
Instruction Format and Notation ...................................................... 5-10
5.3.3
Instruction Summary ....................................................................... 5-13
5.3.3.1
Condition Code Register .............................................................. 5-18
5.3.3.2
Data Movement Instructions ........................................................ 5-19
5.3.3.3
Integer Arithmetic Operations ...................................................... 5-20
5.3.3.4
Logic Instructions ......................................................................... 5-22
5.3.3.5
Shift and Rotate Instructions ........................................................ 5-22
5.3.3.6
Bit Manipulation Instructions ........................................................ 5-23
5.3.3.7
Binary-Coded Decimal (BCD) Instructions................................... 5-24
5.3.3.8
Program Control Instructions ....................................................... 5-24
5.3.3.9
System Control Instructions ......................................................... 5-25
5.3.3.10
Condition Tests ............................................................................ 5-27
5.3.4
Using the TBL Instructions .............................................................. 5-27
5.3.4.1
Table Example 1 Standard Usage ........................................... 5-28
5.3.4.2
Table Example 2 Compressed Table ....................................... 5-29
5.3.4.3
Table Example 3 8-Bit Independent Variable........................... 5-30
5.3.4.4
Table Example 4 Maintaining Precision ................................... 5-32
5.3.4.5
Table Example 5 Surface Interpolations .................................. 5-34
5.3.5
Nested Subroutine Calls.................................................................. 5-34
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.