- Browse
- » Professional assembly language
Professional assembly language
Author
Publisher
Wiley
Publication Date
Varies, see individual formats and editions
Language
English
More Details
Contributors
ISBN
9780764579011
Description
Loading Description...
Table of Contents
From the Book - Regular Print
Chapter 1 What Is Assembly Language? 1 --
Processor Instructions 1 --
High-Level Languages 6 --
Assembly Language 10 --
Chapter 2 IA-32 Platform 17 --
Core Parts of an IA-32 Processor 17 --
Advanced IA-32 Features 32 --
IA-32 Processor Family 34 --
Chapter 3 Tools of the Trade 39 --
Development Tools 39 --
GNU Assembler 45 --
GNU Linker 50 --
GNU Compiler 53 --
GNU Debugger Program 56 --
KDE Debugger 60 --
GNU Objdump Program 62 --
GNU Profiler Program 65 --
A Complete Assembly Development System 69 --
Chapter 4 A Sample Assembly Language Program 73 --
Parts of a Program 73 --
Creating a Simple Program 75 --
Debugging the Program 81 --
Using C Library Functions in Assembly 86 --
Chapter 5 Moving Data 91 --
Defining Data Elements 91 --
Moving Data Elements 97 --
Conditional Move Instructions 106 --
Exchanging Data 110 --
Stack 119 --
Optimizing Memory Access 123 --
Chapter 6 Controlling Execution Flow 127 --
Instruction Pointer 127 --
Unconditional Branches 129 --
Conditional Branches 136 --
Loops 144 --
Duplicating High-Level Conditional Branches 146 --
Optimizing Branch Instructions 153 --
Chapter 7 Using Numbers 161 --
Numeric Data Types 161 --
Integers 162 --
SIMD Integers 173 --
Binary Coded Decimal 178 --
Floating-Point Numbers 182 --
Conversions 196 --
Chapter 8 Basic Math Functions 201 --
Integer Arithmetic 201 --
Shift Instructions 223 --
Decimal Arithmetic 227 --
Logical Operations 231 --
Chapter 9 Advanced Math Functions 235 --
FPU Environment 235 --
Basic Floating-Point Math 245 --
Advanced Floating-Point Math 249 --
Floating-Point Conditional Branches 259 --
Saving and Restoring the FPU State 265 --
Waiting versus Nonwaiting Instructions 269 --
Optimizing Floating-Point Calculations 270 --
Chapter 10 Working with Strings 273 --
Moving Strings 273 --
Storing and Loading Strings 283 --
Comparing Strings 286 --
Scanning Strings 291 --
Chapter 11 Using Functions 297 --
Defining Functions 297 --
Assembly Functions 299 --
Passing Data Values in C Style 306 --
Using Separate Function Files 317 --
Using Command-Line Parameters 320 --
Chapter 12 Using Linux System Calls 329 --
Linux Kernel 329 --
System Calls 337 --
Using System Calls 341 --
Advanced System Call Return Values 346 --
Tracing System Calls 349 --
System Calls versus C Libraries 355 --
Chapter 13 Using Inline Assembly 361 --
What Is Inline Assembly? 361 --
Basic Inline Assembly Code 365 --
Extended ASM 370 --
Using Inline Assembly Code 384 --
Chapter 14 Calling Assembly Libraries 389 --
Creating Assembly Functions 389 --
Compiling the C and Assembly Programs 391 --
Using Assembly Functions in C Programs 395 --
Using Assembly Functions in C++ Programs 407 --
Creating Static Libraries 408 --
Using Shared Libraries 412 --
Debugging Assembly Functions 417 --
Chapter 15 Optimizing Routines 421 --
Optimized Compiler Code 421 --
Creating Optimized Code 425 --
Optimization Tricks 430 --
Chapter 16 Using Files 453 --
File-Handling Sequence 453 --
Opening and Closing Files 454 --
Writing to Files 460 --
Reading Files 463 --
Reading, Processing, and Writing Data 467 --
Memory-Mapped Files 470 --
Chapter 17 Using Advanced IA-32 Features 481 --
A Brief Review of SIMD 481 --
Detecting Supported SIMD Operations 483 --
Using MMX Instructions 487 --
Using SSE Instructions 497 --
Using SSE2 Instructions 504 --
SSE3 Instructions 508.
Excerpt
Loading Excerpt...
Author Notes
Loading Author Notes...
Reviews from GoodReads
Loading GoodReads Reviews.
Staff View
Loading Staff View.