10. Multiplication and Division Instructions
Multiplication and division in x86-64 assembly have some unique characteristics that differ from other arithmetic operations. They use specific registers and have special behaviors that are importa...
Multiplication and division in x86-64 assembly have some unique characteristics that differ from other arithmetic operations. They use specific registers and have special behaviors that are importa...
Now that we can make decisions and create loops, let’s learn how to work with collections of data. Arrays are fundamental to programming, and x86-64 provides powerful addressing modes to access the...
Branch instructions are what make programs “intelligent” - they allow your code to make decisions, repeat actions, and respond to different conditions. This is where we implement if statements, loo...
Bitwise instructions operate on individual bits within numbers. They’re incredibly fast and are the foundation for many low-level operations, from graphics to cryptography to hardware control. Wha...
Welcome to one of the most important concepts in assembly programming! Flags are the CPU’s way of telling you what happened during the last operation. They’re the secret sauce that makes decision-m...
Now that you’ve written your first assembly program, let’s dive deeper into how data is handled and manipulated. This chapter builds on our understanding of data representation and introduces the f...
Now that we understand how computers represent data, it’s time to start speaking their language. This chapter introduces the fundamental concepts of x86-64 assembly syntax, your first program, and ...
At the lowest level, computers understand only two states: on and off, represented as 1 and 0. This binary system forms the foundation of all data representation. In this chapter, we’ll explore how...
In the previous chapter, we established why we’re learning assembly. Now, let’s meet the machine we’ll be commanding. This chapter covers the fundamental hardware concepts that make executing your ...
x86-64, specifically, is the architecture that powers most desktop, laptop, and server processors today (from Intel and AMD). Learning it means you’re learning the language of the dominant computin...