Path: chuka.playstation.co.uk!news From: "Jon Prestidge (alias Moose)" Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: register variables Date: 21 Jul 1998 10:21:42 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 11 Message-ID: <01bdb491$bd2f6760$a4527ec2@default> References: <01bd6477$65581880$c20f93c3@default> NNTP-Posting-Host: client82a4.globalnet.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 No -- sorry S1 does seem to be available most of the time too. So that's two register variables to play with (plus the colouring of them) - not too bad. I tried rejigging a little maths routine I wrote so that it just used two register variables for the main bulk of it, and it made the disassembly quite a lot, lot shorter... it did away with most of the loading and then writing back of variables to memory that occurs on almost every line of C. Probably well worth it on routines that get executed hundreds of times per frame.