Motorola M68000 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro ne Motorola M68000. MOTOROLA M68000 FAMILY Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 92
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
MOTOROLA INC., 1992
MOTOROLA
M68000 FAMILY
Programmer’s Reference Manual
(Includes CPU32 Instructions)
Zobrazit stránku 0
1 2 3 4 5 6 ... 91 92

Shrnutí obsahu

Strany 1 - M68000 FAMILY

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

Strany 2

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

Strany 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

Strany 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

Strany 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

Strany 6

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

Strany 7

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

Strany 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

Strany 9

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

Strany 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

Strany 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

Strany 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

Strany 13

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

Strany 14

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

Strany 15

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

Strany 16

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

Strany 17

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

Strany 18

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

Strany 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

Strany 20

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

Strany 21

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

Strany 22

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

Strany 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

Strany 24

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

Strany 25

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

Strany 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

Strany 27

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

Strany 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

Strany 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

Strany 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-

Strany 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

Strany 32

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

Strany 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

Strany 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

Strany 35

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

Strany 36

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

Strany 37

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

Strany 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

Strany 39 - Instruction Set Summary

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

Strany 40

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

Strany 41

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

Strany 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

Strany 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

Strany 44

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

Strany 45 - MODE REGISTER

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

Strany 46

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

Strany 47

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

Strany 48 - Add Address

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

Strany 49 - (M68000 Family)

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

Strany 50 - Add Immediate

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

Strany 51 - ADDI Add Immediate ADDI

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

Strany 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

Strany 53

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

Strany 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

Strany 55

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

Strany 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

Strany 57

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

Strany 58

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

Strany 59 - ANDI AND Immediate ANDI

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

Strany 60

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

Strany 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

Strany 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

Strany 63

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

Strany 64

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

Strany 65

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

Strany 66 - Branch Conditionally Bcc

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

Strany 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

Strany 68 - CMP Compare CMP

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

Strany 69

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

Strany 70 - CMPA Compare Address CMPA

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

Strany 71

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

Strany 72 - CMPI Compare Immediate CMPI

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

Strany 73

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

Strany 74 - CMPM Compare Memory CMPM

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

Strany 75 - Integer Instructions

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

Strany 76

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

Strany 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

Strany 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

Strany 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

Strany 80

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

Strany 81

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

Strany 82

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

Strany 83

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

Strany 84

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

Strany 85 - MOVEA Move Address MOVEA

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

Strany 86

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

Strany 87

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

Strany 88 - Return from Subroutine RTS

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

Strany 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

Strany 90 - (Continued)

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

Strany 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

Strany 92

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

Komentáře k této Příručce

Žádné komentáře