Keil Logo Arm Logo

A166: 64-Bit Calculations


Information in this article applies to:

  • C166 Version 4.01 and Later

QUESTION

Does the A166 Assembler perform calculations using 32-bit math or 64-bit math?

ANSWER

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, September 21, 2016


Did this article provide the answer you needed?
 
Yes
No
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

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.