THE MOTOROLA 68XXX MICROPROCESSORS

Σχετικά έγγραφα
Instruction Execution Times

Ενσωµατωµένα Υπολογιστικά Συστήµατα (Embedded Computer Systems)

ΕΠΛ221: Οργάνωση Υπολογιστών και Συμβολικός Προγραμματισμός. Εργαστήριο Αρ. 2

ΠΕΡΙΓΡΑΦΗ ΥΛΙΚΟΥ AVR 1. ΕΙΣΑΓΩΓΗ 1.1 ΓΕΝΙΚΗ ΔΟΜΗ 1.2 ΟΙΚΟΓΕΝΕΙΕΣ 1.3 ΤΥΠΟΙ 1.4 ΕΡΓΑΛΕΙΑ

ΤΕΧΝΙΚΕΣ ΑΥΞΗΣΗΣ ΤΗΣ ΑΠΟΔΟΣΗΣ ΤΩΝ ΥΠΟΛΟΓΙΣΤΩΝ I

Τέτοιες λειτουργίες γίνονται διαμέσου του

Αρχιτεκτονική υπολογιστών

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

EE512: Error Control Coding

Modbus basic setup notes for IO-Link AL1xxx Master Block

Section 8.3 Trigonometric Equations

the total number of electrons passing through the lamp.

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Strain gauge and rosettes

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

The Simply Typed Lambda Calculus

