public void clearRegisters() {
		pc.setPC(0);
		ir.clear();
		mar.write(-1); // -1 triggers clear
		mbr.write(null);
		for (int i = 0; i < 16; i++) {
			genRegisters.write(i, null); //Set each general purpose register to null		
		}
		rCC.write(null);		
	}