display registers and memory and run a program