United States International University Africa Nairobi, Kenya Apt2022: Introduction To Assembly Programming Fall 2021 Semester
United States International University Africa Nairobi, Kenya Apt2022: Introduction To Assembly Programming Fall 2021 Semester
Nairobi, Kenya
Prepared By:
Linus Aloo
E-mail: [email protected]
Phone: 0754188380
References
1. Assembly Language for x86 Processors, 6th Ed. Kip R. Irvine, Prentice Hall, 2010
2. Computer organization and Architecture: Designing for Performance, Stallings W.,
Prentice Hall, 8th Edition, 2010.
3. Structured Computer Organization, 5-th edition, Andrew S. Tanenbaum, Prentice
Hall, 2010.
12/07/2021 APT2022 2021 1
Week 1: Introduction: Course Outline
Course Outline
COURSE LEARNING OBJECTIVE:
This course introduces the programming, architecture and interfacing of the Intel 8086
microprocessor. On successful completion of the course, the student should be able to:
1. Recognize the main components and working principles of the Intel 8086
microprocessor
2. Program and Debug in assembly language
3. Understand the basics of computer architecture including the memory organization
and memory interfacing
4. Perform input/output device programming in assembly
5. Perform the hardware and software interrupts and applications.
6. Understand the properties and interfacing of the parallel and serial ports
Course Outline
TEACHING METHODOLOGY
Distribution of marks
The course will be conducted through lectures and class Laboratory exercises 15 %
discussions, illustrations using computers, and practical Assignments 5%
lab exercises. The emphasis will be a 'hands-on' approach Participation 5%
and at least 50% of instruction will be in the computer Quizzes 5%
Grade Distribution
lab. Project 20 %
Numeric Average
Numeric Average
Letter grade (100% Letter grade Mid-Semester Exam: 20 %
(100% Maximum)
Maximum)
Final Exam: 30 %
90 or above A 70-73 C
87-89 A- 67-69 C-
84-86 B+ 64-66 D+
80-83 B 62-63 D
77-79 B- 60-61 D-
74-76 C+ 0-59 F
12/07/2021 APT2022 2021 5
Week 1: Chapter 1: Basic Computer Organization and Microprocessor
Architecture
Chapter Objectives:
At the end of this sub-unit module, students should be able to:
Describe the structure and organization of a computer
Recognize the main components and working principles of the Intel 8086 microprocessor
1.1. Introduction
Students of computing are required to understand and appreciate assembly language programming.
Assembly language is a low level programming language and is important in embedded systems designs.
The language is used to access the processor instructions used to manipulate computer hardware.
It is used to make efficient code that consumes less number of clock cycles and takes less memory as
compared to the high-level programming language
In order to write and execute assembly language programs, we first need to understand the
underlying/embedded hardware.
We will consider 8086 processor.
■ Registers: Provides
storage internal to the CPU.
■ CPU interconnection is
achieved via a system bus.
The different buses in a
microprocessor are the
data bus (DB), address
bus (AB) and the control
bus (CB).
Data flow through the
DB, while address comes
out of the AB.
CB controls the activities
of the microcomputer
system at any instant of
time. Figure 1.2 The Computer Architecture: Top-Level Structure
12/07/2021 APT2022 2021 8
Week 1: Chapter 1: Basic Computer Organization and
Microprocessor Architecture
1.3. Microprocessor and Microcontroller