ENGLISH

Professional Assembly Language

Book information

Publisher
Wrox
Year
2005
ISBN
0-7645-7901-0
Language
english
Format
PDF
Filesize
1 MB (1479165 bytes)
Pages
557\557
Time added
2018-08-14 09:26:12

Description

Contents......Page 3 Intro......Page 13 Processor Instructions......Page 19 High-Level Languages......Page 24 Assembly Language......Page 28 Summary......Page 33 Core Parts of an IA-32 Processor......Page 35 Advanced IA-32 Features......Page 50 The IA-32 Processor Family......Page 52 Summary......Page 55 The Development Tools......Page 57 The GNU Assembler......Page 63 The GNU Linker......Page 68 The GNU Compiler......Page 71 The GNU Debugger Program......Page 74 The KDE Debugger......Page 78 The GNU Objdump Program......Page 80 The GNU Profiler Program......Page 83 A Complete Assembly Development System......Page 87 Summary......Page 90 The Parts of a Program......Page 91 Creating a Simple Program......Page 93 Debugging the Program......Page 99 Using C Library Functions in Assembly......Page 104 Summary......Page 108 Defining Data Elements......Page 109 Moving Data Elements......Page 115 Conditional Move Instructions......Page 124 Exchanging Data......Page 128 The Stack......Page 137 Optimizing Memory Access......Page 141 Summary......Page 142 The Instruction Pointer......Page 144 Unconditional Branches......Page 146 Conditional Branches......Page 153 Loops......Page 161 Duplicating High-Level Conditional Branches......Page 163 Optimizing Branch Instructions......Page 170 Summary......Page 175 Numeric Data Types......Page 177 Integers......Page 178 SIMD Integers......Page 189 Binary Coded Decimal......Page 194 Floating-Point Numbers......Page 198 Conversions......Page 212 Summary......Page 215 Integer Arithmetic......Page 216 Shift Instructions......Page 238 Decimal Arithmetic......Page 242 Logical Operations......Page 246 Summary......Page 248 The FPU Environment......Page 250 Basic Floating-Point Math......Page 260 Advanced Floating-Point Math......Page 264 Floating-Point Conditional Branches......Page 274 Saving and Restoring the FPU State......Page 280 Waiting versus Nonwaiting Instructions......Page 284 Summary......Page 285 Moving Strings......Page 287 Storing and Loading Strings......Page 297 Comparing Strings......Page 300 Scanning Strings......Page 305 Summary......Page 310 Defining Functions......Page 311 Assembly Functions......Page 313 Passing Data Values in C Style......Page 320 Using Separate Function Files......Page 331 Using Command-Line Parameters......Page 334 Summary......Page 342 The Linux Kernel......Page 343 System Calls......Page 351 Using System Calls......Page 355 Advanced System Call Return Values......Page 360 Tracing System Calls......Page 363 System Calls versus C Libraries......Page 369 Summary......Page 373 What Is Inline Assembly?......Page 375 Basic Inline Assembly Code......Page 379 Extended ASM......Page 384 Using Inline Assembly Code......Page 398 Summary......Page 401 Creating Assembly Functions......Page 402 Compiling the C and Assembly Programs......Page 404 Using Assembly Functions in C Programs......Page 408 Using Assembly Functions in C++ Programs......Page 420 Creating Static Libraries......Page 421 Using Shared Libraries......Page 425 Debugging Assembly Functions......Page 430 Summary......Page 433 Optimized Compiler Code......Page 434 Creating Optimized Code......Page 438 Optimization Tricks......Page 443 Summary......Page 463 The File-Handling Sequence......Page 465 Opening and Closing Files......Page 466 Writing to Files......Page 472 Reading Files......Page 475 Reading, Processing, and Writing Data......Page 479 Memory-Mapped Files......Page 482 Summary......Page 491 A Brief Review of SIMD......Page 493 Detecting Supported SIMD Operations......Page 495 Using MMX Instructions......Page 499 Using SSE Instructions......Page 509 Using SSE2 Instructions......Page 516 Summary......Page 520 Index......Page 522 B......Page 525 C......Page 526 D......Page 529 E......Page 531 F......Page 532 G......Page 535 I......Page 536 L......Page 541 M......Page 542 N......Page 546 O......Page 548 P......Page 549 R......Page 552 S......Page 553 T......Page 555 U......Page 556 Z......Page 557

Similar books