0% found this document useful (0 votes)
13 views

Course Outline

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Course Outline

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

ANNEXURE-I

Computer Organization and Assembly Language (COAL)


Course Code CS-2165
Semester Fall 2024
Cr. Hrs. 4 (3+1)
Section (s) COAL 3A, 3C, 3P

Instructor Contact Information


Instructor Mr.Muhammad Yasin Nasir
Email [email protected]
Cell No.
Zoom ID
Office Room No 109 First Floor CS Building

i) Teacher will be available during the office hours for student consultation as per following schedule:
Student
Monday: 12:00 PM to 2:00 PM,
Consultation
Tuesday: 2:00 PM to 3:00 PM,
Hours
Thursday: 10:00 AM to 12:00 PM

Class Details
Class Class
Section Class Title Days & Times Class Dates
Type Room Location

i) Please use email rather than telephone voice mail for messages.
ii) Please keep emails short and focused, and use a clear subject line beginning with "COMP 110
Question".
Communication
iii) Instructor will generally respond within 24 hours (during the academic days).
with Instructor
iv) Always include your name, course, and UOL email address in your messages to instructor. If
you send an email from some address other than UOL email address like [email protected];
instructor would not be able to recognize that you are a student of University.
Pre-Requisites: (Note: Instructor should define it in coordination with HOD/Faculty Committee)

Prerequisites:
Corequisite

Medium of Instruction
Instructor will deliver class lectures, conduct discussions and engage in all academic activities exclusively in
Medium of
English. Moreover, the students are required to use English as mode of communication for class room
Instruction
discussions, group discussions, vivas/presentations, group projects etc.

Course Material Availability on SLATE/LMS:


I will use LMS/Slate to keep in touch with my classes. In-class discussion problems, homework solutions and
supplemental materials, and scores for exams, attendance, and assignments will be posted to LMS/SAP. You
should be certain that you are able to log in to LMS/SAP, and that you check the class page on LMS and your
SLATE/LMS University email account regularly.

Course material is available on LMS: https://slate.uol.edu.pk/login/index.php


Grades will be posted on LMS/SAP: https://slate.uol.edu.pk/login/index.php

Required Text
Asssembly Language Programming and Organization IBM PC 1st Edition by
Text Book 1
Ytha Yu (Author), Charles Marut (Author)
Text Book 2 Computer System Architecture 3rd Edition by Morris Manno
1. 80X86 IBM PC and Compatible Computers: Assembly Language, Design, and Interfacing”,
Other
Volumes I & II (5th Edition) 2010, Pearson by Muhammad Ali
Material
2. Mazidi The Intel Microprocessors 8th Edition, By Barry B. Brey

Software/ Other Tools/Resources


8086 Microprocessor Emulator Setup
You must install the 8086 Microprocessor Emulator to write and run COAL programs for this class.
Installation Instructions:
Emulator 8086 1. Go to https://emu8086-microprocessor-emulator.en.softonic.com/download
2. Click the "Download" button.
3. Follow the installation prompts to complete the setup.

You can also install DOSBox and MASM (Microsoft Macro Assembler) to write and run Assembly
language programs for this class.
Installation Instructions:
Step 1: Install DOSBox

1. Go to https://drive.google.com/file/d/0B36ww40izFp6dkVWOVk0c1VnOFE/view?resourcekey=0-
C9jAxlBJyoIEX7f8Kz5wzg
DOSBOX
2. Click the "Download" button.
MASM
3. Follow the installation prompts to complete the setup for DOSBOX0.74.

Step 2: MP/MASM Folder

1. Create a new folder for your MASM projects (e.g., C:\MASM or C:\MP).
2. Copy the MASM/MP files to this folder.

Running MASM in DOSBox

Other i) VS Code with assembly language extension


Tools/Softwares

Goals: (Note: Instructor should define it in coordination with HOD/Faculty Committee)


