|Symbol Table, global, local, dynamic allocation, code generation firstname.lastname@example.org (Mitch Mooney) (2005-04-28)|
|Re: Symbol Table, global, local, dynamic allocation, code generation email@example.com (phoenix) (2005-04-30)|
|Re: Symbol Table, global, local, dynamic allocation, code generation firstname.lastname@example.org (2005-04-30)|
|From:||"Mitch Mooney" <email@example.com>|
|Date:||28 Apr 2005 14:55:25 -0400|
|Posted-Date:||28 Apr 2005 14:55:25 EDT|
I'm researching how to handle variables, global, local, and dynamic.
With Global variables I figure I can load the symbol table with scope,
name, value and generate x86 asm code in the .data segment. Is this
the basic setup?
With Local variables I figure I can load the symbol table with scope,
name, value and OFFSET to generate x86 asm code on the stack, using
the offset in the symbol table to allow me to access the position in
the stack. Is this a proper way to do this or just a hack?
With Dynamic variables I assume its handled like a local
variables. Anyone with some insight?
I'm waiting on some books, till they arrive I'm relying on information that
can be found on the net and newsgroups. Any links, or books that can be
Return to the
Search the comp.compilers archives again.