BSM

Block storage modulo.

[ label] BSM expression[,expression]

Remarks

The BSM directive causes the Assembler to allocate and initialize a block of words for a modulo buffer. The number of words in the block is given by the first expression, which must evaluate to an absolute integer. Each word is assigned the initial value of the second expression. If there is no second expression, an initial value of zero is assumed. If the runtime location counter is not zero, this directive first advances the runtime location counter to a base address that is a multiple of 2k, where 2k is greater than or equal to the value of the first expression. An error occurs if the first expression contains symbols that are not yet defined (forward references), has a value less than or equal to zero, or falls outside the range 2 <= expression <= m, where m is the maximum address of the target DSP. Both expressions can have any memory space attribute.

If label is present, it is assigned the value of the runtime location counter after a valid base address has been established.

Only one word of object code is shown on the listing, regardless of how large the first expression is. However, the runtime location counter is advanced by the number of words generated.

Example

BUFFER BSM $2EEE,$FFFFFFFF

See also

BSC

BSB

DC

DWARF Symbolics