CISC mul vs RISC mul instruction

429 views Asked by At

I'm trying to understand the difference between CISC and RISC architecture. I read this to understand the difference between CISC and RISC arhictecture but I'm confused.

There is a sentence in the article like that

MULT is what is known as a "complex instruction." It operates directly on the computer's memory banks and does not require the programmer to explicitly call any loading or storing functions

after that explanation, I examined MUL operations in RISC and CISC.

In CISC x86 architecture;

  mov ax, 5
  mov cx, 10
  mul cx

the result is stored in dx, ax registers.

In RISC PowerPC arhictecure;

li r0, 5
li r1, 10
mul r2, r1, r0

According to mul instruction explanation, the result is stored r2 and mq registers.

The instructions are same for two architectures in perspective of programmers. They are using same methodology for multiplying. How come we say one is RISC other is CISC ?

1

There are 1 answers

1
AudioBubble On

I think their point is that you can also give the CISC one a memory location as an argument.

See: https://www.felixcloutier.com/x86/mul

and the m16 .. m64 variants.