public int regOrMem(){
		if (isBranch()){
			alterPC = true;
		}
		if (ins instanceof StoreInstruction){
			return 0;
		}
		else if (ins instanceof JALRInstruction || !isBranch()){
			return 1;
		}
		else return 2;
	}