To access a structured type field offset, the Assembler will use following notation:
<typeName>-><field>
where:
myType: STRUCT field1: DS.W 1 field2: DS.W 1 field3: DS.B 1 field4: DS.B 3 field5: DS.W 1 ENDSTRUCT XREF.B myData XDEF entry CodeSec: SECTION entry: LD X, #myData LD D6, (myType->field3,X); Adds the offset of field 'field3' ; (4) to X and loads D6 with the ; content of the pointed address