@Test
	public void transferInstrLOAD_testInvalidMemoryRef() { //Checks LOAD instruction not created with invalid memory ref.
		try {
			instr = new TransferInstr(Opcode.LOAD, 500, 7);
		}
		catch (IllegalStateException e) {
			System.out.println(e.getMessage());
		}
		assertNull(instr);
	}