Section 1.3.5 details how numerical values are processed within the ASxxxx assembler's source programs. It establishes the rules for radix interpretation, prefixing, and numerical representation.
: Numbers are strictly considered absolute values . Consequently, they are never treated as relocatable entities in the code. Context Within "Expressions" Expressions 1.3.5
In the broader scope of the assembler documentation, a "Number" is defined as a (Section 1.3.6), which serves as a fundamental building block for Expressions . Expressions themselves are combinations of these terms joined by binary operators. AS6811 Documentaion Section 1
: Specific radix prefixes can be used to designate the base of individual numbers, overriding the default setting for that specific instance. Signage : Consequently, they are never treated as relocatable entities
: By default, all numbers are interpreted as decimal unless a different radix is specified via the .radix directive. Radix Support : The assembler supports four primary formats: Hexadecimal
must be preceded by a minus sign ( - ). The assembler automatically translates these into two’s complement form.
According to the AS6811 Documentation , the assembler applies the following logic to numerical expressions: