.dshw


Initializes a 2-byte area with the specified value, right-shifted one bit.

[Syntax]

Symbol field

Mnemonic field

Operand field

Comment field

[label:]
.dshw
expression[, ... ]
[; comment]

[Function]

-

Initializes a 2-byte area with the specified value, right-shifted one bit.

[Description]

-

The value is secured as 2-byte data, as the value of the expression right-shifted 1 bit.

-

If the relocation attribute of the section is "BSS", then an error is output because the .dshw directive cannot be described.

-

It is possible to code an absolute expression in the operand expression.

-

The value of the expression, right-shifted one bit, must be in the range 0x0 to 0xFFF. In other cases, the data from the lower two bytes will be secured.

-

Any number of expressions may be specified on a single line, by separating them with commas.

-

It is not possible to code string constants in the operand.