From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1435e364be523e9d X-Google-Attributes: gid1164f8,public From: wilson@dbit.com (John Wilson) Subject: Re: Alpha Assembly Programming Date: 1997/11/06 Message-ID: <34621aeb.0@news.wizvax.net>#1/1 X-Deja-AN: 288178564 References: <34622F8E.7529@dso.org.sg> <63s25m$7v7$1@nntpd.lkg.dec.com> Organization: D Bit, Troy, NY Newsgroups: comp.sys.dec In article <63s25m$7v7$1@nntpd.lkg.dec.com>, Antonio Carlini wrote: >|>I am planning to hand code some C programs in assembler on the Alpha >|>chip. Can anyone point me to any useful resources that I can refer to? > >Why? Unless you are doing something that *cannot* be done in C (like >PALcode) then a compiler is highly likely to do a much better job than >you will. WHY can't anyone ever just answer a question like this, without feeling that it's their job to talk the person out of doing what they want?! Who's to say this person can't get the hang of doing Alpha instruction scheduling by hand? And in any case did they even say they expected to do a better job than the compiler? Maybe they just want to do it for fun. Sheesh... In any case, for the Alpha the Architecture Handbook is a good place to start -- depending on the phase of the moon, you might even get it for free if you figure out whom to ask. You're unlikely to find any real textbooks on assembly language programming for the newer CPUs because these days everyone has convinced themselves there's no point. But the data sheets for the various individual CPU models can provide more detailed information about semantics, scheduling etc. for those particular CPUs. Note that compilers generally produce code that's optimized for one particular model at a time. John Wilson D Bit