chp1 68000 microprocessor copy

20
68000 68000 Microprocessor Microprocessor

Upload: mkazree

Post on 25-May-2015

1.882 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Chp1 68000 microprocessor   copy

68000 68000 MicroprocessorMicroprocessor

Page 2: Chp1 68000 microprocessor   copy

The 68000 Microprocessor

CPU

Memory Output Input

Address bus

Data bus

Control bus

Page 3: Chp1 68000 microprocessor   copy

System Bus

i. Address bus: single direction (1 way) bus

transfer the address data

code to memory or devices

ii. Data bus: bidirectional (2 ways) bus

transfer data to/ from the CPU

iii. Control bus: Control all the activities of the

elements

Page 4: Chp1 68000 microprocessor   copy

Central Processing Unit (CPU)

o HEART of the systemo Master CONTROLLER for all operationso 3 main parts:

i. ALU : mathematic operation (plus, minus,

multiply, divide, etc.)

ii. Register : storage unit

iii. Control and Timing : Control unit

Page 5: Chp1 68000 microprocessor   copy

Memory

CPU DeviceRead Write

(Send data)(Accept data)Device

Semiconductor Magnetic Optical

RAM ROM Disk Tape CD-ROM

StaticRAM

DynamicRAM

Mask-programmable ROM

Programmable ROM (PROM)

Erasable PROM (EPROM)

Electrically EPROM(EEPROM)

MEMORY

Page 6: Chp1 68000 microprocessor   copy

Memory cont…

RAM (Random Access Memory)

ROM (Read Only Memory)

• Volatile • Read & Write• Store temporary data

• Non-volatile• Read• To get started from power

on (boot up), including BIOS (basic input/output system)

Input / Output

Page 7: Chp1 68000 microprocessor   copy

Programmer’s Model of 68000

Page 8: Chp1 68000 microprocessor   copy

Status Register

Page 9: Chp1 68000 microprocessor   copy

Functional Description of the 68000

Interrupt control

6800 peripheral

control

System control

Bus arbitration

control

Asynchronousbus control

Processor status

ADDRESS

Page 10: Chp1 68000 microprocessor   copy

68000 Data Organization

Byte View1 byte

(8 bits)

000000

000001

000002

000003

.

.

FFFFFF

Page 11: Chp1 68000 microprocessor   copy

68000 Data Organization cont…

Word View

Page 12: Chp1 68000 microprocessor   copy

68000 Data Organization cont…

Long Word View

Page 13: Chp1 68000 microprocessor   copy

Memory Map of 512KB Macintosh

Page 14: Chp1 68000 microprocessor   copy

68000 Instruction Types

8-bit : ADD.B D4, D5

D4 11

+ D5 12

D5 23

Page 15: Chp1 68000 microprocessor   copy

68000 Instruction Types cont…

16-bit : ADD.W D4, D5

D4 11 22

+ D5 33 44

D5 44 66

Page 16: Chp1 68000 microprocessor   copy

68000 Instruction Types cont…

32-bit : ADD.L D4, D5

D4 11 22 33 44

+ D5 22 33 44 55

D5 33 55 77 99

Page 17: Chp1 68000 microprocessor   copy

Advantages of MC6800

It is popular to use because it is still using for Macintosh computer.

Instructions set are comprehensive. Compare with the 8-bit P (like 6800, Z-80),

the space for the address is big. There is special characteristic for designing

the operation system. Easy to use by user compiler and assembler

language.

Page 18: Chp1 68000 microprocessor   copy

Tutorial

2.1 16 bits

2.2 49,152 bytes

2.3 To store the programs and data

2.4 Volatile and non-volatile

2.5 A bus is a wire or wires that connect the IC chips in a computer

2.6 Unidirectional

2.7 Bidirectional

Page 19: Chp1 68000 microprocessor   copy

Tutorial

2.8 ALU, register, timing and control2.9 Each user gets 32KB of RAM. The

operating system does indeed required some RAM for its own use. One way to do this is to allocate a small portion of each user’s RAM for operating system functions.

2.10 The .B, .W and .L extensions specify the operand size for an instruction.

2.11 Longword at address 30 is 9AFC3007. Word at address 30 is 9AFC.

Page 20: Chp1 68000 microprocessor   copy

Tutorial

2.12 a. longword

b. longword

c. longword

d. word or longword

e. byte, word or longword2.13 The condition codes are contained in the user byte

of the status register

2.14 Trace bit, supervisor state and interrupt mask are contained in the system byte of the status register.