Path: chuka.playstation.co.uk!news From: gil@snsys.com (Gil Jaysmith (Telecommuting)) Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: minor Assembler query Date: Mon, 02 Feb 1998 21:16:30 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 15 Message-ID: <34d63728.1074065@news.playstation.co.uk> References: <34D612AB.73B8@127.0.0.1> NNTP-Posting-Host: th-eng07-034.pool.dircon.co.uk X-Newsreader: Forte Free Agent 1.1/32.230 On Mon, 02 Feb 1998 18:38:35 +0000, Majik wrote: >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 ? It should recognise standard names like gp already. For other aliases, I don't know whether it'll work with the preprocessor since asm statement parameters are strings and obviously won't get expanded. It should be possible to get hold of GASP and build that to run as a precursor to the standard assembler. I wouldn't recommend it though. For one thing I can't say anything about its reliability. - Gil