Sr.
Goals
No
Develop a deep understanding of how computers function at the hardware level, including knowledge of key
1
components like the CPU, memory, input/output devices, and how they interact to perform tasks.
Learn about instruction set architectures (ISAs) and how assembly language maps directly to the hardware through the
2
CPU's machine language instructions.
Gain proficiency in writing, assembling, and executing programs in assembly language for a specific processor (e.g.,
3
x86, MIPS).
Understand low-level data operations, such as memory addressing, data movement, arithmetic/logic operations, and
4
control flow at the instruction level.
Explore how assembly language can be used to optimize program performance, as it provides fine control over the
5
hardware, including register usage and instruction selection.
6 Work on practical lab exercises to implement and debug assembly programs, as well as simulate hardware operations.
Learn how high-level languages like C and Java are translated into assembly code and understand the role of compilers
7
and linkers in this process.

Course Objectives: (Note: Instructor should define it in coordination with HOD/Faculty Committee)

Sr.
Objectives
No
1 Able to identify distinguishing features of Intel family members ISA.
2 Able to Understand functions of modern memory & I/O systems and interface
them to the microprocessors
3 Develop software to interface Intel microprocessors with memory and IO.
4 Analyze, design and implement practical systems of up to average complexity
within a team.
5 Appreciate design issues related to multi-core processor systems
COURSE REQUIREMENTS (Subject to Change)
(Note: Instructor should define it in coordination with HOD/Faculty Committee)

A. Class Attendance:
You are expected to attend class and participate by asking questions, answering questions and contributing to topical discussions.
You are expected to arrive prior to the beginning of class. Class members will be randomly selected to answer questions and/or
help with the solution of exercises.
If you do miss a class, it is your responsibility to ensure that you understand the material covered and the announcements made
in the class you missed. You may not use office hours to have the professor explain the material if you missed the class when it
was discussed.
B. Class Participation:
The following factors will be considered in evaluating class participation:
(1) Attend class sessions and contribute to a positive learning environment,
(2) Ask thoughtful questions,
(3) Participate in discussion,
(4) Prepare for reading and assignments conscientiously.

A positive learning environment results when you demonstrate respect for other students and the instructor, are courteous and
attentive, assist others in learning, attend class regularly, and arrive in class on time.

C. Homework/Assignment:
Doing the homework is essential for success in this course. Throughout the semester, at least 4 Homework/Assignments (5
marks/points each) , 2 before Mid-Term and 2 after Mid-Term will be given.
Homework/Assignment assigned will be discussed in class when time permits; but you may not understand it completely unless
you have already attempted the work. Programming is a discipline that cannot be learned merely by watching; it is learned only
by doing. By attempting each homework problem prior to the class discussion, you can maximize your learning experience and
will be in a position to ask appropriate questions and identify areas where you need help. Accordingly, homework should be done
as instructed before coming to each class.
Incomplete work (or cheating on an assignment) cannot be accepted. Late homework cannot be accepted (as the solution will
be posted right after the collection of the assigned homework).
D. Quizzes
Throughout the semester, at least 4 quizzes (5 marks/points each), 2 before Mid-Term and 2 after Mid-Term will be given in
class on material covered in the previous week(s) to ensure that you are keeping current. There are no make-up quizzes. If you
are not in class on the day of a quiz, you will receive a zero.
E. Exams:
There will be two (2) exams for the semester. All exams are “closed book.” Students will not be given any extended time if
arriving late on that day.

Exams will be a combination of objective questions (e.g., multiple choices, short answer) and numerical problems. To receive
credit for numerical answers, adequate supporting computations (and also explanations if necessary) must be provided.
No makeup exam will be given and the exam will not be administered on any other day!
EVALUATION & GRADING :
(Note: Teacher should modify it as per University/Department Policy in Consultation with HOD/Faculty Committee)

The course grades will be determined by the following:

Components Marks Weight


Mid-Term 40 20%
Lab 100 20 %
Final-Exam 40 40 %
Quizzes (4*5 points) 80 10%
Home Work/Assignment (4*5 points) 80 10%
Total 100%

Your Responsibilities
Sr.
Major Responsibilities
No.
1 Arrive on time and do not leave before the end of the class period.
Refrain from causing other distractions (ringing cell phones, talking while others have the floor, etc.). Disruptive
2
students will be asked to leave the class
3 Treat everyone with respect
Be responsible for all assigned materials plus everything covered in class. If you missed classes, make arrangements
4
with another student to collect handouts and to update you on classes you missed

ACADEMIC HONESTY STATEMENT

