Home/Teaching/Course
Course 22342 · Recently taught

Computer Organization & Assembly Language

Computer instructions and assembly language, addressing modes, and instruction types: data movement, data manipulation and program control. Number representations and computer arithmetic. Computer organization: the datapath and control units, CPU operation and the instruction cycle.

Course Description

Computer instructions and assembly language, addressing modes, and instruction types: data movement, data manipulation and program control. Number representations and computer arithmetic. Computer organization: the datapath and control units, CPU operation and the instruction cycle.

The course introduces the Intel 8086/8088 processors and their internal architecture, and the x86 assembly language, so that students can carry out logical and arithmetic operations on the microprocessor. String instructions and graphical operations are also covered. The final weeks move from programming the processor to designing it: the internal architecture, the datapath and the control unit.

  • Course code22342
  • Credit hours3
  • Prerequisite22241 Digital Logic Design
  • DeliveryBlended

Learning Outcomes

On completing the course, students will be able to:

  1. Understand basic computer architecture and instruction sets.
  2. Examine how computers execute instructions and perform arithmetic operations.
  3. Examine how the datapath and control units of a CPU are designed.
  4. Understand number representation and apply computer arithmetic.

Weekly Topics

WeekTopicCovers
1Introduction to microprocessorsMicroprocessors vs. microcontrollers; the Intel x86 processor family
2Intel IA-32 architecture & assembly languageWhat assembly language is; IA-32 basics; registers
3Data transferRegister-to-register and memory transfers; basic program structure
4Number representations & computer arithmeticNumber systems review; introduction to the emulator and to computer arithmetic
5Addressing modesDirect and indirect addressing, with worked examples
6Computer instructionsData-transfer, loop and jump instructions
7Arithmetic instructionsAddition, subtraction and logical operations
8Multiply operationMultiplication by shifting and in assembly; midterm exam
9Divide operationDivision by shifting and in assembly; signed multiplication and division
10State diagramsSolving equations with MUL/DIV; flowcharts and state diagrams
11String instructionsString-manipulation instructions and examples
12The processor: internal architectureSearch and sort in assembly; the compilation process; datapath structure
13The processor: datapath & controlControl-unit architecture; interfacing with the processor; clock-frequency calculations
14Project discussionsStudent project presentations and discussion

Assessment

  • Midterm exam30%
  • Final exam40%
  • Quizzes (8)20%
  • Project and assignments (2)10%

Textbooks

  • Kip R. Irvine, Assembly Language for x86 Processors, Pearson, 2014.
  • David A. Patterson and John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, revised 4th ed., Morgan Kaufmann, 2011.

Video Lectures

All recorded lectures for the course are collected in one YouTube playlist, in teaching order.

Open the playlist on YouTube Start with lecture 1