Skip to main content Skip to local navigation
Home » Posts tagged 'EECS 2021'

EECS 2021

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 […]

A Binary File Editor for My Students

As I ponder fun activities to do with my 2nd year computer architecture students it has become clear to me that I need them to be able to view binary files. There are a number of editors out there capable of doing this, but I don't want to foist vim or emacs on them. Nor […]

Exploring RISC-V: Espressif IDE on macOS & ESP32-C3

While we expect our students to use the Espressif IDE software in the Lassonde labs, on computers provided by the School, they should also feel enabled to install the software on their own machines. The following is a description of what I did to get it to work on my macOS machine. Note that once […]

Exploring RISC-V Options: the RP2350 (Part 8 -- Returning a Single Array Value)

Here, we'll return the value from an array defined in the assembler file to the calling C function. When writing programs like this it's handy to refer to a "cheat sheet" like this one. If everything works as it should your serial monitor should have the following output: There are two files here: returnArrayValue.S and […]