CPU simulation in 60 lines of C
github.com