The CrossWorks assembler provides a number of built-in or predefined data types. They correspond to those in a high-level language such as C. You can use them to allocate data storage; for instance, the following allocates one byte of data for the count symbol:

count   DV      BYTE 

The directive DV allocates one byte of space for count in the current section and sets count's type to BYTE.

Type name Size in bytes Description
BYTE 1 Unsigned 8-bit byte
WORD processor-dependent Unsigned word, dependent upon processor word size
LONG 4 Unsigned 32-bit word
CHAR 1 8-bit character
ADDR processor-dependent Address