Microprocessors
Course Map
This page puts every chapter of the course on one map. Each chapter is a node, and an arrow shows which idea from an earlier topic the next one relies on. Read it before the course starts to see where the topics are heading, or during the course to see where you are.
Figure 1 shows the connections between the topics. Each node is a chapter, and an arrow indicates which idea of the earlier topic the later one relies on. Only the closest connections are drawn on the map; every chapter that a given chapter depends on is listed in Table 1.
| Topic (chapter) | Builds on | Connection |
|---|---|---|
| Introduction to Microprocessors and Number Systems (1) | — | The fetch, decode, execute cycle; binary and hexadecimal numbers, two's complement representation. |
| 8086 Architecture and Registers (2) | Introduction to Microprocessors and Number Systems | The internal structure of the 8086: BIU and EU, registers, flags and the segment:offset address. |
| Assembly Language (3) | 8086 Architecture and Registers | From machine language to assembly: the assembler, the linker and the first program. |
| Memory Access and Variables (4) | 8086 Architecture and Registers, Assembly Language | Addressing modes, effective and physical addresses; variables with DB, DW and DUP. |
| Interrupts and BIOS/DOS Services (5) | 8086 Architecture and Registers, Memory Access and Variables | During INT, FLAGS, CS and IP are pushed onto the stack; the interrupt vector table is in memory. |
| Arithmetic, Logic and Shift Instructions (6) | Introduction to Microprocessors and Number Systems, 8086 Architecture and Registers, Assembly Language | The result of a computation sets the flags: CF, ZF, SF, OF; MUL, DIV and shifts. |
| Flow Control (7) | Arithmetic, Logic and Shift Instructions | Conditional jumps that read the flags; deciding after CMP and looping with LOOP. |
| The Stack and Procedures (8) | Memory Access and Variables, Interrupts and BIOS/DOS Services, Flow Control | The stack through SS:SP; CALL and RET keep the return address on the stack; the stack frame with BP. |
| Macros and the emu8086.inc Library (9) | The Stack and Procedures | The textual counterpart of a procedure: defining and expanding a MACRO, emu8086.inc routines. |
| 8086 Hardware and Device Control (10) | 8086 Architecture and Registers, Interrupts and BIOS/DOS Services | The 40-pin 8086, bus cycles and the 8259A; device control with IN and OUT. |
| Instruction Encoding and String Instructions (11) | Memory Access and Variables, Arithmetic, Logic and Shift Instructions, Flow Control | The machine code of instructions: opcode, D and W bits, ModR/M; string instructions with the REP prefix. |
The backbone of the map can be read as number → architecture → assembly → instruction → hardware. The first three chapters set up the processor and the language used to program it. Two branches grow from there: the memory branch starts with addressing and variables and reaches interrupts and device control; the instruction branch starts with arithmetic and flags and reaches flow control and procedures. The stack is where the two branches meet: CALL with RET and INT with IRET both use it. The instruction-encoding chapter shows how the instructions learned along the way look in machine code.
Course page: Microprocessors · Glossary · © Sercan Külcü. All rights reserved.