DCB - Define Constant Block

Syntax
  [<label>:]  DCB [.<size>] <count>, <value>
  
  
where
  <size> = 
  B (default), 
  W, or 
  L.

  
Description

The DCB directive causes the Assembler to allocate a memory block initialized with the specified <value>. The length of the block is <size> * <count>.

<count> may not contain undefined, forward, or external references. It may range from 1 to 4096.

The value of each storage unit allocated is the sign-extended expression <value>, which may contain forward references. The <count> cannot be relocatable. This directive does not perform any alignment.

The following rules apply to size specifications for DCB directives:

See also

Assembler directives :