Academic dishonesty, which includes cheating, fabrication, facilitation of academic dishonesty, and plagiarism, is a serious
academic offense. A grade of "F" shall be assigned to any student who engages in academic dishonesty in this class, and formal
disciplinary action shall be taken. (Plagiarism in any assignment or cheating in the examinations will result in a grade of F in the
entire course).
THIS SYLLABUS CONSTITUTES A CONTRACT BETWEEN THE STUDENT AND THE FACULTY OF IT (FIT). THE TERMS
AND CONDITIONS CONTAINED IN THIS CONTRACT ARE DEEMED TO BE ACCEPTED BY EACH STUDENT WHO
REMAINS IN THIS COURSE AFTER THE OFFICIAL DROP DATE.
Home Work/Assignment and Quiz Details (subject to change)

Home Work (HW)/Assignment Quiz

Submission of Solution
Homework/ HW/Assignment Solution Posting of Result Result
Week Quiz Week Quiz by Posting of Quiz
Assignment Submission by HW/Assignment By Submission Submission
No (on LMS) No Student on by Teacher on
(on LMS) Student on LMS Teacher on LMS Date date
LMS LMS
Home Work 1 Quiz 1 Week Within the Immediately Within
Within the Time Immediately after the
Week Within 3-4 Time Line after the quiz 7days
Line Assigned by assignment
2-3 7days Assigned by submission dead
Teacher submission dead line
Teacher line
Home Work 2 Week Within Quiz 2 Week Within
Same as Above Same as Above Same as Above Same as Above
5-6 7days 6-7 7days
Home Work 3 Week Within Quiz 3 Week Within
Same as Above Same as Above Same as Above Same as Above
10-11 7days 11-12 7days
Home Work 4 Week Within Quiz 4 Week Within
Same as Above Same as Above Same as Above Same as Above
12-13 7days 13-14 7days
Reading
Every Week
Assignments

Note : This is the minimum number of Home Work/Assignments and Quizzes . The Instructor should encourage to add more Home Work/Assignments and Quizzes.

Submitting Work:
1. Most assignments will be submitted electronically via Slate/LMS.
2. Please do not email submissions until and unless necessary due some justified reason.

Course Contents and Tentative Class Schedule Table-I (subject to change)

Exam/Quiz/Assignment
Week Chapter
No Dates Topics Book Name Time Line
No Category for Result
Submission
Asssembly
Language
Programming and
Introduction to Computer Organization and Organization IBM
1 NA NA
Assembly Language PC 1st Edition by
Ytha Yu (Author),
Charles Marut
1 (Author)
History & Evolution of Intel Microprocessor
Same as Above 3 NA NA
and Assembly Language
Applications and Advantages of Assembly
Same as Above 3 NA NA
Language
Organization of Intel 80x86 Microprocessor Same as Above 4 NA NA
Architecture: Memory Hierarchy, Data Bus,
Same as Above 4 NA NA
Control Bus, Address Bus
Asssembly
Language
Programming and
Organization IBM
Registers and their categories PC 1st Edition by 4 NA NA
Ytha Yu (Author),
2 Charles Marut
(Author)

