A simple 8080 emulator in C