Skip to main content Skip to local navigation
Home » Posts tagged '8086'

8086

CoreWars 8086: Using nasm to Assemble your Warrior

Let's say that you want to assemble a CoreWars 8086 warrior from source code and you're looking at the bomber.asm or cannon.asm examples. How do you take that text file and make it into a binary that CoreWars will process? You run it through an assembler like nasm. Here's bomber.asm: Then, install the assembler, nasm, […]

CoreWars 8086: Competitions, Combinations, Battles and Rounds

In CoreWars 8086, individual assembler warriors battle each other in a defined memory space. How the battles play out is controlled by the options that you stipulate and the types of warrior programs that you submit to the competition.  The competition can also have “zombie” warriors that are like non-player characters that interact with the […]

Working with the CoreWars 8086 source code

As I wrote before I think that the CoreWars 8086 program is pretty neat and I also think that it has the potential as a valuable teaching tool in my courses. By reimagining RedCode as real assembly for the 8086 processor, the developers take the CoreWar concept and make it more real -- more legitimate. […]