0

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 ?

4

1 回答 1

0

我认为他们的观点是,您也可以给 CISC 一个内存位置作为参数。

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

和 m16 .. m64 变体。

于 2021-05-27T10:49:47.843 回答