Let’s Code x86 Assembly: 0x05 Primes and Variables

In this episode we learn how to declare variables in assembly language. Also we learn how to access data from pointers stored in registers. We learn a couple of jump instructions and how to loop. We use this knowledge to compute all prime numbers below 1000 and print them to the screen. As usual this is based on the book “Programming Boot Sector Games” by Oscar Toledo.

Leave a Reply

Your email address will not be published.