public static boolean resourceD(Instruction instruction1, Instruction instruction2)
	{
			if(!instruction1.specualtive && instruction2.specualtive) return false;
			if(instruction1.instruction.equals("LD") && instruction2.instruction.equals("STR")) return false;
			if(instruction1.instruction.equals("STR") && instruction2.instruction.equals("LD")) return false;
			if(instruction1.instruction.equals("STR") && instruction2.instruction.equals("STR")) return false;
		
			return !Simulator.isThereACorrectEUFree(instruction1); // if free then no dependency(ie false) //todo: this will always be true until we have subpiplining
	}