ISA: Difference between revisions

From Rice Wiki
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
= Accumulator =
= Accumulator =
One operand is a register called accumulator, the other is from memory. Acc is always destination, so it is a one-address architecture.
One operand is a register called accumulator, the other is from memory. Acc is always destination, so it is a one-address architecture.
The bottleneck is Acc, which everything goes through, making it slow.
= CISC =
Complex instruction set computer has many instructions and multiple addressing modes. This makes for fewer instructions per program but complex data path.
For example, intel cores.
= RISC =
Reduced instruction set computer forbids arithmetic instructions from accessing memory. Instead, we get more registers. Only the most commonly used instructions are implemented, each instructoin taking 3 operands.
It is fast because of the common components being fast (such as decoder).
For example, ARM stands for Advanced Risc Machine

Latest revision as of 15:46, 20 May 2024


Instruction set architecture (ISA)

Stack

Zero address architecture, where operands are on stack inside CPU.

It has the downside of being slow due to DRAM being slower than SRAM.

Accumulator

One operand is a register called accumulator, the other is from memory. Acc is always destination, so it is a one-address architecture.

The bottleneck is Acc, which everything goes through, making it slow.

CISC

Complex instruction set computer has many instructions and multiple addressing modes. This makes for fewer instructions per program but complex data path.

For example, intel cores.

RISC

Reduced instruction set computer forbids arithmetic instructions from accessing memory. Instead, we get more registers. Only the most commonly used instructions are implemented, each instructoin taking 3 operands.

It is fast because of the common components being fast (such as decoder).

For example, ARM stands for Advanced Risc Machine