public boolean hasStoreBefore(Instrucao inst) {
		Integer index = listinit;
		boolean endlist=false;
		for(int i = listinit;i<listinit+ReorderingBuffer.SIZE&&!endlist;i++){
			if(buffer.get(i%ReorderingBuffer.SIZE).getInst()==null) endlist=true;
			else if(buffer.get(i%ReorderingBuffer.SIZE).getInst().equals(inst)){
				index = i%ReorderingBuffer.SIZE;
			}
		}
		if(index==listinit)return false;
		endlist=false;
		for(int i = listinit;i<index+ReorderingBuffer.SIZE&&!endlist;i++){
			if(buffer.get(i%ReorderingBuffer.SIZE).getInst()==null) endlist=true;
			else if(buffer.get(i%ReorderingBuffer.SIZE).getInst().getNome().equals("sw"))
				return true;
		}
		return false;
	}