A2336: Value too big

[DISABLED, INFORMATION, WARNING, ERROR]

Description

The absolute expression specified as initialization value for a block defined using DCB is too big. This message is generated when the initial value specified in a DCB.B directive cannot be coded on a byte. In this case the value used to initialize the constant block will be truncated to a byte value.

Example
  constSec: SECTION

            ; ...

  label1:   DCB.B   2, 312

            ; ...
  

In the previous example, the constant block is initialized with the value $38 (= 312 & $FF)

Tips

To avoid this warning, modify the initialization value to a byte value.

Example
  constSec: SECTION

            ; ...

  label1:   DCB.B   2, 56

            ; ...