Motorola M68000 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Motorola M68000 herunter. MOTOROLA M68000 FAMILY Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 92
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
MOTOROLA INC., 1992
MOTOROLA
M68000 FAMILY
Programmer’s Reference Manual
(Includes CPU32 Instructions)
Seitenansicht 0
1 2 3 4 5 6 ... 91 92

Inhaltsverzeichnis

Seite 1 - M68000 FAMILY

 MOTOROLA INC., 1992 MOTOROLAM68000 FAMILY Programmer’s Reference Manual (Includes CPU32 Instructions)

Seite 2

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-3 For effective addresses that use a full extension word format, the i

Seite 3 - 1.1.3 Program Counter

Addressing Capabilities 2-4 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2 EFFECTIVE ADDRESSING MODES Besides the operation code, which sp

Seite 4

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-5 2.2.1 Data Register Direct Mode In the data register direct mode, t

Seite 5 - Introduction

Addressing Capabilities 2-6 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.4 Address Register Indirect with Postincrement Mode In the addr

Seite 6

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-7 2.2.5 Address Register Indirect with Predecrement Mode In the addre

Seite 7

Addressing Capabilities 2-8 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.6 Address Register Indirect with Displacement Mode In the addre

Seite 8 - ADDRESSING CAPABILITIES

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-9 2.2.7 Address Register Indirect with Index (8-Bit Displacement) Mode

Seite 9

Addressing Capabilities 2-10 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.8 Address Register Indirect with Index (Base Displacement) Mode

Seite 10

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-11 2.2.9 Memory Indirect Postindexed Mode In this mode, both the oper

Seite 11

Addressing Capabilities 2-12 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.10 Memory Indirect Preindexed Mode In this mode, both the oper

Seite 12 - POINTS TO

Introduction 1-2 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 1.1 INTEGER UNIT USER PROGRAMMING MODEL Figure 1-1 illustrates the integer por

Seite 13

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-13 2.2.11 Program Counter Indirect with Displacement Mode In this mod

Seite 14

Addressing Capabilities 2-14 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.12 Program Counter Indirect with Index (8-Bit Displacement) Mod

Seite 15

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-15 2.2.13 Program Counter Indirect with Index (Base Displacement) Mode

Seite 16

Addressing Capabilities 2-16 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.14 Program Counter Memory Indirect Postindexed Mode This mode

Seite 17

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-17 2.2.15 Program Counter Memory Indirect Preindexed Mode This mode i

Seite 18

Addressing Capabilities 2-18 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA 2.2.16 Absolute Short Addressing Mode In this addressing mode, the

Seite 19

Addressing Capabilities MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-19 2.2.18 Immediate Data In this addressing mode, the operand is in o

Seite 20

Addressing Capabilities 2-20 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA Table 2-4. Effective Addressing Modes and Categories Addressing Mod

Seite 21

Addressing Capabilities2-28 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA2.6 OTHER DATA STRUCTURES Stacks and queues are common data structures

Seite 22

Addressing CapabilitiesMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-29To implement stack growth from low memory to high memory, use (An) + t

Seite 23

Introduction MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 1-3 1.1.3 Program Counter The PC contains the address of the instruction currently

Seite 24

Addressing Capabilities2-30 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAAfter a put operation, the put address register points to the last ite

Seite 25

MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-1 SECTION 3INSTRUCTION SET SUMMARY This section briefly describes the M68000 family instructio

Seite 26 - 2.2.18 Immediate Data

Instruction Set Summary 3-2 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA Table 3-1. Notational Conventions Single- And Double Operand Operati

Seite 27

Instruction Set Summary MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-3 Table 3-1. Notational Conventions (Continued) Data Format And Type +

Seite 28 - 2.6.1 System Stack

Instruction Set Summary 3-4 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA Table 3-1. Notational Conventions (Concluded) Register Codes * Gener

Seite 29 - 2.6.2 Queues

Instruction Set Summary MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-5 3.1.1 Data Movement Instructions The MOVE and FMOVE instructions wi

Seite 30 - Addressing Capabilities

Instruction Set Summary 3-6 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA NOTE: A register list includes any combination of the eight floating-

Seite 31 - INSTRUCTION SET SUMMARY

Instruction Set Summary MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-7 A set of extended instructions provides multiprecision and mixed-siz

Seite 32

