Commonly used pseudo commands in arm assembly language

Source: Internet
Author: User
Area -- used to define CodeSegment or data segment
Align -- used to add patch bytes so that the current location can meet certain requirements.
Code -- used to define a code segment
Code32 -- used to indicate the 32-bit arm command after the Assembly Compiler
Data -- used to define data segments
DCD: used to allocate a memory unit of a segment and initialize it with a pseudo-Directive expression.
End -- indicates that the source file of the assembler compiler has ended.
Entry -- used to specify ProgramEntry Point
Equ -- used to define a name for numeric constants, register-based values, and labels in programs
Export -- used to declare that a symbol can be referenced by other files
If... else... endif -- used for conditional assembly
Import -- indicates that the current symbol of the assembler compiler is not defined in this source file, but defined in other source files. This symbol may be referenced in this source file.
Include -- is used to include a source file to the current source file and compile the included file at its current location.
LDR -- used to load a 32-bit immediate number or an address value to a specified register.
Ltorg -- used to declare a text pool
Macro... mend -- used for macro definition
Noint -- used to specify that the data segment only retains the memory unit without initialization.
Readonly -- used to specify this segment as read-only, which is the default attribute of the code segment
Space -- used to allocate a memory unit and initialize it with 0

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.