Assembly Language for x86 Processors, 8th edition

  • Kip R. Irvine

Choose the option that's right for you


$9.99 / mo

4-month minimum term for $39.96

  • Access this eText title
  • Up to 2 devices
  • Discounted tutor access


$14.99 / mo

4-month minimum term for $59.96

  • Access over 1,500 titles
  • Up to 2 devices
  • Discounted tutor access

Learn more, spend less

  • Learn anytime, anywhere

    Get the app to access your eText whenever you need it

  • Make it your own

    Your notes. Your highlights. Your eText

  • Find it fast

    Quickly navigate your eText with search

  • Stay organized

    Access all your eTexts in one place

  • Easily continue access

    Keep learning with auto-renew


Assembly Language for x86 Processors teaches you to write and debug programs at the machine level. You'll learn effective design techniques that will give you the confidence to work in any OS/machine-oriented environment and can be applied to multiple programming courses.

Published by Pearson (July 29th 2019) - Copyright © 2020

ISBN-13: 9780135381649

Subject: Electrical & Computer Engineering

Category: Computer Engineering

Table of contents

1 Basic Concepts
1.1 Welcome to Assembly Language
1.2 Virtual Machine Concept
1.3 Data Representation
1.4 Boolean Expressions
1.5 Chapter Summary
1.6 Key Terms
1.7 Review Questions and Exercises

2 x86 Processor Architecture
2.1 General Concepts
2.2 32-Bit x86 Processors
2.3 64-Bit x86-64 Processors
2.4 Components of a Typical x86 Computer
2.5 Input-Output System
2.6 Chapter Summary
2.7 Key Terms
2.8 Review Questions

3 Assembly Language Fundamentals
3.1 Basic Language Elements
3.2 Example: Adding and Subtracting Integers
3.3 Assembling, Linking, and Running Programs
3.4 Defining Data
3.5 Symbolic Constants
3.6 64-Bit Programming
3.7 Chapter Summary
3.8 Key Terms
3.9 Review Questions and Exercises
3.10 Programming Exercises

4 Data Transfers, Addressing, and Arithmetic
4.1 Data Transfer Instructions
4.2 Addition and Subtraction
4.3 Data-Related Operators and Directives
4.4 Indirect Addressing
4.5 JMP and LOOP Instructions
4.6 64-Bit Programming
4.7 Chapter Summary
4.8 Key Terms
4.9 Review Questions and Exercises
4.10 Programming Exercises

5 Procedures
5.1 Stack Operations
5.2 Defining and Using Procedures
5.3 Linking to an External Library
5.4 The Irvine32 Library
5.5 64-Bit Assembly Programming
5.6 Chapter Summary
5.7 Key Terms
5.8 Review Questions and Exercises
5.9 Programming Exercises

6 Conditional Processing
6.1 Boolean and Comparison Instructions
6.2 Conditional Jumps
6.3 Conditional Loop Instructions
6.4 Conditional Structures
6.5 Application: Finite-State Machines
6.6 Conditional Control Flow Directives (Optional Topic)
6.7 Chapter Summary
6.8 Key Terms
6.9 Review Questions and Exercises
6.10 Programming Exercises

7 Integer Arithmetic
7.1 Shift and Rotate Instructions
7.2 Shift and Rotate Applications
7.3 Multiplication and Division Instructions
7.4 Extended Addition and Subtraction
7.5 ASCII and Unpacked Decimal Arithmetic
7.6 Packed Decimal Arithmetic
7.7 Chapter Summary
7.8 Key Terms
7.9 Review Questions and Exercises
7.10 Programming Exercises

8 Advanced Procedures
8.1 Introduction
8.2 Stack Frames
8.3 Recursion
8.5 Creating Multimodule Programs
8.6 Advanced Use of Parameters (Optional Topic)
8.7 Java Bytecodes (Optional Topic)
8.8 Chapter Summary
8.9 Key Terms
8.10 Review Questions and Exercises
8.11 Programming Exercises

9 Strings and Arrays
9.1 Introduction
9.2 String Primitive Instructions
9.3 Selected String Procedures
9.4 Two-Dimensional Arrays
9.5 Searching and Sorting Integer Arrays
9.6 Java Bytecodes: String Processing (Optional Topic)
9.7 Chapter Summary
9.8 Key Terms and Instructions
9.9 Review Questions and Exercises
9.10 Programming Exercises

10 Structures and Macros
10.1 Structures
10.2 Macros
10.3 Conditional-Assembly Directives
10.4 Defining Repeat Blocks
10.5 Chapter Summary
10.6 Key Terms
10.7 Review Questions and Exercises
10.8 Programming Exercises

11 MS-Windows Programming
11.1 Win32 Console Programming
11.2 Writing a Graphical Windows Application
11.3 Dynamic Memory Allocation
11.4 32-bit x86 Memory Management
11.5 Chapter Summary
11.6 Key Terms
11.7 Review Questions and Exercises
11.8 Programming Exercises

12 Floating-Point Processing and Instruction Encoding
12.1 Floating-Point Binary Representation
12.2 Floating-Point Unit
12.3 x86 Instruction Encoding
12.4 Chapter Summary
12.5 Key Terms
12.6 Review Questions and Exercises
12.7 Programming Exercises

13 High-Level Language Interface
13.1 Introduction
13.2 Inline Assembly Code
13.3 Linking 32-Bit Assembly Language Code to C/C++
13.4 Chapter Summary
13.5 Key Terms
13.6 Review Questions
13.7 Programming Exercises

14 16-Bit MS-DOS Programming
14.1 MS-DOS and the IBM-PC
14.2 MS-DOS Function Calls (INT 21h)
14.3 Standard MS-DOS File I/O Services
14.4 Chapter Summary
14.5 Programming Exercises 14.35

15 Disk Fundamentals
15.1 Disk Storage Systems
15.2 File Systems
15.3 Disk Directory
15.4 Reading and Writing Disk Sectors
15.5 System-Level File Functions
15.6 Chapter Summary
15.7 Programming Exercises

16 BIOS-Level Programming
16.2 Keyboard Input with INT 16h
16.3 Video Programming with INT 10h
16.4 Drawing Graphics Using INT 10h
16.5 Memory-Mapped Graphics
16.6 Mouse Programming
16.7 Chapter Summary
16.8 Programming Exercises

Appendix A: MASM Reference
Appendix B: The x86 Instruction Set
Appendices C-D are available on the Companion website
Appendix C: BIOS and MS-DOS Interrupts D.1
Appendix D: Answers to Review Questions (Chapters 14-16) E.1


Your questions answered

Introducing Pearson+. Reimagined learning, designed for you. Choose from one eText or over 1,500 eTexts and study tools, all in one place, for one low monthly subscription. A new way to buy books that fits your budget. Make the most of your study time with offline access, enhanced search, notes and flashcards — to get organized, get the work done quicker and get results. Plus, with the app, put textbooks in your pocket and learn wherever. It's time to upgrade the textbook and simplify learning, so you can have time to live too.

Pearson eText is an easy-to-use digital textbook available from Pearson+. Make it your own by adding notes and highlights. Download the Pearson+ mobile app to learn on the go, even offline. Listen on the go with our new audiobook feature, available for most titles.

When you choose a plan, you're signing up for a 4-month 'term'. We will charge your payment method each month until your 4-month term has ended. You can turn on auto-renew in My account at any time to continue your subscription before your 4-month term has ended.

When you purchase a Pearson+ subscription, it will last 4 months. Before your initial 4-month term ends, you can extend your subscription by turning auto-renew on in My account. If you turn auto-renew on, we’ll automatically renew your subscription and charge you every month until you turn off auto-renew.

To avoid the next payment charge, make sure you turn auto renewal off 1 day before the auto renewal date. You can subscribe again after auto-renew has been turned off by purchasing another Pearson+ subscription. We use your credit card to renew your subscription automatically. To make sure your learning is uninterrupted, please check your card details before your first monthly payment.

With a Multi Pearson+ subscription plan, you can download up to 5 titles on the Pearson+ app from My list on each of your authorized devices every month.

When you're using your Multi Pearson+ subscription plan in a browser, you can select and read from as many titles as you like.