Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM mode Thumb mode switching
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
119 subscribers
Views
7768 views
Users
0 members are here
Options
Share
More actions
Cancel
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 mode Thumb mode switching
Dave Mathew
over 12 years ago
Note: This was originally posted on 13th January 2011 at
http://forums.arm.com
Hi,
Let me explain my problem,
i come across one situation
cmp r1,#0
beq labels_of1
i would like to merge both the instructions in to one. for that i would like to use cbz (thumb instruction)
but my compiler shows an error message that this particular instruction not present in the Instruction.
Since the instruction is cbz the compilation should be in thum mode. how can i modify my make file and how can i switch the mode from ARM to thumb for execute the optimized instruction.
please let me know the mode change needs any extra cycle.
Rgds
Dave
Parents
Dave Mathew
over 12 years ago
Cancel
Vote up
0
Vote down
Cancel
Reply
Dave Mathew
over 12 years ago
Cancel
Vote up
0
Vote down
Cancel
Children
No data