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.

Introduction toMicroprocessorsand Number Systems8086 Architectureand RegistersAssembly LanguageMemory Access andVariablesArithmetic, Logicand ShiftInstructionsInterrupts andBIOS/DOSServicesFlow Control8086 Hardware andDevice ControlThe Stack andProceduresInstruction Encodingand StringInstructionsMacros and theemu8086.incLibrary
Figure 1: The course map. Each arrow points from a topic to one that builds on it. The path runs from architecture to assembly language, then on to instructions, system services and hardware.

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.

Table 1: The connections on the map.
Topic (chapter)Builds onConnection
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 SystemsThe internal structure of the 8086: BIU and EU, registers, flags and the segment:offset address.
Assembly Language (3)8086 Architecture and RegistersFrom machine language to assembly: the assembler, the linker and the first program.
Memory Access and Variables (4)8086 Architecture and Registers, Assembly LanguageAddressing modes, effective and physical addresses; variables with DB, DW and DUP.
Interrupts and BIOS/DOS Services (5)8086 Architecture and Registers, Memory Access and VariablesDuring 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 LanguageThe result of a computation sets the flags: CF, ZF, SF, OF; MUL, DIV and shifts.
Flow Control (7)Arithmetic, Logic and Shift InstructionsConditional 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 ControlThe 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 ProceduresThe 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 ServicesThe 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 ControlThe 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.