LC4 computer simulated in C