Unions .
The Union concept is nothing but providing several Names (Data Addresses Symbolics) for the same Address. Programmers with some previous HLL experience are often times a bit lost with not having a concept like HLLs Unions in Assembly. In fact, we do have it, for free:
[DwordData:
WordData1:
ByteData1: B$ ?
ByteData2: B$ ?
WordData2:
ByteData3: B$ ?
ByteData4: B$ ?]
The upper Declaration is a Union for a Data area that can be accessed either as one single dWord, or two different Words, or four different Bytes.
~~~~~~~