In this chapter, we return to using mathematics. Addition, subtraction, and a collection of bit operations on the CPU registers have already been covered, so now, instructions for multiplication and division will be given in this chapter.
These instructions are part of the RISC-V M extension that adds integer multiplication and division to the standard base integer instructions studied so far. This means that not all RISC-V CPUs contain these instructions. If missing, they can be simulated ...