5 ms·
> For CISC it's normal to have small number of programmer-visible (architectural) registers You compare apples with carrots. Question is what you name CISC/RI
by simne 2y ago
> For CISC it's normal to have small number of programmer-visible (architectural) registers
You compare apples with carrots.
Question is what you name CISC/RISC. If under CISC considered early single-chip stubs like 8080 or even x86 before AMD64, this is one history, but if CISC are IBM/360,/370,/390 and DEC PDP-11 or later, this is totally other drama. Same is with RISC.
What really important, genuine CISC typically have human-friendly instruction set, and even /360 assembler is comparable to C language; many RISCs are load/store architectures, don't have rich memory addressing modes, so by definition tied to work inside registers. Also, when compare similar level of manufacture and similar timeline, will easy see, 68k series have just 8 registers, but same era RISCs have at least 16.
- Joker_vD 2y ago> You compare apples with carrots This analogy, I swear. Yes, I do, and this is an entirely reasonable comparison. Both are foodstuffs, and you can make pies out of both. But which pie would be healthier, and/or more nutritious? Now take the relative prices (or comparative difficulty of growing your own) of the ingredients into the account. > 68k series have just 8 registers Didn't they have 16?
- simne 2y ago68k claimed to be 32-bit CPU, so it have 8 32-bit registers. Compare it with 16-bit CPU is just apples vs carrots.
- Joker_vD 2y ago68000 had sixteen 32-bit registers, but no 32-bit ALUs; it used 3 16-bit ALUs instead. This has been rectified in 68020 which had fully 32-bit ALU. And Western Electric 32000, a CISC processor from the same period, also had 16 32-bit registers.
- simne 2y ago> 68000 had sixteen 32-bit registers It is your own opinion. Wikipedia have other definition.
- Joker_vD 2y ago> Address storage and computation uses 32 bits internally; however, the 8 high-order address bits are ignored due to the physical lack of device pins. > The CPU has eight 32-bit general-purpose data registers (D0-D7), and eight address registers (A0-A7). And to the best of my knowledge, moving data from a data register to an address register and back did not destroy the top 8 bits.
- simne 2y ago> moving data from a data register to an address register and back did not destroy the top 8 bits Yes, you could use address registers for data storage, but you cannot make general computations on them, and because of this wiki definition don't account address registers in list of general purpose registers.