Explore tens of thousands of sets crafted by our community.
Assembler Directives
15
Flashcards
0/15
DT Directive
Defines a ten-byte space and usually initializes it with a floating-point number.
ORG Directive
Sets the origin, or starting address, for the code or data that follows the directive.
ALIGN Directive
Aligns the next data item on a boundary, which can improve access speed on many systems.
DQ Directive
Defines a quad word (typically 8 bytes) and initializes it with a value.
EQU Directive
Used to define a symbol as a constant value, not to be allocated any memory space.
RESB Directive
Reserves space for a block of bytes in the BSS section, typically without initialization.
END Directive
Defines the end of the source code file, indicating to the assembler that it has reached the end of the file.
SECTION Directive
Used to define a section in the assembly code, typically .data, .text, or .bss for data, code, and uninitialized data respectively.
DB Directive
Defines a byte or string of bytes and initializes them with values.
DD Directive
Defines a double word (typically 4 bytes) and initializes it with a value.
BYTE Directive
Allocates space for a byte or a sequence of bytes in the memory and optionally initializes them.
EXTERN Directive
Tells the assembler that the defined symbol is located in another module and not to expect its definition within the current module.
WORD Directive
Allocates memory space for a word or a sequence of words and optionally initializes them.
GLOBAL Directive
Declares a symbol that can be accessed from other modules, making it global rather than local to the assembly file.
DW Directive
Defines a word (typically 2 bytes) and initializes it with a value.
© Hypatia.Tech. 2024 All rights reserved.