ADS ARM assembly and GNU ARM assembly

Publisher:MindfulYogiLatest update time:2023-06-27 Source: elecfansKeywords:ADS Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The compiler used for the Linux/Unix kernel source code is GCC, and GCC uses AT&T's assembly format, which is different from the assembly format used under ADS.


A partial comparison of the two assembly formats is as follows:

GNU ARM assemblyADS ARM assembly
"@"or"/*…*/"“;”
.includeGET
.equEQU
.globalEXPORT
.externIMPORT
.longDCD
.endEND
entry:ENTRY
.textAREA Init,CODE,READONLY
.dataAREA Block,DATA,READWRITE
.macroMACRO
.endmMEND


Keywords:ADS Reference address:ADS ARM assembly and GNU ARM assembly

Previous article:Common errors when compiling existing projects in ADS: solutions to the file \\…\\…\\2440init.o cannot be opened
Next article:Understanding of ARM immediate data

Recommended ReadingLatest update time:2024-11-23 05:00

ARM learning notes 5 (C/C++ and ARM assembly mixed programming)
Common methods: 1 Embed assembly instructions in C/C++ programs Syntax format: __asm ​​{ assembly language program } 2 Access global variables defined in C/C++ in assembly programs Sample code is as follows: test.c #include stdio.h int gVar_1=12; extern asmDouble(void
[Microcontroller]
ARM7 microcontroller (learning) - (V), real-time clock (RTC) - 02
5. Real-time Clock (RTC) Five - (02), 1s timing control (achieved by query method~~) Note: The following procedures have operation steps~~ ~~ Then comes the procedure: MDK5_1.c //------------------------------------------------------------------------------ //1s timing control (query mode~~) //I don't want to in
[Microcontroller]
ARM7 microcontroller (learning) - (V), real-time clock (RTC) - 02
Popular understanding of ARM state and Thumb state
The Embedded System Development and Application Tutorial (2nd Edition) says that there are two states: ARM state and Thumb state. I was confused when I first started learning it. Now that I have a vague understanding of it, I suddenly thought of an example in reality:         The ARM core is like a high school, whic
[Microcontroller]
Embedded quantitative analysis system based on ARM7 chip S3C44BOX
Gangue is a solid waste discharged during coal mining and coal washing. It is a black-gray rock associated with coal seams during the coal formation process. There are more than 1,500 gangue mountains in the country, with a total volume of more than 3 billion tons, accounting for more than 40% of China's total industri
[Microcontroller]
Embedded quantitative analysis system based on ARM7 chip S3C44BOX
Design of electronic let-off and take-up system based on ARM7 and CAN bus
    This paper uses the cost-effective main controller ARM7-LPC2194, CAN receiver PCA82C250 and TLP2631 to design a textile machine warp let-off and take-up system based on ARM7, realizes the network node design of the warp let-off and take-up system bus, and solves the data transmission problem of the electronic warp
[Microcontroller]
Design of electronic let-off and take-up system based on ARM7 and CAN bus
After the Russian-Ukrainian war, ARM's neutrality was completely broken
One of ARM's strengths has always been its neutrality, but the UK's new sanctions against Russia have now seen that ARM technology is not completely neutral. Why is ARM's neutrality important, why do the new sanctions affect ARM, and will these sanctions help RISC-V? Why is ARM neutrality important? Over the past
[Semiconductor design/manufacturing]
ARM program analysis--ARM program structure, Image file structure, etc.
Note: 1. I learned about ARM programming today, so I searched for a lot of information online, but found that there were not many that were really useful. And after my actual test, there were quite a few differences from what some experts on the Internet said. 2. Test environment WinXp RVDS2.2 compiler an
[Microcontroller]
Design of an Airborne Radio Station Detection Controller Based on ARM
Airborne radio stations are responsible for air-to-air and ground-to-air communications. To ensure the performance of the radio stations, they need to be inspected regularly. The detectors based on single-chip microcomputers have the problems of slow measurement speed and poor scalability; while the detectors based
[Industrial Control]
Design of an Airborne Radio Station Detection Controller Based on ARM
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号