ARM Slides Part2
ARM Slides Part2
2
Categories of ARM instructions
3
Data Transfer
5
Arithmetic – More on addition
6
Same basic form for other operations !
8
Introduction to assembler directives
9
The AREA directive
12
Explanation
14
Running the program (continued)
Then click on “Source Group 1” and Add myprog.s using “Add Files to Group" .
Thereafter, select Project → Build Target
Now select Debug → Start/Stop session
You may get a window with a message as "Evaluation Mode: Code size limit is 32K“
-- just click "Ok"
You will see the cursor stopping at the first ARM instruction. Just single step (use F11
key) and see how the register contents are changing on the left hand side
Note that you need to pay attention to indenting (use one Tab space for ARM
instructions, AREA etc.)
15
Register operands
17