FizzBuzz in Assembler

making it compile to a very small binary

Hero background

Over the weekend there was a little coding challenge to make FizzBuzz in a variety of programming languages. Naturally I chose to implement it in 16-bit intel-style assembler.

Here's a screenshot of it working!


There are two versions, the original version compiles to about 750 bytes, but the more optimised version I ended up with compiles to 94 bytes only! 

Click below to read the code: