This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: problems simulating register-only architecture...
- To: fche at redhat dot com (Frank Ch. Eigler)
- Subject: Re: problems simulating register-only architecture...
- From: Alan Lehotsky <apl at alum dot mit dot edu>
- Date: Thu, 24 May 2001 19:19:43 -0400
- Cc: apl at alum dot mit dot edu, cgen at sourceware dot cygnus dot com
- References: <200105242031.QAA10298.cygnus.local.cgen@iron><o566eqe4dg.fsf@touchme.toronto.redhat.com>
At 7:03 PM -0400 5/24/01, Frank Ch. Eigler wrote:
>
>I'd advise keeping it simple: use c-call to hook to a single C
>getter-setter function pair, and hide the indirection within. (BTW,
>don't bother represent the actual RAM block (h-memory) within cgen.)
>
>- FChE
It made the code for loading sections from the ELF object file really trivial. The
mapping code just does all the heavy lifting for me :-)
-- Al
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/users/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation