We have been studying arm recently. Speaking of arm, we first thought of Samsung, Qualcomm, and other companies. These companies make CPUs. In fact, arm is also a company, however, it provides the core logic circuit, and its way of making money is win-win with other companies! How many chips do you sell? I just pay off the dividends of these chips. It's really a clever company!
To put it bluntly, the microprocessor is a "brain". How is this brain made up? Usually there are three major parts
Control Unit
Arithmetic logical unit
Register
What are the features of arm?
- Support for two-instruction sets of thumb and arm
- 3-level assembly line/5-level Assembly Line
- Adopts the haver structure and provides command cache and data cache.
- Flexible and simple addressing mode and high execution efficiency
- Supports large-end and small-end formats
- Supports byte \ halfword \ word Data Types
- 7 Modes
- Use on-chip AMBA
- Memory ing I/O
- With coprocessor Interfaces
- Operating voltage less than V
- Small size, low cost, high performance
The so-called pipeline Working Mode means that a program divides it into N multiple parts for processing. To realize that the CPU only processes one resource in the true sense, the program should be decomposed, if you process multiple programs like an assembly line, the efficiency will not come up immediately!
I personally think that the arm is amazing here. We can switch between the arm status and the thumb status to solve many problems that may result in system bloated because of commands.
Arm status:32-bit. In this state, arm commands in the word format are executed;
Thumb status:16-bit. In this status, the half-word arm command is executed.
7 working modes, all you know!
In addition to the user mode, other modes are called the privileged mode.
In addition to user and system modes, other modes are called exception modes.
Arm has 37 registers! 31 are General registers and 6 are State registers.
It is far from enough to understand the registers. You need to know the registers and what you need to pay attention!
Under normal circumstances:
R14 saves the address of the main program during callback.
When exceptions are nested, these exceptions may conflict.
R14_irq originally saved address a, but when nesting occurred, the original saved address a was modified, so the nested program was completed, his PC pointer has no idea who to point? The error message is returned ~~~~~
As for the addressing method, I actually want to say that I am too lazy, because I don't think I can tell the way. I will go back and study the book "ARM architecture and programming". I am not familiar with the compilation, and I am not clear about it ~~~
No, I wrote so much without knowing it! I am a diligent child ~~~ No.
: Http://url.cn/JbTFjf
Find setup. EXE and perform the following operations.
Wait until a pink page appears. Remember, next step!
Then
Copy this file to your installation path,
I will use the default path: C: \ Program Files (x86) \ Arm \ adsv1_2
Paste it.
Then load
Success!
So you can find
Start!
How to use it? Let me break it down next time!
At the same time, welcome to follow my microblog: http://weibo.com/samuelwnb/
What happened between me and arm? First, I got to know arm.