Assembly Language for x86 Processors, 8th edition
Published by Pearson (March 14, 2020) © 2020
- Kip R. Irvine Florida International University
eTextbook
- Anytime, anywhere learning with the Pearson+ app
- Easy-to-use search, navigation and notebook
- Simpler studying with flashcards
- Hardcover, paperback or looseleaf edition
- Affordable rental option for select titles
For courses in assembly language programming, computer systems and computer architecture.
Teach effective design techniques to help students put theory into practice
Assembly Language for x86 Processors establishes a complete and fully updated study of assembly language specifically for the 32- and 64-bit Intel/Windows platforms. The text teaches students to write and debug programs at the machine level, using effective design techniques that apply to multiple programming courses through top-down program design demonstration.
The 8th Edition focuses on protected mode programming in Chapters 1 through 13. Students can create 32- and 64-bit programs that run under the most recent versions of Microsoft Windows.
Hallmark features of this title
- High-level programming logic is related to the low-level details of the machine.
- This approach helps students to create more efficient implementations and to better understand how compilers generate object code.
- Hardware and operating system concepts include basic hardware and data representation concepts to help students to better understand their target computer system.
- Java Bytecodes and the Java Virtual Machine coverage includes an explanation by the author of the basic operation of Java bytecodes with short illustrative examples.
New and updated features of this title
- UPDATED: Protected mode programming is the focus of Chapters 1 through 13.
- Students can create 32-bit and 64-bit programs that run under the most recent versions of Microsoft Windows.
- The text uses the x86 and x86-64 processor types, explaining the differences between instruction operands and basic architecture differences.
Features of Pearson eText for the 8th Edition
- NEW: VideoNotes are narrated step-by-step video tutorials that show how to solve problems completely, from design through coding.
- NEW: Multiple-input exercises allow readers to browse a program listing and insert variable values into boxes next to the code. Students receive immediate colorized feedback, giving them the opportunity to experiment until all input values are correct.
- NEW: All section reviews appear as interactive questions, giving the reader immediate feedback on their answers. New questions were added, others removed, and many revised. Answers to questions are included for instructors to use in test material.
- NEW: Definitions of key terms are placed throughout the text and link to an online glossary.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Advanced Procedures
- 8.1 Introduction
- 8.2 Stack Frames
- 8.3 Recursion
- 8.4 INVOKE, ADDR, PROC, and PROTO
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
APPENDICES
- Appendix A: MASM Reference
- Appendix B: The x86 Instruction Set
- Appendix C: BIOS and MS-DOS Interrupts D.1
- Appendix D: Answers to Review Questions (Chapters 14-16) E.1
Appendices C and D are available on the Companion Website
About our author
Kip Irvine has written 5 computer programming textbooks: for Intel Assembly Language, C++, Visual Basic (beginning and advanced), and COBOL. His book Assembly Language for Intel-Based Computers has been translated into 6 languages. His first college degrees (B.M., M.M. and doctorate) were in Music Composition, at University of Hawaii and University of Miami. He began programming computers for music synthesis around 1982 and taught programming at Miami-Dade Community College for 17 years. He earned an M.S. in Computer Science from the University of Miami, and he taught computer programming in the School of Computing and Information Sciences at Florida International University for 18 years.
Need help? Get in touch