as: Struct
1
1 7.89 '.struct EXPRESSION'
1 =========================
1
1 Switch to the absolute section, and set the section offset to
1 EXPRESSION, which must be an absolute expression. You might use this as
1 follows:
1 .struct 0
1 field1:
1 .struct field1 + 4
1 field2:
1 .struct field2 + 4
1 field3:
1 This would define the symbol 'field1' to have the value 0, the symbol
1 'field2' to have the value 4, and the symbol 'field3' to have the value
1 8. Assembly would be left in the absolute section, and you would need
1 to use a '.section' directive of some sort to change to some other
1 section before further assembly.
1