Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
For x86, I used NASM - Assembler for Intel architecture , it generated an .o file, which I compiled happily using gcc.
Now, I want to write ARM code and run it, I was told to use armsim#:
ARMSim# is a desktop application running in a Windows environment. It allows users to simulate the execution of ARM assembly language programs on a system based on the ARM7TDMI processor.
But I'm just writing code (for ARMv7) and pressing a button to load & run, I don't get to assemble (.o)/compile it (.exe for windows) manually, as I did for x86.
I assume I can't do such things on x86 because it's not the same architecture, but I happen to have a ARM processor, which is on my phone ARM Cortex-A53 and runs Linux! Android.
So I would like to copy the .s file to my phone, assembly it and compile it manually. I've been googling a little, but most the stuff I find is to emulate ARM (Android Studio, Virtual Machines) and such, which I don't want...
Hello - I would not start learning for Arm today with ARM7TDMI, this is a very old processor. Most devices today are based on Cortex branded processors. Cortex-M are deeply embedded processors
Arm has a range of development tools available. You could start with the MDK product, which includes simulators of Cortex-M processors. The Lite Edition is free of charge, and allows up to 32KB of code to be developed.