From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frank Ch. Eigler" To: Alan Lehotsky Cc: cgen@sourceware.cygnus.com Subject: Re: problems simulating register-only architecture... Date: Thu, 24 May 2001 16:25:00 -0000 Message-id: <20010524192548.C24069@redhat.com> References: <200105242031.QAA10298.cygnus.local.cgen@iron> X-SW-Source: 2001-q2/msg00078.html Hi - On Thu, May 24, 2001 at 07:19:43PM -0400, Alan Lehotsky 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.) : 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 :-) Well, you should be using a simulator infrastructure such as sid :-) which does this stuff for you. Note I didn't say that you shouldn't represent the register bank as memory; just that memory should not be described within cgen. - FChE -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7DZh8VZbdDOm/ZT0RAqC0AJ46+XRWu+Qsx6lJ84pBz6NVJtuJWwCeMPI2 URRJnepVlqHl+Ug/Ik6jPNs= =AaIp -----END PGP SIGNATURE-----