protected void formatConstant(A appender, ConstTpl offset, ConstTpl size) {
		if (offset.getType() != ConstTpl.REAL) {
			throw new RuntimeException("Unsupported constant offset type: " + offset.getType());
		}
		long value = offset.getReal();
		appender.appendScalar(value);
		formatSize(appender, size);
	}
Format a constant

@param appender the appender to receive the formatted text
@param offset the value of the constant
@param size the size in bytes
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/AbstractPcodeFormatter.java