Define Storage. Freescale Semiconductor sc100
विज्ञापन
विज्ञापन
Freescale Semiconductor, Inc.
SC_Assem.book Page 111 Thursday, September 23, 2004 10:44 AM
Assembler Directives
Descriptions string
Replacement string for the symbol.
Remarks
Upon encountering a macro definition, the assembler applies DEFINE-directive translations. Later, when the assembler expands the macro, it applies the appropriate DEFINE-directive translations to the expansion.
You may not use a label with this directive.
Related Directives
GSET, SET, UNDEF
Example
DEFINE ARRAYSIZ '16*SAMPLSIZ'
SAMPLSIZ EQU 16
DS ARRAYSIZ
.
.
; This line transformed to
; DS 16*SAMPLSIZ
DS Define Storage
Reserves a block of bytes in memory, but does not initialize the block.
[label] DS numbytes
Parameters
label
Optional label that receives the value of the location counter at the start of directive processing.
numbytes
Number of bytes: an expression that evaluates to an integer greater than zero. This expression must not contain any forward references. The location counter advances by this number of bytes.
Related Directive
DSR
SC100 Assembler User Guide 111
For More Information: www.freescale.com
डाउनलोड
विज्ञापन