To RISC or not to RISC



Hi!

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. 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...

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 :) 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.

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.

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? ;)

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

.



Relevant Pages

  • Re: To RISC or not to RISC
    ... Me thinks RISC based processor is boring to program in assembly. ... fixed-length instructions, really intended to program in HLL. ... The only processor with a vast set of register that I know is a VLIW, ... I don't get that 'assembly' feeling when I'm coding for example ARM. ...
    (alt.lang.asm)
  • Re: IBM 45nm -- new or licensed from Intel?
    ... However this increases power consumption for all fetches, ... all instructions). ... I had the impression that 2-way for a RISC was 1 general integer FU ... x86compilers for lower-end, embedded systems?) ...
    (comp.arch)
  • Re: PIC vs ARM assembler (no flamewar please)
    ... The whole point of RISC is to be able to make a more efficient implementation - it is an architectural design philosophy aimed at making small and fast implementations. ... Thus the 68k is far from typical CISC, and is much more in the middle. ... The 68k can handle both operands of an ALU instruction in memory, ... Another example of the simplifications is that the CF no longer supports byte or word sizes for most operations - about the only instructions that support sizes other than the native 32 bits are MOVEs. ...
    (comp.arch.embedded)
  • Re: PIC vs ARM assembler (no flamewar please)
    ... RISC features (such as 16 registers - a lot for its size). ... The 68k can handle both operands of an ALU instruction in memory, ... instructions that support sizes other than the native 32 bits are MOVEs. ...
    (comp.arch.embedded)
  • Re: Is microprocessor an integrated circuit???
    ... >> PLEASE show an example of a microprocessor that doesnt use microcode ... it depends whether the microprocessor is RISC or CISC: ... instructions in that machine were the MMRB (Move Memory to Register ...
    (sci.electronics.design)