In the microprocessor lab you type a short program into an 8086 emulator and press Run. The register window flickers and settles on AX = 023F. Nobody typed 575 anywhere. The program added four numbers from memory, one after another, and the machine kept a running total in a register. In an exam the same thing arrives on paper, with no emulator: five lines of assembly and a question, "what is in AX when the loop ends?" You have two minutes.
There is only one way to answer, and it is the way the processor does it. You take the lines one at a time, you keep the registers and flags in your head or on the margin of the paper, and you never guess. That is what this chapter teaches: how to be the 8086. You already know its registers, its flags and its segments from the architecture chapter, and you know how an operand's address is worked out. Here the chip starts to move.
By the end you will be able to write the frame of an 8086 program and explain what the assembler, linker and loader each do with it. You will know every group of instructions and what each does to the flags. You will multiply and divide in the right registers, adjust decimal digits, shift and rotate bits, and choose the right jump after a comparison, signed or unsigned. You will write and trace the classic programs: the sum of an array, the largest number, BCD addition, string search and compare, and a procedure that uses the stack. And you will say what the 80286, 80386, 80486 and Pentium added to the 8086, and how real mode differs from protected mode.