The assembler accepts several types of literal values as operands within expressions. Literal-Operands are converted to ExpressionTypes according to the following table:
┌────────────────────────┬──────────────────────────────────────────────────────┐ │Floating-Point-Literal │Floating-Point-ExpressionType │ ├────────────────────────┼──────────────────────────────────────────────────────┤ │Integer-Literal │Absolute-ExpressionType │ ├────────────────────────┼──────────────────────────────────────────────────────┤ │String-Literal │Absolute-ExpressionType if the string length is less │ │ │than or equal to the current Address Size; a │ │ │String-ExpressionType otherwise. │ └────────────────────────┴──────────────────────────────────────────────────────┘
The context where the expression is used determines whether or not a particular type of literal is legal.