|ARM Technical Support Knowledge Articles|
Applies to: A166 Macro Assembler
Information in this article applies to:
Does the A166 Assembler perform calculations using 32-bit math or 64-bit math?
In A166 V4.01, expression evaluation was enhanced to use 64-bit arithmetic. Previous versions of the A166 Assembler used 16-bit math when calculating expressions. In the following equation:
Value EQU (8000h + 9000h) / 2
A166 Version 3 calculates a value of 800h, since the result of the addition is 1000h (a 16-bit value).
A166 Version 4.01 calculates a value of 8800h, since the result of the addition is 110000h (a 64-bit value).
Article last edited on: 2007-07-13 12:58:52
Did you find this article helpful? Yes No
How can we improve this article?