Everything
A.3.3 Defining const data

To define a const, use the .DB directives/.DB2 directives/.DB4 directives within the .const or .constf section.

-

1-byte values

[label:]        .DB value

-

2-byte values

[label:]        .DB2 value

-

4-byte values

[label:]        .DB4 value

 

Example

Defining const data

        .CSEG   const
        .PUBLIC _p          ;Sets _p as able to be referenced from other files
        .ALIGN  2           ;Aligns _val0 to 2 bytes
_p:
        .DB2    10          ;Allocates a 2-byte area for _p, and stores 10 in it