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

Computer Organization & Assembly Language

The document outlines the course structure for Computer Organization & Assembly Language (CSCS-3543), including objectives, learning outcomes, assessment methods, and attendance policies. Students will learn about device dependent programming, the Intel 8086 programming model, and how to develop low-level programs. The course spans 16 weeks with various assessments including quizzes, assignments, and exams.

Uploaded by

zeeshan Akram
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)
69 views

Computer Organization & Assembly Language

The document outlines the course structure for Computer Organization & Assembly Language (CSCS-3543), including objectives, learning outcomes, assessment methods, and attendance policies. Students will learn about device dependent programming, the Intel 8086 programming model, and how to develop low-level programs. The course spans 16 weeks with various assessments including quizzes, assignments, and exams.

Uploaded by

zeeshan Akram
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/ 6

Computer Organization & Assembly

Language
CSCS-3543

Program ADP-CS

Credit Hours 3

Duration 16 Weeks / 32 sessions

Prerequisites
Course Objectives:

After studying this course students should be able to:

• To understand how device dependent programming can be performed.


• To understand the programming model of Intel 8086 and above processors.
• To be able to develop low level programs for an Intel based machine

Learning Outcomes
By the end of the course, students will be able to:
• Understand how device dependent programming can be performed.
• Understand the programming model of Intel 8086 and above processors.
• Be able to develop low level programs for an Intel based machine.

Violation of Academic Honesty Policy:

If any two projects / assignments are identical or partially identical, a zero will be awarded. The
repetition of such kind may lead to an “F” grade in the course.

How to Keep Your Professor Happy:

Class attendance is mandatory. You may miss up to 6 class sessions. On the seventh absence,
you will be withdrawn from the course. As a courtesy to the instructor and other students, be
prepared to arrive at class and be in your seat on time. In addition, please note that each class
lasts for 90 minutes.

Also keep in mind some general rules as given below:

• Cell phones should be powered off.


• Eatables are not allowed in the class.
• The teacher will not tolerate any disruptive behavior in the class.
• The Dress Code has to be observed, no warnings will be given, and violators will be
asked politely to leave the class and consequently will be marked absent.
Participation:

Students are required to attend all classes and read all the assigned material in advance of class
(although not necessarily with perfect comprehension). Advanced preparation and class
participation are crucial for periods in which we discuss cases. During discussion sessions, the
instructor generally keeps track of the insightful and useful comments students make. (Any
unproductive contribution is not rewarded)

Assessment and Evaluation


Exam Type Percentage (%)
Quizzes 10
Assignments 10
Project Presentation 10
Mid Term 30
Final Term 40
Total points 100

Text Books:

• Assembly Language Step-by-Step: Programming with DOS and Linux Jeff Duntemann
• Introduction to 80X86 Assembly Language and Computer Architecture Richard C.
Detmer.

Calendar of Activities

Weeks Contents Activities


• Introduction and significance of assembly language,
• Overview of Intel Microprocessors Family, Processor-
Memory Model,
• Data, Address and control buses
• Maximum Inter-faceable Memory Size and Dimension
calculation

• Internal architecture of 8086.


1 • Execution Unit (EU),
• General Purpose Registers,
• Flag register,
• Index and pointer registers
• 8-bit and 16-bit registers
• Bus Interface Unit(BIU)
• Pre-fetch Buffer
• Segment registers

• Programing Model of X86


• Assembler Directives (.model, .data, .code),
• Basic program structure,
2 • Data movement among registers using (MOV instruction)
• Memory Segmentation,
• Code, Data, Stack and Extra Segments,
• Offset Calculation,
• Physical Address to logical address conversion,
• Physical Address Calculation through Segment and offset
addresses,
• Reading and Writing memory (Little endian) format

• Primitive Data Types (DB,DW,DD),


• Declaring and Initializing variables,
• Data Addressing modes
3 • with examples using MOV instruction Assignment-1
• Data Addressing modes
• with examples using MOV instruction
• Declaring and initializing Arrays.

• Arithmetic Instructions,
• Add, Adc, Sub, Sbb ,Cbw, Neg
4 • CMP instruction Quiz 1
• Conditional jump by comparison of unsigned numbers.
• JA, JB, JE and its variations.

• Conditional jump by comparison of signed numbers.


5 • JG, JL and its variations.
Assignment-2
• Accessing Arrays, Iterations
6 Quiz-2
• Iterations continue

• Logical Instructions
• And, OR, Not, Xor
• Bit Masking
• Selective set,
• Selective clear,
7 • Selective compliment
• SHL,SHR,ROL,ROR,RCL,RCR
• Divide and Multiply operations.
• 8-bit and 16-bit multiplication and division,
• Mul, iMul, Div, iDiv instructions
• For Signed and Unsigned Numbers,

• Using arithmetic instructions to translate high level


language expressions.
• Unconditional Jmp
8
• Near and Far type jumps
• Real Time Stack,
• Push, Pop, Pushf, Popf instructions

9 Mid Term
• Accessing Stack as a liner array
• Writing Procedures in Assembly language.
10 • Near and FAR procedures
• Programs using Procedures in assembly language.
Parameter passing in procedures through registers

• Programs using parameter passing through stack.


• Creating local variables through stack
• Recursive procedures. Programs using recursion.
• Interrupts.
11 Assignment-3
• Hardware and Software Interrupts,
• Interrupt Vector Table (IVT)
• Calling interrupts. Processor operations whenever
interrupts are invoked.

• Acquiring OS and BIOS services using Interrupts


• Writing “Hello World” program
• Input String from keyboard
• Storing ASCII characters, strings and integers,
12 Quiz-3
• New line and Carriage Return characters.
• Intercepting and hooking software interrupts.
• Terminate and Stay Resident Programs
• Hooking 0x0 Interrupt

• IN and OUT instructions


• Accessing RTC through IN/OUT
13 Assignment-4
• String Instructions
• LODSB,STOSB,SCASB,MOVSB,REPE

• File processing using INT 21h


14 • Creating, Writing and Closing text file Quiz-4
• Opening , Reading , Modifying and Seeking text file

• Interfacing assembly language with High level languages


15 • Intel 8086 Pin Description
• BUS DE- multiplexing

• Memory Interfacing
16 • I/O interfacing
• I/O interfacing Continue Project-
Review Presentation
17 Final Term

You might also like