public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* funit-asm.h
@ 2007-02-02 20:29 Andrew Cagney
  0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2007-02-02 20:29 UTC (permalink / raw)
  To: frysk

FYI,

The file funit-asm.h defines a number of simple instructions using 
macros.  This helps simplify the problem of writing generic assembler.

I've just committed a change to make it more generic with:

- making instruction arguments parameters to the macros
Different assemblers order source/dest differently.

- defining immed versions of load and compare.
Some assemblers use $ for immed, some do not.

- adding explict ENTER/EXIT macros
Different assemblers have different function entry (EPILOGUE) and EXIT 
(EPILOGUE) conventions

Mark, in particular, this should make implementing assembly level step 
tests much simpler and more portable.

Andrew

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-02 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02 20:29 funit-asm.h Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).