Description

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-LiteralFloating-Point-ExpressionType                         │
├────────────────────────┼──────────────────────────────────────────────────────┤
│Integer-LiteralAbsolute-ExpressionType                               │
├────────────────────────┼──────────────────────────────────────────────────────┤
│String-LiteralAbsolute-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.


[Back: Syntax]
[Next: Constraints]