
xxvi
MC68030 USER’S MANUAL
 MOTOROLA
TABLE OF CONTENTS
 (
Continued
)
Paragraph
Number
2.6
2.6.1
2.6.2
2.7
2.8
2.8.1
2.8.2
2.8.3
Title
Page
Number
Programmer`s View of Addressing Modes. . . . . . . . . . . . . . . . . . . . .  2-24
Addressing Capabilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2-25
General Addressing Mode Summary  . . . . . . . . . . . . . . . . . . . . . . .  2-31
M68000 Family Addressing Compatibility . . . . . . . . . . . . . . . . . . . . .  2-36
Other Data Structures  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2-36
System Stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2-36
User Program Stacks  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2-38
Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2-39
Section 3
Instruction Set Summary
Instruction Format  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-1
Instruction Summary  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-2
Data Movement Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-4
Integer Arithmetic Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-5
Logical Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-6
Shift and Rotate Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-7
Bit Manipulation Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-8
Bit Field Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-9
Binary–coded Decimal Instructions. . . . . . . . . . . . . . . . . . . . . . . . .  3-10
Program Control Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-11
System Control Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-12
Memory Management Unit Instructions. . . . . . . . . . . . . . . . . . . . . .  3-13
Multiprocessor Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-13
Integer Condition Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-14
Condition Code Computation  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-15
Conditional Tests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-17
Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-18
Instruction Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-25
Using the CAS and CAS2 Instructions . . . . . . . . . . . . . . . . . . . . . .  3-25
Nested Subroutine Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-30
Bit Field Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3-31
Pipeline Synchronization with the Nop Instruction. . . . . . . . . . . . . .  3-32
Section 4
Processing States
Privilege Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-2
Supervisor Privilege Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-2
User Privilege Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-3
Changing Privilege Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-4
Address Space Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-5
Exception Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4-6
3.1
3.2
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.2.10
3.2.11
3.3
3.3.1
3.3.2
3.4
3.5
3.5.1
3.5.2
3.5.3
3.5.4
4.1
4.1.1
4.1.2
4.1.3
4.2
4.3