# x86 Adventures

## [Part 0x1] Counting with two digits

This is the first chapter of x86 Assembly Adventures. Here we begin with the really basics - How to live in the binary system - A system where instead of 10 digits, we have only two: 0 and 1. If you have ever seen all those zeroes and ones in movies - this is what we are going to learn here.

Don't worry if you never liked math at school, if you can figure out how to buy stuff at the grocery shop, I assure you that you are going to understand the ideas presented here.

We will mainly discuss the following subjects:

- Adding and subtracting numbers in the binary representation.
- Converting between decimal (The "normal") numbers, and binary numbers.
- Dealing with negative binary numbers.

At this part of the course we will not yet see any actual assembly code. We have to learn this first, so please be patient :) . All of the exercises for this part are mostly theoretic. You have to sit down with a pen and paper and think a bit. (But really just a bit). It is very important that you do the exercises, or at least be sure that you know how to answer everything before you move on to the next part.