Signed word storage directive Format .SIGNED_WORD expression-list
1 – Parameter
expression-list An expression or list of expressions separated by commas. Each expression specifies a value to be stored. The value must be in the range of -32,768 through +32,767.
2 – Description
.SIGNED_WORD generates successive words of binary data in the object module and performs signed range checking. Apart from the range check, .SIGNED_WORD is equivalent to .WORD in terms of storage allocation.
3 – Notes
o You can only use this directive within data or mixed psects (psects that have either the NOEXE or MIX attributes). o If automatic data alignment is enabled, this directive aligns the current location counter to a word (16-bit) boundary before allocating storage.
4 – Example
.PSECT $DATA,NOEXE .SIGNED_WORD -32766; .SIGNED_WORD 32769 ;causes assembly error