Path: chuka.playstation.co.uk!news From: "Jon Prestidge (alias Moose)" Newsgroups: scee.yaroze.programming.codewarrior Subject: register variables Date: 10 Apr 1998 11:49:03 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 13 Message-ID: <01bd6477$65581880$c20f93c3@default> NNTP-Posting-Host: client15c2.globalnet.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 With CodeWarrior:- When you declare 'register' variables, how many are likely to acually be registers when the compiled/linked program is running? I can't find anything about this in the targeting PS manual. Also does the compiler assign registers to register variables in the order they are declared... meaning you should declare your most heavily used variables as register variables first? I'd be greatful for any info on this. Using register variables seems to make a significant difference on CPU intesive code so it would be well-worth knowing how far you can go with them. Jon Prestidge.