Assalamu `alaikum wr. wb.

(C) 2010 Pearson Education, Inc. All rights reserved.

C.S. 430 Assignment 6, Sample Solutions

[1] P Q. Fig. 3.1

Προχωρηµένα Θέµατα Αρχιτεκτονικής

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

Elements of Information Theory

Congruence Classes of Invertible Matrices of Order 3 over F 2

ΑΝΙΧΝΕΥΣΗ ΓΕΓΟΝΟΤΩΝ ΒΗΜΑΤΙΣΜΟΥ ΜΕ ΧΡΗΣΗ ΕΠΙΤΑΧΥΝΣΙΟΜΕΤΡΩΝ ΔΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ

ΠΡΟΛΟΓΟΣ... xxi ΣΗΜΕΙΩΣΗ ΠΡΟΣ ΤΟΝ ΔΙΔΑΣΚΟΝΤΑ... xxiv ΣΗΜΕΙΩΣΗ ΠΡΟΣ ΤΟΝ ΑΝΑΓΝΩΣΤΗ... xxv ΣΗΜΕΙΩΣΗ ΠΡΟΣ ΤΟΥΣ ΦΟΙΤΗΤΕΣ... xxv

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 5: Component Adaptation Environment (COPE)

Block Ciphers Modes. Ramki Thurimella

Προηγμένοι Μικροεπεξεργαστές. Paging & Segmentation

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

5.4 The Poisson Distribution.

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016

... TYPORAMA / ISBN: : (0610) , / : (0610)

Μηχανοτρονική. Τμήμα Μηχανικών Παραγωγής και Διοίκησης 7 ο Εξάμηνο,

Approximation of distance between locations on earth given by latitude and longitude

Αρχιτεκτονική Σχεδίαση Ασαφούς Ελεγκτή σε VHDL και Υλοποίηση σε FPGA ΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Αρχιτεκτονική υπολογιστών

PARTIAL NOTES for 6.1 Trigonometric Identities

The challenges of non-stable predicates

Εικονική Μνήμη (Virtual memory)

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

Writing kernels for fun and profit

Homework 3 Solutions

CMOS Technology for Computer Architects

Εικονική Μνήμη (virtual memory)

«ΜΙΚΡΟΫΠΟΛΟΓΙΣΤΕΣ» ΕΣΩΤΕΡΙΚΗ ΑΡΧΙΤΕΚΤΟΝΙΚΗ ΚΑΙ ΛΕΙΤΟΥΡΓΙΕΣ

department listing department name αχχουντσ ϕανε βαλικτ δδσϕηασδδη σδηφγ ασκϕηλκ τεχηνιχαλ αλαν ϕουν διξ τεχηνιχαλ ϕοην µαριανι

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

ΑΓΓΛΙΚΑ Ι. Ενότητα 7α: Impact of the Internet on Economic Education. Ζωή Κανταρίδου Τμήμα Εφαρμοσμένης Πληροφορικής

SMD Transient Voltage Suppressors

Section 9.2 Polar Equations and Graphs

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ

ΠΑΝΔΠΙΣΗΜΙΟ ΜΑΚΔΓΟΝΙΑ ΠΡΟΓΡΑΜΜΑ ΜΔΣΑΠΣΤΥΙΑΚΧΝ ΠΟΤΓΧΝ ΣΜΗΜΑΣΟ ΔΦΑΡΜΟΜΔΝΗ ΠΛΗΡΟΦΟΡΙΚΗ

Τελική Εξέταση, Απαντήσεις/Λύσεις

CYTA Cloud Server Set Up Instructions

Πρόχειρες Σημειώσεις. Θ. Ζαχαριάδης Αν. Καθηγητής. Λ. Σαράκης Καθ. Εφαρμογών

Bring Your Own Device (BYOD) Legal Challenges of the new Business Trend MINA ZOULOVITS LAWYER, PARNTER FILOTHEIDIS & PARTNERS LAW FIRM

Dr. D. Dinev, Department of Structural Mechanics, UACEG

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Advanced Subsidiary Unit 1: Understanding and Written Response

Second Order Partial Differential Equations

Partial Trace and Partial Transpose

Αρχιτεκτονική του ARM. K.Harteros G.Kornaros

Εθνικό Μετσόβιο Πολυτεχνείο Σχολή Ηλεκτρολόγων Μηχανικών - Μηχανικών Υπολογιστών. Αρχιτεκτονική Υπολογιστών Νεκτάριος Κοζύρης.

! " # $ &,-" " (.* & -" " ( /* 0 (1 1* 0 - (* 0 #! - (#* 2 3( 4* 2 (* 2 5!! 3 ( * (7 4* 2 #8 (# * 9 : (* 9

ΑΛΕΞΑΝΔΡΟΣ ΠΑΛΛΗΣ SCHOOLTIME E-BOOKS

UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications:

Test Data Management in Practice

Example Sheet 3 Solutions

Πώς μπορεί κανείς να έχει έναν διερμηνέα κατά την επίσκεψή του στον Οικογενειακό του Γιατρό στο Ίσλινγκτον Getting an interpreter when you visit your

ΑΥΤΟΜΑΤΟΠΟΙΗΣΗ ΜΟΝΑΔΑΣ ΘΡΑΥΣΤΗΡΑ ΜΕ ΧΡΗΣΗ P.L.C. AUTOMATION OF A CRUSHER MODULE USING P.L.C.

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/2006

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Homework 8 Model Solution Section

STARTING STEPS IN GRAMMAR, FINAL TEST C TERM 2012 UNITS 1-18

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Εισαγωγή στην πληροφορική -4

Θ. Ζαχαριάδης Αν. Καθηγητής. Λ. Σαράκης Καθ. Εφαρμογών

Εργαστήριο Οργάνωσης Η/Υ. Δαδαλιάρης Αντώνιος

2 Composition. Invertible Mappings

Numerical Analysis FMN011

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

Capacitors - Capacitance, Charge and Potential Difference

ΑΡΧΙΤΕΚΤΟΝΙΚΗ HARDWARE ΥΠΟΛΟΓΙΣΤΙΚΩΝ ΣΥΣΤΗΜΑΤΩΝ

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

Δθαξκνγέο αζύξκαηεο ηειεκεηξίαο ζηελ αλαπηπμηαθή πιαηθόξκα Arduino

ΓΡΑΜΜΙΚΟΣ & ΔΙΚΤΥΑΚΟΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΝΟΣΗΛΕΥΤΙΚΗΣ

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΕΠΙΣΤΗΜΩΝ ΥΓΕΙΑΣ

Written Examination. Antennas and Propagation (AA ) April 26, 2017.

Μειέηε, θαηαζθεπή θαη πξνζνκνίσζε ηεο ιεηηνπξγίαο κηθξήο αλεκνγελλήηξηαο αμνληθήο ξνήο ΓΗΠΛΩΜΑΣΗΚΖ ΔΡΓΑΗΑ

Writing for A class. Describe yourself Topic 1: Write your name, your nationality, your hobby, your pet. Write where you live.

Transcript:

THE MOTOROLA 68XXX MICROPROCESSORS THE MOTOROLA 68XXX MICROPROCESSORS 14.1 Introduction 14.2 Programming Model 14.3 Addressing Modes 611 37100 微處理機原理與應用 Lecture 14-2

14.1 Introduction The Motorola MC68000 microprocessor was introduced in 1976 in integrated circuit form with an architecture similar to the 6800 family of 8-bit microprocessor and to the DEC PDP-11 family 16-bit minicomputers. The MC68000 is found in a popular line of personal computers and is also popular for industrial and graphic-intense applications. Internally, all versions of the 68000 have a 32-bit architecture. However, the external bus widths vary from 16 to 32 bits. 611 37100 微處理機原理與應用 Lecture 14-3 14.1 Introduction The MC68000 is the CPU used in Apple s Macintosh series of microcomputers. 611 37100 微處理機原理與應用 Lecture 14-4

14.1 Introduction The 68000 use a 16-bit data bus and a 24-bit memory address bus and therefore can address only 16 Mbytes of physical memory. Special instructions added to the 68010 give it virtual memory addressing capability. The 68020 introduced the 32-bit data bus and a coprocessor interface which supports up to eight coprocessors and added a 256-byte on-chip instruction cache. The internal design of 68030 is split into two independent 32-bit processors to speed up processing. It also has internal MMU to address the full 4 Gbytes of memory space. 611 37100 微處理機原理與應用 Lecture 14-5 14.1 Introduction The 68040 adds an internal floating point arithmetic unit to speed up complex calculations. Its internal design allow the 68040 to carry out many of its instruction execution in a pipeline mode. The 68060 uses a new superscalar execution technique which allows it to process more than one instruction per clock cycle. The virtual memory techniques cause information to be loaded from mass storage devices before the information is addressed by the processor. 611 37100 微處理機原理與應用 Lecture 14-6

14.1 Introduction Major attributes of the 68XXX processors Attribute 68000 68010 68020 68030 68040 68060 611 37100 微處理機原理與應用 Lecture 14-7 14.1 Introduction Performance comparisons of Apple Mac computers MODEL CPU GRAPHICS DISK MATH PROCESSOR Mac II 0.22 0.19 0.53 0.82 16 MHz 68020 Classic II 0.25 0.15 0.90 0.78 16 MHz 68030 SE/30 0.26 0.16 0.70 0.98 16 MHz 68030 IIcx 0.26 0.25 0.77 0.96 16 MHz 68030 Color Classic+ 0.25 0.23 0.89 1.94 16 MHz 68030 IIsi 0.24 0.31 0.80 0.55 20 MHz 68030 IIsi* 0.32 0.32 0.85 0.83 20 MHz 68030 IIci 0.38 0.39 1.63 1.24 25 MHz 68030 IIci, cache 0.40 0.46 1.69 1.37 25 MHz 68030 PB 170 0.40 0.21 0.69 3.15 25 MHz 68030 LC III 0.43 0.38 0.85 1.50 25 MHz 68030 IIfx 0.71 0.45 0.74 2.97 40 MHz 68030 Co. Cl. 040++ 0.82 0.47 0.88 4.19 25 MHz 68040 C/Q 660av 0.89 1.02 1.44 14.99 25 MHz 68040 Quadra 605 0.88 1.00 1.48 4.69 25 MHz LC040 Quadra 605 0.88 1.00 1.48 14.82 25 MHz 68040 IIci, 040 1.30 1.27 1.71 10.04 40 MHz 68040 PB 540 1.17 0.64 0.84 5.60 33 MHz LC040 PB 540C 1.18 0.75 0.92 6.25 33 MHz LC040 Quadra 700 0.89 1.00 1.89 14.97 25 MHz 68040 Q 700/PPC 2.59 1.28 1.84 86.31 50 MHz 601 Quadra 630 1.18 1.11 2.03 19.86 33 MHz 68040 Quadra 650 1.19 1.34 1.89 20.01 33 MHz 68040 Quadra 950 1.19 1.29 2.85 20.02 33 MHz 68040 Q 950/PPC 3.48 1.63 2.42 115.2 66 MHz 601 6100/60 3.11 1.44 1.23 106.3 60 MHz 601 6100/66 3.40 1.68 1.54 116.5 66 MHz 601 6100/66 L2# 3.43 2.14 1.73 118.4 66 MHz 601# UMAX J700 11.87 n/a** 2.50 531.9 180 MHz 604e imac Rev. B 15.22 n/a** 2.52 644.7 233 MHz G3 P-Mac G3/266 21.05 n/a** 3.54 745.5 266 MHz G3 S900/G3-333## 25.17 n/a** 2.95 891.1 180 MHz 604e FW ibook 28.25 n/a** 3.24 1016.5 366 MHz G3e PB G4/400 30.61 n/a** 3.35 1124.6 400 MHz G4 611 37100 微處理機原理與應用 Lecture 14-8

14.1 Introduction Performance comparisons of Apple Mac computers PB G4/400 FW ibook S900/G3-333 P-Mac G3/266 imac Rev. B UMAX J700 6100/66 L2 6100/66 6100/60 Q 950/PPC Quadra 950 Quadra 650 Quadra 630 Q 700/PPC Quadra 700 PB 540C PB 540 IIci, 040 Quadra 605 Quadra 605 C/Q 660av Co. Cl. 040 IIfx LC III PB 170 IIci, cache IIci Iisi IIsi Color Classic IIcx SE/30 Classic II Mac II 0 5 10 15 20 25 30 35 611 37100 微處理機原理與應用 Lecture 14-9 Speedometer 4.02 Mac Benchmarks 14.2 Programming Model The 68000 internal architecture uses 32-bit buses and registers. The 68000 external address bus has 23 bits. It can address 8,388,608 16-bit memory location (16-Mbyte memory address space). All new 68XXX processors, starting with the 68020, have a 32-bit external address bus and can therefore address 4 Gbytes of physical memory. The 68XXX family programming model is broken down into the user and system sections. The user section is where ordinary tasks run, and the system section is where the full power of the microprocessor is allowed. 611 37100 微處理機原理與應用 Lecture 14-10

14.2 Programming Model The 68XXX user programming model 611 37100 微處理機原理與應用 Lecture 14-11 14.2 Programming Model The 68XXX family has seventeen 32-bit registers, a 32-bit program counter (23-bit for the 68000), and a 16-bit status register. Data registers: D 0 ~D 7, work in the bit, BCD, byte, word, or long word modes. Address registers: A 0 ~A 7, are used to help calculate the memory location address. Program counter: PC Condition code register: CCR Seven 80-bit data registers: when floating point unit is used 32-bit control register: when floating point unit is used. Beside the program counter, all other 16 registers are general-purpose. 611 37100 微處理機原理與應用 Lecture 14-12

14.2 Programming Model The 68XXX status register Original 6802 flags 611 37100 微處理機原理與應用 Lecture 14-13 14.2 Programming Model The user and supervisor states provide the protection from user programming error that might contaminate the content of stack or memory. When the processor is in the supervisor state, you have access to many more instructions and a number of system register in the more advance versions of the 68XXX family of processors The 68XXX processors are always in one of three major processing states: Normal processing state Program instructions Exception processing state Interrupts Halt processing state Wait for an interrupt 611 37100 微處理機原理與應用 Lecture 14-14

14.2 Programming Model The 68XXX supervisor programming model 611 37100 微處理機原理與應用 Lecture 14-15 14.2 Programming Model The 68000 exception states Type of Cause Exception Type Exception Caused by 611 37100 微處理機原理與應用 Lecture 14-16

14.3 Addressing Modes The program counter is used for instruction fetches, and one of the address registers (A 0 to A 7 ) is used for data fetches. The 68XXX processors can address bit, BCD, byte, word, long-word and quad-word data in memory. There are six different kinds of addressing modes on the earlier processors and nine on the later versions (68020 and later). All the addressing mode do the same thing: They generate an effective address. 611 37100 微處理機原理與應用 Lecture 14-17 14.3 Addressing Modes The organization of data in 68XXX memory locations 611 37100 微處理機原理與應用 Lecture 14-18

14.3 Addressing Modes 68XXX addressing modes by processor type Addressing Modes Mode 68000 68020, 68030 Number 68010 and 68040 Syntax Syntax 611 37100 微處理機原理與應用 Lecture 14-19 14.3 Addressing Modes A 68XXX instruction word showing the part used for the instruction, the mode, and register to be used. 611 37100 微處理機原理與應用 Lecture 14-20

14.3 Addressing Modes Register direct addressing Data register direct Address register direct 611 37100 微處理機原理與應用 Lecture 14-21 14.3 Addressing Modes Register indirect addressing 611 37100 微處理機原理與應用 Lecture 14-22

14.3 Addressing Modes Register indirect addressing Address register indirect (mode 010) Address register indirect with postincrement (mode 011) Address register indirect with preincrement (mode 100) Address register indirect with displacement (mode 101) Address register indirect with postincrement 611 37100 微處理機原理與應用 Lecture 14-23 14.3 Addressing Modes Register indirect addressing with displacement 611 37100 微處理機原理與應用 Lecture 14-24

14.3 Addressing Modes Indirect addressing with an index 611 37100 微處理機原理與應用 Lecture 14-25 14.3 Addressing Modes The program counter with displacement mode 611 37100 微處理機原理與應用 Lecture 14-26

14.3 Addressing Modes Relative addressing using a displacement and an index 611 37100 微處理機原理與應用 Lecture 14-27 14.3 Addressing Modes The long and short addressing modes 611 37100 微處理機原理與應用 Lecture 14-28

The 68XXX processors are upwardly compatible. The 68XXX instructions can grouped into: The data move instructions The integer arithmetic instructions The logical instructions The shift and rotate instructions The bit manipulation instructions The bit field instructions The BCD instructions The program control instructions The floating point instructions The special data movement instructions The supervisory control instructions The trap instructions The special function instructions 611 37100 微處理機原理與應用 Lecture 14-29 The data move instructions Data move instructions Move bytes, words or long words Address move instructions Move words or long words Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-30

The integer arithmetic instructions Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-31 The logical instructions The TST instruction test the operand by comparing it to zero, and the status register bits are set. No other results are saved. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-32

The shift and rotate instructions Memory shifts and rotates must work on a word. Register shifts and rotates support all operand lengths. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-33 The bit manipulation instructions Each bit-oriented instructions must have not only an effective address but also a bit address. Only the status register zero flag is changed by bit operation. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-34

The bit field instructions The bit field instructions let the programmer work with a variable-length bit field; that is, the operand can be from 1 to 32 bits long. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-35 The BCD instructions The BCD instructions let you perform arithmetic operations (add, subtract, and negate) on byte operands. Packed BCD must be used in BCD instructions PACK and UNPK instructions allow a programmer to convert ASCII or EBCDIC data string into BCD data or to make BCD data into ASCII or EBCDIC data string. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-36

The program control instructions Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-37 The floating point instructions Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-38

The special data movement instructions supervisory mode These special data movement instruction introduce the ability to move blocks of data, multiple registers, and the special function registers. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-39 The supervisory control instructions supervisory mode The privileged instructions work only when the status register S bit is set. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-40

The supervisory control instructions supervisory mode The trap instructions are like interrupts. They cause the processor to move to the exception processing state. Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-41 The special functions instructions The 68030 processor allows the programmer access to virtual memory by using address translation tables which are stored in memory. The most recently used translations are stored in an address translation cache (ATC) in the MMU. The PFLUSH and PTEST instructions are provided to allow programmer control over the ATC contents. The 68020 introduced the ability to support multiple processors (one to eight processors). The CAS, CAS2, and TAS are used to manage multiple processor. The CASH, CINV, and CPUSH are provided for on-chip cache memory support. 611 37100 微處理機原理與應用 Lecture 14-42

The special functions instructions Mnemonic Description 68000, 68020 68030 68010 68040 611 37100 微處理機原理與應用 Lecture 14-43 Implicit instruction addresses Instruction Implied Register SP (System Stack Pointer) USP (User Stack Pointer) SSP (Supervisor Stack Pointer) 611 37100 微處理機原理與應用 Lecture 14-44

The 68000 and 68010 use a 64-pin package. They do not use any multiplexed address or data lines. The 68020 and newer processors support a full 32-bit address bus and a full 32-bit data bus. They are usually packaged in pin grid array package or quad flat pack. The 68XXX common signals Address bus Data bus Asynchronous bus control Bus arbitration control Interrupt control Bus exception control or system control Processor status or function codes Power, ground, clock 611 37100 微處理機原理與應用 Lecture 14-45 The 68000 logical pinout groupings 611 37100 微處理機原理與應用 Lecture 14-46

A functional pinning breakout for the 68XXX processors 611 37100 微處理機原理與應用 Lecture 14-47 A 114-pin pin grid array package used for 68XXX microprocessor 611 37100 微處理機原理與應用 Lecture 14-48

A 132-pin quad flat pack 611 37100 微處理機原理與應用 Lecture 14-49 68XXX processor packages and pin count Attribute 68000 68010 68020 68030 68040 611 37100 微處理機原理與應用 Lecture 14-50

The 68040 block diagram 611 37100 微處理機原理與應用 Lecture 14-51 The Macintosh II (68020) block diagram 611 37100 微處理機原理與應用 Lecture 14-52

Logic Board Picture for Apple Macintosh Color Classic Reference: http://www.micromac.com/ 611 37100 微處理機原理與應用 Lecture 14-53 The 68030 and newer processors offer three different types of bus operation: asynchronous, synchronous, and burst data transfer. The synchronous mode requires the external device to work at the processor speed rather than telling the processor when it is finished. The burst data transfer allows a continuous flow of data from memory into the on-chip cache memory until the cache is full. The asynchronous bus control lines manage exchanges between external devices and the 68XXX address and data buses. The 68XXX processors support DMA with the three bus arbitration control lines: BR (bus request), BG (bus grant), BGACK (bus grant acknowledge). 611 37100 微處理機原理與應用 Lecture 14-54

There are three interrupt inputs on a 68XXX processor indicating no interrupt (000) or seven different levels of interrupt priority (001 to 111). Bits 8, 9, and 10 of a 68XXX status register are called the interrupt priority mask. The programmer can set these bits to indicate the priority level of interrupt of 68XXX processor will recognize. When a 68XXX processor recognizes an interrupt, it starts an exception processing routine, and the processor is put in the privileged mode. All exception mode processing must be done in the privileged state. The 68XXX processors use interrupt vectors given by the external interrupt device. 611 37100 微處理機原理與應用 Lecture 14-55 Generating a complete address from the 8-bit interrupt vector supplied by an external device 611 37100 微處理機原理與應用 Lecture 14-56

68XXX vector assignments Vector Hex Address Assignment 611 37100 微處理機原理與應用 Lecture 14-57 68XXX vector assignments Vector Hex Address Assignment 611 37100 微處理機原理與應用 Lecture 14-58