Keil Logo Arm Logo

A166: 64-Bit Calculations

Information in this article applies to:

  • C166 Version 4.01 and Later


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).

Last Reviewed: Wednesday, May 6, 2015

Did this article provide the answer you needed?
Not Sure

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings