Date: Sat, 20 Sep 1997 03:42:08 +0000 ( ) From: "Gurunandan R. Bhat" To: djgpp AT delorie DOT com Subject: Structs in Asm Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Greetings, I need to define a symbol for local structs in an external asm file in a way that allows me to refer to the components of the struct by their own symbols. Will the following be okay? ------------------------------------ .data struct_name: component1: .long component2: .short .... ------------------------------------ In case this is okay, can I use expressions like: $struct_name (struct_name) $component1 (component1) etc. I am aware that structs in as can be declared like: ----------------------------------- .data struct: .long .short ---------------------------------- Thanks in advance Gurunandan