What happened between me and arm? First, I got to know arm.

Source: Internet
Author: User

 

 

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?

  1. Support for two-instruction sets of thumb and arm
  2. 3-level assembly line/5-level Assembly Line
  3. Adopts the haver structure and provides command cache and data cache.
  4. Flexible and simple addressing mode and high execution efficiency
  5. Supports large-end and small-end formats
  6. Supports byte \ halfword \ word Data Types
  7. 7 Modes
  8. Use on-chip AMBA
  9. Memory ing I/O
  10. With coprocessor Interfaces
  11. Operating voltage less than V
  12. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.