Home Work/
Introduction to Program Segments Within 7
Same as Above 4 Assignment 1
Days
(Week 2/Week3)
Memory Segmentation: Logical Address and
Same as Above 3 NA NA
Physical Address
Exam/Quiz/Assignment
Week Chapter
No Dates Topics Book Name Time Line
No Category for Result
Submission
Directives and A Sample Program Asssembly
Language
Programming and
Organization IBM
4 NA NA
PC 1st Edition by
Ytha Yu (Author),
Charles Marut
(Author)
How to write and execute sample program
3 using MASM Quiz 1 Within 7
Same as Above 4 (Week 3/Week4) Days
DOS Interrupt 21H, Single Character Input,
Output, String Output, New Line
Data Definition:
DB, DW, DD, DQ, DT
Same as Above 5 NA NA
Different variants of MOV and XCHG
instruction
Declare A Variable, Arrays, DUP, EQU, ORG
Variables Naming Convention Same as Above 5 NA NA
80x86 Addressing Modes
Arithmetic Instructions: Asssembly
ADD, SUB, INC, DEC, NEG Language
Signed and Unsigned Operations Programming and
Organization IBM
5 NA NA
PC 1st Edition by
4
Ytha Yu (Author),
Charles Marut
(Author)
Logical Instructions:
Same as Above 7 NA NA
AND, OR, XOR, NOT, TEST
Flags CF, ZF, SF, PF, AF, OF Asssembly
Effect of Arithmetic and Logical Instructions Language
on Flags Programming and
Organization IBM
6 NA NA
PC 1st Edition by
Ytha Yu (Author),
5
Charles Marut
(Author)
Signed and Unsigned Jump, Conditional and
Home Work/
Unconditional, Single flag and Multi-flag Within 7
Same as Above 6 Assignment 2
Days
Jumps. ( JG, JNG, JL, JNL, JA, JNA, JAE, (Week 5/Week6)
JNAE etc.)
Control Transfer Functions Asssembly
Language
Programming and
Organization IBM Quiz 2 Within 7
6 (Week 6/Week7) Days
6 PC 1st Edition by
Ytha Yu (Author),
Charles Marut
(Author)
Loop Structures Same as Above 6
Rotate Instructions, ROL, ROR Asssembly
Language
Programming and
Organization IBM
7 NA NA
PC 1st Edition by
7 Ytha Yu (Author),
Charles Marut
(Author)
RCL, RCR Same as Above 7 NA NA
Shift Instructions:
7 NA NA
SHL, SHR, SAR, SAL
Exam/Quiz/Assignment
Week Chapter
No Dates Topics Book Name Time Line
No Category for Result
Submission
Stack
Same as Above 8 NA NA
PUSH, POP, CALL, RET, PUSHF, POPF
Procedures: Asssembly
Input Binary, Hexadecimal, Decimal Language
Output Binary, Hexadecimal, Decimal Programming and
Organization IBM
8 NA NA
PC 1st Edition by
Ytha Yu (Author),
8 Charles Marut
(Author)
Procedures:
Binary ⇋ Hexadecimal
Decimal ⇋ Hexadecimal Same as Above 8 NA NA
Binary ⇋ Decimal

Within
9 Mid Term Exam Week Midterm
5 Days
Asssembly
Language
Programming and
Organization IBM
9 NA NA
PC 1st Edition by
10 Ytha Yu (Author),
Charles Marut
MUL Instruction (Author)
Home Work/
Within 7
DIV instruction Same as Above 9 Assignment 3
Days
(Week10/Week11)
XLAT Instruction Asssembly
String Operations: Language
MOVSB/W, LOADSB/W, STOSB/W Programming and
Organization IBM
10,11 NA NA
PC 1st Edition by
11 Ytha Yu (Author),
Charles Marut
(Author)
String Operations: Quiz 3
Within 7
SCASB/W, CMPSB/W Same as Above 11 (Week 11/
Days
Week12)
Asssembly
Language
Programming and
Organization IBM Home Work/
Within 7
INT 16H Keyboard Programming 12 Assignment 4
Days
PC 1st Edition by (Week12/Week13)
12
Ytha Yu (Author),
Charles Marut
(Author)
BIOS INT 10H Programming, Set Cursor
Same as Above 15 NA NA
position and get cursor position
Asssembly 19
Language
Programming and
Quiz 4
Organization IBM Within 7
(Week
PC 1st Edition by Days
13/Week14)
File Operations: Ytha Yu (Author),
13
Reading a File, Charles Marut
Writing a File (Author)
Organization of Basic Computer Computer System 5
Architecture 3rd
NA NA
Edition by Morris
Manno
Exam/Quiz/Assignment
Week Chapter
No Dates Topics Book Name Time Line
No Category for Result
Submission
Instruction Set Architecture: Computer System 5 NA NA
Memory Reference Architecture 3rd
Register Reference Edition by Morris
I/O Instructions Manno
14
Computer System 5 NA NA
Instruction Cycle: Architecture 3rd
Fetch, Decode, Execute Edition by Morris
Manno
Register Transfer Language: Computer System 4 NA NA
Register Transfer Architecture 3rd
Bus Transfer Edition by Morris
15 Memory Transfer Manno

Logic Microoperations Same as Above 4 NA NA


Arithmetic Microoperations Computer System
Architecture 3rd
4 NA NA
16 Edition by Morris
Manno
Design of ALU for Basic Computer Same as Above 5 NA NA
17 Final Exam Week Within
Final Term
18 Final Exam Week 3 Days

You might also like