𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Beginning x64 assembly programming: from novice to AVX professional

✍ Scribed by Hoey, Jo Van


Publisher
Apress
Year
2019
Tongue
English
Series
Books for professionals by professionals
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Program in assembly starting with simple and basic programs, all the way up to AVX programming. By the end of this book, you will be able to write and read assembly code, mix assembly with higher level languages, know what AVX is, and a lot more than that.
The code used inBeginning x64 Assembly Programmingis kept as simple as possible, which means: no graphical user interfaces or whistles and bells or error checking. Adding all these nice features would distract your attention from the purpose: learning assembly language. The theory is limited to a strict minimum: a little bit on binary numbers, a short presentation of logical operators, and some limited linear algebra. And we stay far away from doing floating point conversions.
The assembly code is presented in complete programs, so that you can test them on your computer, play with them, change them, break them. This book will also show you what tools can be used, how to use them, and the potential problems in those tools. It is not the intention to give you a comprehensive course on all of the assembly instructions, which is impossible in one book: look at the size of the Intel Manuals. Instead, the author will give you a taste of the main items, so that you will have an idea about what is going on. If you work through this book, you will acquire the knowledge to investigate certain domains more in detail on your own.
The majority of the book is dedicated to assembly on Linux, because it is the easiest platform to learn assembly language. At the end the author provides a number of chapters to get you on your way with assembly on Windows. You will see that once you have Linux assembly under your belt, it is much easier to take on Windows assembly.
This book should not be the first book you read on programming, if you have never programmed before, put this book aside for a while and learn some basics of programming with a higher-level language such as C.

What You Will Learn
Discover how a CPU and memory works
Appreciate how a computer and operating system work together
See how high-level language compilers generate machine language, and use that knowledge to write more efficient code
Be better equipped to analyze bugs in your programs
Get your program working, which is the fun part
Investigate malware and take the necessary actions and precautions

Who This Book Is For
Programmers in high level languages. It is also for systems engineers and security engineers working for malware investigators. Required knowledge: Linux, Windows, virtualization, and higher level programming languages (preferably C or C++).

✦ 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?


πŸ“œ SIMILAR VOLUMES


Beginning x64 Assembly Programming From
✍ Jo Van Hoey πŸ“‚ Library πŸ“… 2019 πŸ› apress 🌐 English

Program in assembly starting with simple and basic programs, all the way up to AVX programming. By the end of this book, you will be able to write and read assembly code, mix assembly with higher level languages, know what AVX is, and a lot more than that. The code used in Beginning x64 Assembly P

Beginning x64 Assembly Programming: From
✍ Jo Van Hoey πŸ“‚ Library πŸ“… 2019 πŸ› Apress 🌐 English

<p>Program in assembly starting with simple and basic programs, all the way up to AVX programming. By the end of this book, you will be able to write and read assembly code, mix assembly with higher level languages, know what AVX is, and a lot more than that. <br>The code used in <i>Beginning x64 As

Beginning x64 Assembly Programming: From
✍ Jo Van Hoey πŸ“‚ Library πŸ“… 2019 πŸ› Apress 🌐 English

<span>Program in assembly starting with simple and basic programs, all the way up to AVX programming. By the end of this book, you will be able to write and read assembly code, mix assembly with higher level languages, know what AVX is, and a lot more than that. <br>The code used in </span><span>Beg

Beginning Ada Programming: From Novice T
✍ Andrew T. Shvets πŸ“‚ Library πŸ“… 2020 πŸ› Apress 🌐 English

Discover the Ada programming language by being gently guided through the various parts of the language and its latest available stable release. The goal in this book is to slowly ease you into the different topics. It is understood that you do not always have ample free time, so the text is easy to

Beginning Perl Programming: From Novice
✍ William "Bo" Rothwell πŸ“‚ Library πŸ“… 2019 πŸ› Apress 🌐 English

<p><p>Get started with Perl 5 and learn the important core concepts of Perl programming, such as variables, flow control, expressions, and I/O. Additionally, this book covers pattern matching and shows that Perl is extremely flexible and powerful, and that it isn’t afraid of the cloud. After reading

Beginning Ring Programming: From Novice
✍ Mansour Ayouni πŸ“‚ Library πŸ“… 2020 πŸ› Apress 🌐 English

<p>Gain a gentle introduction to the world of Ring programming with clarity as a first concern using a lot of practical examples. The first part lays the foundations of the language and its basic features (data types, control structures, functions, and classes). The unique way to rigorously structur