public static void setRegisterRWFlags(List<RegisterInfo> slice, 
			int startIdx, byte isRead, byte isWritten, boolean is64bit) {
		RegisterInfo currInfo = slice.get(startIdx);
		
		if(isRead != BOOL_KEEP)
			currInfo.isRead = (isRead == BOOL_TRUE ? true : false);
		
		if(isWritten != BOOL_KEEP)
			currInfo.isWritten = (isWritten == BOOL_TRUE ? true : false);
		
		if(is64bit) {
			currInfo = slice.get(startIdx + 1);
			
			if(isRead != BOOL_KEEP)
				currInfo.isRead = (isRead == BOOL_TRUE ? true : false);
			
			if(isWritten != BOOL_KEEP)
				currInfo.isWritten = (isWritten == BOOL_TRUE ? true : false);
		}
	}