Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Convert instructions to Hex file
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
1 reply
Subscribers
126 subscribers
Views
3612 views
Users
0 members are here
Related
Convert instructions to Hex file
Offline
Sam Yau
over 7 years ago
Note: This was originally posted on 14th July 2012 at http://forums.arm.com
Hi,
Not sure if this is the right place to post. But I have the following question and help you can help. Thanks in advance.
I want to convert instructions to hex strings and load that hex strings to RAM and execute from it.
I created an instruction file, used armasm to covert to machine code. Can BIN2HEX covert the machine code to hex?
Can the hex values be understood by ARM processor when the IP jump to the RAM where the hex contents would locate?
Thanks,
Sy
Offline
Sam Yau
over 7 years ago
Note: This was originally posted on 16th July 2012 at
http://forums.arm.com
This is actually for simulation. I have backdoor mechanism to load HEX value into RAM. That's why I want to know how to covert instructions to hex value. If there is a manual way, then I won't have to use the assembler. But, if I used the assembler to generate the binary, I need to know how to covert to HEX correctly. Thanks.
Cancel
Up
0
Down
Reply
Cancel
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
How to view SFRs in DS during debugging?
+1
2878
views
1
reply
Latest
2 months ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
5733
views
2
replies
Latest
3 months ago
by
Ivan Savvateev
Answered
DS52020.0 connection to Musca-A/B boards not working
+1
Arm Development Studio
Musca-A
7529
views
4
replies
Latest
3 months ago
by
Daniel Oliveira
Answered
Positioning a function in a Position Independent Executable for ARMV8
+1
8281
views
3
replies
Latest
4 months ago
by
Stephen Theobald
Answered
Link a pure binary file to image with scatter file
0
8247
views
3
replies
Latest
4 months ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum