ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm interested in learning about risc processors and as always the best way to learn about something is to use it. So I want to learn risc assembler. However, I don't have a risc cpu and don't have much money. I'm sure I could get an old one cheap, but was hoping to find some input on an emulator for my x86 based system and a book or website about assembler on risc. I have been unable to find any books about risc assembler at webshops, but am sure there are some out there.
hmmm...haven't heard of mips or sparc. I was hoping to get an actual cpu eventually, but thought it might be easier with an emulator. I know nothing about mac hardware, and have been hardpressed to find any sites that sell just hardware components. I'll have to look into mips and sparc. thanks.
thanks guys...I really didn't expect to get much response about this assembly isn't very popular, and I didn't think risc would be at all since linux was developed for the x86, although in my reasearch I have found that is has been ported for powerpcs. I'll check out all your recommendations.
An emulator is a good idea, especially for the beginning (when you don't have a processor). But spim crashes all the time, it's very frustrating.
I've seen a virtual machinefor running sparc code, but haven't tried it.
Sparcs are machines made by Sun Microsystems, they tend to run Solaris (Sun's Unix) and have DEC Alpha processors.
sorry man but sparc is processor (actually processor specifikation) but also physical processor; those used in sun machines are also manufactured by sun; but there are many other who manufacture processor after sparc specifications
DEC alphas are also risc processors but are different than sparcs architecture
why would you learn assembly for risc if you don't use one???
I have programmed both mips and sparc in assembly but only when neccessary;
it's common rule - you don't programm in asseymbly if you don't have too (I did an interrypt rutine for an old mips; and one backend for a compiler for a sun ray & solaris 8) - and there is certainly no point of learning assemby for knowing assembly per see; you do that when you have a need
it's better to invest your time in learning assembly of that machine you have, coz' you can probably use that knowledge
but if you really feel to learn "risc" assembly then spim is probably best thing to go after
btw: you can't get an "risc" cpu; you must get entier machine (at least cpu and motherboard that will support it), and like someonve told you above an old powerpc is pretty good idea
I realize I would need at least a mb and cpu. I was hoping to find a place I could buy just those components since I could easily scrounge up other parts I need. I'm not really interested in learning assembly for assembly sake. I want to learn about risc architectures and thought the best way to do that would be to learn its language . I have a friend with an old sparc machine I can buy off him pretty cheap so I think I'm gonna use that to learn simply for availability reasons. Thanks again.