public static String toString(int operandType) {
		StringBuffer buf = new StringBuffer();

		//*******************************

		if (isAddress(operandType)) {
			append(buf, "ADDR");
		}

		if (isScalar(operandType)) {
			append(buf, "SCAL");
		}

		if (isPort(operandType)) {
			append(buf, "PORT");
		}

		if (isRegister(operandType)) {
			append(buf, "REG ");
		}

		if (isList(operandType)) {
			append(buf, "LIST");
		}

		if (isFlag(operandType)) {
			append(buf, "FLAG");
		}

		if (isText(operandType)) {
			append(buf, "TEXT");
		}

		//*******************************

		if (isCodeReference(operandType)) {
			append(buf, "CODE");
		}

		if (isDataReference(operandType)) {
			append(buf, "DATA");
		}

		//*******************************

		if (isBit(operandType)) {
			append(buf, "BIT ");
		}

		if (isByte(operandType)) {
			append(buf, "BYTE");
		}

		if (isWord(operandType)) {
			append(buf, "WORD");
		}

		if (isQuadWord(operandType)) {
			append(buf, "QUAD");
		}

		if (isSigned(operandType)) {
			append(buf, "SIGN");
		}
		if (isFloat(operandType)) {
			append(buf, "FLT ");
		}

		//*******************************

		if (isIndirect(operandType)) {
			append(buf, "IND ");
		}

		if (isImmediate(operandType)) {
			append(buf, "IMM ");
		}

		if (isRelative(operandType)) {
			append(buf, "REL ");
		}

		if (isImplicit(operandType)) {
			append(buf, "IMPL");
		}

		//*******************************

		if (doesRead(operandType)) {
			append(buf, "READ");
		}

		if (doesWrite(operandType)) {
			append(buf, "WRTE");
		}

		//*******************************

		if (isCoProcessor(operandType)) {
			append(buf, "COP ");
		}

		if (isDynamic(operandType)) {
			append(buf, "DYN ");
		}

		return buf.toString();
	}
returns a string representation of the given operandType
@param operandType the operandType bits
@return the string rep
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/OperandType.java