Lecture: 2
Practical: 1
Tutorial 0
· to have the students gain an understanding of the principles of the operation of microprocessors.
On completion of the course the students will have an understanding of the principles of the operation of microprocessors.
· the Motorola 6800 family
· the Intel 80x86 family
All modern computers contain a microprocessor which does the vast majority of the work of the computer. Although a knowledge of microprocessor principles is not essential for a computer programmer – it is desirable for a computer scientist.
Introduction: Review of microprocessor/computer architecture and binary arithmetic. Components of microprocessor system: Central processing unit (CPU), data/program memory, input/output devices and bus structure. Examples of microprocessor families, e.g. Intel 8080, Motorola 6800 (eight-bit processors). Familiarisation with a Motorola 68HC11 evaluation board hardware and software. Hand-assembling, automatic assembling, debugging of simple assembly language programs.
Machine Language Programming: Review of addressing modes and types of instructions. Examination of decision making capabilities of a CPU. Use of special purpose registers to address blocks of data. Function of the stack. Write, assemble and debug assembly language programs to demonstrate all addressing modes.
Input/Output: Synchronous, asynchronous, program controlled, interrupt controlled input/output. Serial and parallel standards for input/output. Use of the MC68HC11 to control the Flight electronics multi applications board. Interfacing to Analogue-to-Digital converter (ADC), Digital-to-Analogue Converter (DAC), Light-emitting diode (LED) panel, light sensor, heater, DC motor.
The Intel 80x86 Family: Introduction to sixteen-bit microprocessors, examination of internal architecture of a typical sixteen-bit microprocessor (Intel 8086). Familiarization with Borland turbo assembler, linker and debugger.
Software Development For Microprocessors: Assembly language programming: Mnemonic symbols, assembler directives, macros, subroutines, use of segments. Addressing modes. Linking assembly code to high-level languages. Write, assemble and debug assembly language programs to demonstrate all addressing modes.
Interfacing: Synchronous, asynchronous, program controlled, interrupt controlled input/output. Serial and parallel standards for input/output. Port addressing modes. Assembly language programs making use of the PC serial and parallel ports.
More Recent Processors: Intel 80186, 80286, 80386, 80486, Pentium, RISC and DSP processors. Digital filter implementation on a DSP
· lectures: in each lecture a question sheet handout is given. Each student is assigned one question which they must research for the next lecture when all questions are discussed and notes are compiled accordingly.
· worked example questions in class
· practical laboratory work: in each lab session the students are given a task based on worked example in class.
Written Examination – 50%
Continuous
Assessment – 50%
(Lab write ups – 30%, continuous assessment tests – 20%)
Any introductory textbook on microprocessors.
The Motorola 6800 microprocessor, J. Quinn, (1990) Merrill Publishing Co.
Motorola 68HC11 reference manual (available in electronic form on dept network)
Microprocessors, theory and applications, (Intel and Motorola), M. Rafiquzzmann, (1992) Prentice Hall International.
The Intel microprocessors, 8086/8088, 80186, 80286, 80386 & 80486, architecture, programming & interfacing, Brey & Barry (1994) Prentice Hall International.
Interfacing to the IBM PC, 2nd Ed., Eggebrecht & Lewis (1990) Macmillan Computer Publishing
Assembler inside and out, Harley Hahn (1992) Osborne, McGraw Hill
Microprocessor Lecture Notes (available in electronic form on dept network). Go to DT266.3