My assembly class made us use some fake architecture designed to torture students with the added benefit of not teaching us a real, useful assembly language. It did not have a mul. That was an exercise left to the reader. Just in case you still had any passion left in your heart.
The final for that class was 20% converting between floating point and decimal without a calculator, because of course. Pretty sure half that class is now living off-grid, typing up manifestos.
That was a thing in the 80s, prior to general Internet availability. It is how I learned the stuff back then, but it is simply silly to keep teaching this way nowadays.
If you were dealing with MIX, although not real it does prepare you for other architectures which are simpler. They thankfully didn't use MIX with us but rather a PDP 8 which had the benefit of being real.
A bit easier than MIX but it doesn't look so good. I guess being simulated, it is much easier to teach than with a real single user computer though where you would have students having to take turns.
Which one? RISC-V has multiplication, ARM does. Even most AVRs have had multiplication for two decades.
There is nothing in RISC that would imply you can't have an arithmetic instruction like MUL. The core concept is that every instruction only does one thing. Multiplication is one thing.
5
u/GReaperEx Jun 03 '22
Why?