9781466568242
X86 Assembly Language and C Fundamentals
by: Joseph Cavanagh
ISBN-10: 1466568240
ISBN-13: 9781466568242
Edition 版次: 1
Publication Date 出版日期: 2013-01-22
Print Length 页数: 813
The predominant language used in embedded microprocessors,assembly language lets you write programs that are typically faster and more compact than programs written in a high-level language and provide greater control over the program applications. Focusing on the languages used in X86 microprocessors,X86 Assembly Language and C Fundamentals explains how to write programs in the X86 assembly language,the C programming language,and X86 assembly language modules embedded in a C program. A wealth of program design examples,including the complete code and outputs,help you grasp the concepts more easily. Where needed,the book also details the theory behind the design.
Learn the X86 Microprocessor Architecture and Commonly Used Instructions
Assembly language programming requires knowledge of number representations,as well as the architecture of the computer on which the language is being used. After covering the binary,octal,decimal,and hexadecimal number systems,the book presents the general architecture of the X86 microprocessor,individual addressing modes,stack operations,procedures,arrays,macros,and input/output operations. It highlights the most commonly used X86 assembly language instructions,including data transfer,branching and looping,logic,shift and rotate,and string instructions,as well as fixed-point,binary-coded decimal (BCD),and floating-point arithmetic instructions.
Get a Solid Foundation in a Language Commonly Used in Digital Hardware
Written for students in computer science and electrical,computer,and software engineering,the book assumes a basic background in C programming,digital logic design,and computer architecture. Designed as a tutorial,this comprehensive and self-contained text offers a solid foundation in assembly language for anyone working with the design of digital hardware.
Contents
Preface
Chapter 1: Number Systems and Number Representations
Chapter 2: X86 Processor Architecture
Chapter 3: Addressing Modes
Chapter 4: C Programming Fundamentals
Chapter 5: Data Transfer Instructions
Chapter 6: Branching and Looping Instructions
Chapter 7: Stack Operations
Chapter 8: Logical,Bit,Shift,and Rotate Instructions
Chapter 9: Fixed-Point Arithmetic Instructions
Chapter 10: Binary-Coded Decimal Arithmetic Instructions
Chapter 11: Floating-Point Arithmetic Instructions
Chapter 12: Procedures
Chapter 13: String Instructions
Chapter 14: Arrays
Chapter 15: Macros
Chapter 16: Interrupts and Input/Output Operations
Chapter 17: Additional Programming Examples
Appendix A: ASCll Character Codes
Appendix B: Answers to Select Problems