Re: To RISC or not to RISC



KJH wrote:

Me thinks RISC based processor is boring to program in assembly. I
might be wrong, but I have the impression that more and more modern
CPU's are being designed as RISC.

From which "more and more moderns CPU's" are you speaking. It's
easy to design a "better" processor architecture than the X86,
but it seems to be impossible to replace the X86. Even Intel
wasn't successful with it's 64 bit processor.


Relatively small set of instructions,
fixed-length instructions, really intended to program in HLL. Vast set
of registers to use, with usually funny names like R0 - R20 etc...

I would call AL,AH,AX,EAX,BL,... funny (or better idiotic) names.
The only logical names for registers are r0,r1,r2,...
You really should thank AMD, that at least the new registers
in the x64 architecture got proper names.


In contrast, x86 has few registers, and you can even halve those regs
into high and lo part and xchg those if it makes sense :)

"If" it makes sense, but it doesn't make sense.


You got all
these special opcodes to do tiny little things, and you can really play
with the code... Focus on to details. That's what I like.

It would be much better if you could focus on the essentials and
hadn't to mess around with the left over from the 8080.


I don't get that 'assembly' feeling when I'm coding for example ARM.
It's not bad, but it doesn't give me the kick. Too little instructions
to choose :( I'm afraid that pure assembly coding is getting in the
future in position where it just isn't practical to do (if it is even
nowadays), but I don't want to code in C or it's nephews. Not much
anyway. I want to fiddle bits, and make ultratight loops, even if it
takes a little bit longer to code in low-level.

And you don't get that "car" feeling when driving a modern car. It's
not bad, but the real kick you get only with a 50 year old car
driving off road.


What do people here think about? How many will admit that they enjoy
pure ASM coding? It seems sometimes like it's almost criminal to enjoy
programming in assembly, but what can you do when you have seen the
light? ;)

If you are driving just for fun, you can use a 50 year old car.
But if you want to drive fast and save from one point to an other
point, then better use a modern car and use the highway. If you
do programming just for fun, there is nothing wrong to use assembler
(but then use a real assembler and not one of this modern ones with
all the HL junk). But if the goal is to get a working program in a
short time, then forget about assembler and use a HLL.


Besides asm is still the mother of all machine languages (not counting
binary)...

Why? Try micro programming or code your algorithm directly in
hardware (no problem with modern FPGA's).
.



Relevant Pages

  • Re: Programmers unpaid overtime.
    ... >> from RH about programming in this newsgroup). ... >> of the C language). ... done in assembler is done in assembler ... ... what car are you driving right now? ...
    (comp.programming)
  • Re: Getting wealthier?
    ... Why is it a necessity to have a car in central London. ... makes my life a misery? ... Most people today eat in the modern equivalent of Berni Inns or worse - ... Washing machines were perfectly serviceable in the mid fifties. ...
    (uk.politics.misc)
  • Re: Getting wealthier?
    ... is possible to feel the lack of a TV, without the deprivation being ... Why is it a necessity to have a car in central London. ... It is still the case that a modern washing machine is much ...
    (uk.politics.misc)
  • Re: Question on Show from the late 50s or early 60s
    ... sixth episode of the second season. ... I believe the Housing Commissioner was ... It was also very much a parady of modern high rise construction. ... the South Bronx (where Car 54 was set) was being cleared out so Robert ...
    (rec.arts.tv)
  • Re: A solution to low BO for Grindhouse
    ... theater with a modern audience, so what the hell) it would be nice to ... Misfired execution execution is a fair description for Grindhouse. ... test drive his car. ...
    (rec.arts.movies.current-films)