Path: chuka.playstation.co.uk!news From: "SCEE" Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: minor Assembler query Date: Wed, 18 Feb 1998 10:48:14 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 28 Message-ID: <6cee42$beo35@chuka.playstation.co.uk> References: <34D612AB.73B8@127.0.0.1> NNTP-Posting-Host: 194.203.13.10 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Hi, When I produce assembler code I always use the preprocessor, and #include asm.h to get proper register names such as a0-a3 etc. Since these are all setup using #defines anyway it I'd recommend you do the same. Cheers, Colin. Majik wrote in message <34D612AB.73B8@127.0.0.1>... >Hi, > is there anyway of setting up register aliases, ie $gp / $28 or >$my-register / $4 etc in the GNU assembler, or should I just use >#defines and run it through the pre-processor ? > >ttfn. > >Majik. > >-- >-- Majik - Owner/Curator of the Sinclair Microcomputer Museum >-- Spod in a suitcase - ' Have Compiler, will travel ' >-- http://mudhole.spodnet.uk.com/~majik/ >--