|
|||||||||||
|
Technical Support Support Resources
Product Information |
A51: Creating Floating-point ConstantsInformation in this article applies to:
QUESTIONIs there any method of specifying a floating point number in the A51 Assembler so that it will be stored in 4 byte IEEE floating point format within the code? ANSWERThere is no easy way in the assembler to declare floating point numbers. However, it is easy to declare them in a C module, then compile and create an assembler source file. For example, the following C file:
Generates the following .SRC file when compiled:
You may either include this file in your assembler files or use it as an external table. MORE INFORMATION
SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.