👉

Did you like how we did? Rate your experience!

Rated 4.5 out of 5 stars by our customers 561

Award-winning PDF software

review-platform review-platform review-platform review-platform review-platform

Video instructions and help with filling out and completing Dd 1750

Instructions and Help about Dd 1750

True." Okay, I'm going to start this video off with a really dumb joke. Why would you want to learn assembly? Because then all the code in the world is open source. So, before we can actually get into writing assembly code, we need to understand a little bit about the CPU first. It's pretty essential for understanding how assembly works and how to write good assembly code. So, I'm just going to quickly cover some of the basics of CPU architecture. When you're writing assembly code, it's important to understand what underlying processes are taking place and how your code is actually running. Your code initially starts off on your hard drive. You write the code and compile it, and then it exists somewhere on your hard drive. These bytes are allocated for your executable. Essentially, what happens is you load that executable into the RAM. RAM is a random access memory. It's where the computer stores values it's working on. A hard drive is static storage, while RAM is more dynamic. It's a place where the computer can remember and access values it needs. Once the program is loaded initially, registers in the CPU are initialized. Registers are like mini storages inside the CPU. The x86 architecture has 16 registers, and most of them are free for you to use as you like. However, a few of them have specific roles and functions. We'll get into how to use those registers properly when we start writing some assembly code. For now, just note that the CPU can execute instructions in code, allocate space in the RAM, and use registers for data storage and manipulation. The CPU starts by putting the register called "rip" (register instruction pointer) inside the CPU and points it to the start of your code. From there, it...