as.info: Struct
Go forward to SubSection
Go backward to String
Go up to Pseudo Ops
Go to the top op as
`.struct EXPRESSION'
Switch to the absolute section, and set the section offset to
EXPRESSION, which must be an absolute expression. You might use this
as follows:
.struct 0
field1:
.struct field1 + 4
field2:
.struct field2 + 4
field3:
This would define the symbol `field1' to have the value 0, the symbol
`field2' to have the value 4, and the symbol `field3' to have the value
8. Assembly would be left in the absolute section, and you would need
to use a `.section' directive of some sort to change to some other
section before further assembly.
Created Wed Sep 1 16:41:03 2004 on bee with info_to_html version 0.9.6.