3.20 Optional Array Size for LABEL Directive
The LABEL directive accepts an optional array size argument:myarray LABEL word : 10 ; myarray is assumed to be an array of 10 words
dw 1,2,3,4,5,6,7,8,9,10
Please note that the array size argument defines the array's number of elements, not the array's size in bytes.
This extension allows to define large initialized arrays, not restricted by line size limits. The SIZEOF and LENGTHOF operators will return the same values as if the array had been defined via the DUP operator.
The array size argument may be a forward reference:
myarray LABEL word : size_myarray / sizeof word
dw 1,2,3,4,5,6,7,8,9,10
size_myarray equ $ - myarray