Program in assembly starting with simple and basic programs, all the way up to AVX programming. By the end of this book,
1,485 326 12MB
English Pages xix, 413 pages: illustrations; 26 cm Year 2019
Table of contents :
Your first program --
Binary numbers, hexadecimal numbers, and registers --
Program analysis with a debugger: GDB --
Your next program: alive and kicking! --
Assembly is based on logic --
Data display debugger --
Jumping and looping --
Memory --
Integer arithmetic --
The stack --
Floating-point arithmetic --
Functions --
Stack alignment and stack frame --
External functions --
Calling conventions --
Bit operations --
Bit manipulations --
Macros --
Console I/O --
File I/O --
Command line --
From C to assembler --
Inline assembly --
Strings --
Got some ID? --
SIMD --
Watch your MXCSR --
SSE alignment --
SSE packed integers --
SSE string manipulation --
Search for a character --
Compare strings --
Do the shuffle! --
SSE string masks --
AVX --
AVX matrix operations --
Matrix transpose --
Performance optimization --
Hello, Windows world --
Using the Windows API --
Functions in Windows --
Variadic functions --
Windows files --
Where to go from here?