CHAPTER 4

Basic Instructions

This chapter covers instructions used to copy data from one location to another and instructions used for integer arithmetic. It specifies what types of operands are allowed for the various instructions. After studying this chapter you will know how to copy data between memory and CPU registers, and between two registers. You will also know how to use 80×86 addition, subtraction, multiplication, and division instructions, and how execution of these instructions affects flags. You will know some of the details of how the assembler encodes 80×86 instructions for execution.

4.1  Copying Data

4.2  Integer Addition and Subtraction Instructions

4.3  Multiplication Instructions

4.4  Division Instructions

4.5  Chapter Summary ...

Get Introduction to 80x86 Assembly Language and Computer Architecture, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.