Instruction Set Summary3-8 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA3.1.3 Logical Instructions The logical operation instructions (AND, OR,

Seite 33

Instruction Set SummaryMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-9NOTE: X indicates the extend bit and C the carry bit in the CCR.Table 3

Seite 34

Introduction 1-4 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA C—Carry Set if a carry out of the most significant bit of the operand occurs for

Seite 35

Instruction Set SummaryMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-173.2 INTEGER UNIT CONDITION CODE COMPUTATION Many integer instructions

Seite 36

Instruction Set Summary3-18 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLATable 3-18. Integer Unit Condition Code Computations OperationsXNZVCS

Seite 37

Instruction Set SummaryMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-19NOTES:N = Logical Not NV = Logical Not VZ = Logical Not Z*Not availabl

Seite 38 - 3.1.3 Logical Instructions

Instruction Set Summary3-32 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA3.7 INSTRUCTION DESCRIPTIONSSection 4, 5, 6, and 7 contain detailed in

Seite 39 - Instruction Set Summary

Instruction Set SummaryMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 3-33.Figure 3-3. Instruction Description FormatABCDOperation:AssemblerS

Seite 40

Integer Instructions 4-4 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA ADD Add ADD (M68000 Family) Operation: Source + Destination → Destin

Seite 41

Integer Instructions MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-5 ADD Add ADD (M68000 Family) Instruction Fields: Register field—Specifie

Seite 42 - Table 3-19. Conditional Tests

Integer Instructions 4-6 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA ADD Add ADD (M68000 Family) b. If the location specified is a destina

Seite 43 - 3.7 INSTRUCTION DESCRIPTIONS

Integer Instructions MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-7 ADDA Add Address ADDA (M68000 Family) Operation: Source + Destination

Seite 44

Integer Instructions 4-8 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA ADDA Add Address ADDA (M68000 Family) Effective Address field—Specifies

Seite 45 - MODE REGISTER

IntroductionMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 1-251.7 ORGANIZATION OF DATA IN REGISTERS The following paragraphs describe data orga

Seite 46

Integer Instructions MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-9 ADDI Add Immediate ADDI (M68000 Family) Operation: Immediate Data + De

Seite 47

Integer Instructions4-10 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAADDI Add Immediate ADDI (M68000 Family) Instruction Fields: Size field—Spe

Seite 48 - Add Address

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-11ADDQ Add Quick ADDQ (M68000 Family) Operation: Immediate Data + Destinati

Seite 49 - (M68000 Family)

Integer Instructions4-12 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAADDQ Add Quick ADDQ (M68000 Family) Instruction Fields: Data field—Three b

Seite 50 - Add Immediate

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-13ADDX Add Extended ADDX (M68000 Family) Operation: Source + Destination +

Seite 51 - ADDI Add Immediate ADDI

Integer Instructions4-14 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAADDX Add Extended ADDX (M68000 Family) Instruction Format: Instruction Fi

Seite 52 - ADDQ Add Quick ADDQ

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-15AND AND Logical AND(M68000 Family) Operation: Source L Destination → Dest

Seite 53

Integer Instructions4-16 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAAND AND Logical AND (M68000 Family) Effective Address field—Determines add

Seite 54 - ADDX Add Extended ADDX

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-17AND AND Logical AND (M68000 Family) b. If the location specified is a des

Seite 55

Integer Instructions4-18 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAANDI AND Immediate ANDI (M68000 Family) Operation: Immediate Data Λ Desti

Seite 56 - AND AND Logical AND

Introduction1-26 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA.Because address registers and stack pointers are 32 bits wide, address registers

Seite 57

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-19ANDI AND Immediate ANDI (M68000 Family) Instruction Fields: Size field—Spe

Seite 58

Integer Instructions4-20 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAANDI ANDI to CCR CCR AND Immediate to CCR(M68000 Family) Operation: Sourc

Seite 59 - ANDI AND Immediate ANDI

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-21ASL, ASR Arithmetic Shift ASL, ASR(M68000 Family) Operation: Destination

Seite 60

Integer Instructions4-22 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAASL, ASR Arithmetic Shift ASL, ASR(M68000 Family) For ASR, the operand is

Seite 61 - ANDI ANDI

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-23ASL, ASR Arithmetic Shift ASL, ASR (M68000 Family) dr field—Specifies the d

Seite 62 - Arithmetic Shift ASL, ASR

Integer Instructions4-24 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAASL, ASR Arithmetic Shift ASL, ASR (M68000 Family) Effective Address field

Seite 63

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-25Bcc Branch Conditionally Bcc (M68000 Family) Operation: If Condition Tru

Seite 64

Integer Instructions4-26 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLABcc Branch Conditionally Bcc (M68000 Family) Instruction Format: Instruct

Seite 65

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-75CMP Compare CMP (M68000 Family) Operation: Destination – Source → cc Asse

Seite 66 - Branch Conditionally Bcc

Integer Instructions4-76 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLACMP Compare CMP (M68000 Family) Effective Address field—Specifies the sourc

Seite 67 - Bcc Branch Conditionally Bcc

IntroductionMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 1-27Control registers vary in size according to function. Some control registers have

Seite 68 - CMP Compare CMP

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-77CMPA Compare Address CMPA (M68000 Family) Operation: Destination – Source

Seite 69

Integer Instructions4-78 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLACMPA Compare Address CMPA (M68000 Family) Instruction Fields: Register fie

Seite 70 - CMPA Compare Address CMPA

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-79CMPI Compare Immediate CMPI (M68000 Family) Operation: Destination – Imme

Seite 71

Integer Instructions4-80 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLACMPI Compare Immediate CMPI (M68000 Family) Instruction Fields: Size field

Seite 72 - CMPI Compare Immediate CMPI

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-81CMPM Compare Memory CMPM (M68000 Family) Operation: Destination – Source

Seite 73

Integer Instructions4-90 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLADBcc Test Condition, Decrement, and Branch DBcc (M68000 Family) Operation

Seite 74 - CMPM Compare Memory CMPM

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-91DBcc Test Condition, Decrement, and Branch DBcc (M68000 Family) Instructi

Seite 75 - Integer Instructions

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-109JSR Jump to Subroutine JSR (M68000 Family) Operation: SP – 4 → Sp; PC →

Seite 76

Integer Instructions4-110 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLALEA Load Effective Address LEA (M68000 Family) Operation: < ea >

Seite 77 - JSR Jump to Subroutine JSR

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-113LSL, LSR Logical Shift LSL, LSR (M68000 Family) Operation: Destination S

Seite 78 - Load Effective Address LEA

MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 2-1 SECTION 2ADDRESSING CAPABILITIES Most operations take asource operand and destination opera

Seite 79 - Logical Shift LSL, LSR

Integer Instructions4-114 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLALSL, LSR Logical Shift LSL, LSR (M68000 Family) Condition Codes: X — Set

Seite 80

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-115LSL, LSR Logical Shift LSL, LSR(M68000 Family) Instruction Format: MEMOR

Seite 81

Integer Instructions4-116 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAMOVE Move Data from Source to Destination MOVE (M68000 Family) Operation

Seite 82

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-117MOVE Move Data from Source to Destination MOVE (M68000 Family) Destinati

Seite 83

Integer Instructions4-118 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAMOVE Move Data from Source to Destination MOVE (M68000 Family) Source Ef

Seite 84

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-119MOVEA Move Address MOVEA (M68000 Family) Operation: Source → Destination

Seite 85 - MOVEA Move Address MOVEA

Integer Instructions4-120 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAMOVEA Move Address MOVEA (M68000 Family) Effective Address field—Specifies

Seite 86

Integer Instructions4-168 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLARTR Return and Restore Condition Codes RTR (M68000 Family) Operation: (S

Seite 87

Integer InstructionsMOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-169RTS Return from Subroutine RTS (M68000 Family) Operation: (SP) → PC; SP

Seite 88 - Return from Subroutine RTS

Processor Instruction SummaryA-12 MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLAA.1 MC68000, MC68008, MC68010 PROCESSORS The following paragrap

Seite 89 - Mnemonic Description

Addressing Capabilities 2-2 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA An instruction specifies the function to be performed with an operati

Seite 90 - (Continued)

Processor Instruction SummaryMOTOROLA MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL A-13Table A-3. MC68000 and MC68008 Instruction Set (Continued)Mnemo

Seite 91 - Table C-2. ASCII Code

S-Record Output Format MOTOROLA MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL C-5 Table C-2. ASCII Code LeastSignificantDigitMost Significant Digit 01

Seite 92

S-Record Output Format MOTOROLA MC68000 FAMILY PROGRAMMER’S REFERENCE MANUAL C-5 Table C-2. ASCII Code LeastSignificantDigitMost Significant Digit 01

Kommentare zu diesen Handbüchern

Keine Kommentare