Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
arm assembly - generating of 32 bit constants
Locked
Locked
Replies
5 replies
Subscribers
119 subscribers
Views
3645 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
arm assembly - generating of 32 bit constants
Chmielewski Andreas
over 12 years ago
Note: This was originally posted on 13th October 2009 at
http://forums.arm.com
Hi,
i am searching for an algorithm to load any kind of 32 bit constants. As you know the arm compiler puts in the most cases the constants with some add/mul etc instructions together instead of loading the constant via the program counter out of the "constant pool". The way the compiler generates the constants is not really known to me. Unfortunately I could not find anything about it right now. Does somebody know where i can find something explaining whats the best way is to generate constants. Thx
0
Quote