public int getRegisterInt(String register) {
		switch (register) {
		case "R0":
			return 0;
		case "R1":
			return 1;
		case "R2":
			return 2;
		case "R3":
			return 3;
		case "R4":
			return 4;
		case "R5":
			return 5;
		case "R6":
			return 6;
		case "R7":
			return 7;
		}
		return -1;
	}