This section provides an overview of what arm is, and why a developer might want to use it.
It should also mention any large subjects within arm, and link out to the related topics. Since the Documentation for arm is new, you may need to create initial versions of those related topics.
There are many different variants of the ARM architecture and implementations that have evolved over time. The notation can be confusing. For instance, arm7 and armv7, are completely different. The first is a CPU implementation; the second is a CPU architecture. The architecture, also called a family, is a set of machine instructions (or ISA for instruction set architecture) that are generally compatible. See: Wikipedia's list of ARM microarchitectures for more.
Other CPU specific tags exist, such as cortex-m3. Often those posts apply to other cortex-m CPUs and/or the difference between the versions is important to understand. Also newer future CPUs may extend a specific CPU and questions in that tag maybe relevant.
If you are only posting to the tag arm try to give some specifics about the system you are using.
To run ARM assembly code you will need a machine with an ARM processor.
If you are on Linux you can use the following commands to compile your program:
as -o prog_object.o my_prog_source.s
Link to get the executable:
ld -o run_prog prog_object.o
If you run
echo $? it will return the value stored in R0