From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,1d6673b85a87920a X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,3567d4ae1ce1d0a3 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,3567d4ae1ce1d0a3 X-Google-Attributes: gid1164f8,public From: desnogue@bavi.unice.fr (Laurent.DESNOGUES) Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Date: 1996/07/19 Message-ID: <4sogdv$d3e@malibu.unice.fr>#1/1 X-Deja-AN: 168884121 references: <31E94588.2B34@swcp.com> <4shiht$ed5@news.iastate.edu> <4sj2li$tph@zk2nws.zko.dec.com> <4sniad$gbl@vidar.diku.dk> <31EFA203.356B@swcp.com> organization: University of Nice - Sophia Antipolis, France reply-to: desnogue@aiguemarine.unice.fr newsgroups: comp.sys.intel,comp.sys.dec,comp.arch In article <31EFA203.356B@swcp.com>, "H.W. Stockman" writes: > I suspect you are right, but out of curiosity, have you ever tried > assembly language programming on a RISC system? Now that assemblers > are smarter, and the CPU's have sequencing hardware, the problems > with load slots are not as severe. But my one experience with asm > on an R4000 was a bit sobering; the assembler reshuffled my instructions, > often with bizarre results. You were probably using the assembler written by MIPS and missed the documentation... If I remember correctly, you could turn off reordering and macro instructions. > The OS writers clearly didn't want to give > control to asm users. I don't think RISC systems are as friendly about > writing asm (except perhaps under Linux...). I have already programmed SPARC under SunOS/Solaris. One of my programs was just running without any interaction. The other was a little test a bit more hardware oriented: I mapped the VRAM into main memory and wrote things into it at full speed. In fact you can do almost anything in asm. The major problem is that to access privileged instructions/memories/IOs you have to be in the kernel; so you have to write device drivers and incorporate them into the kernel which can be very dangerous ;) And BTW, Linux is probably as easy/difficult to program in asm as any other Unix system... Laurent