cpu simulation in C