#include #include "memory.h" struct SimulatedComputer { Memory memory; int registers [32]; unsigned int pc; bool printingRegisters, interactive, debugging; }; typedef struct SimulatedComputer * Computer; Computer newComputer (int, int, int, int, int, FILE*, bool, bool, bool, bool, bool); char * disassembled (unsigned int instr, unsigned int pc); void simulate (Computer); void simulateInstr (Computer mips, unsigned int instr, int *changedReg, int *changedMem);