public Register getRegister(int index) {
		switch (index) {
		case 0:
			return R0;
		case 1:
			return R1;
		case 2:
			return R2;
		case 3:
			return R3;
		case 4:
			return R4;
		case 5:
			return R5;
		case 6:
			return R6;
		case 7:
			return R7;
		default:
			return null;
		}
	}