In different assembler languages, MUL (x86) / MULT (mips) refers to multiplication. This is a black box for the programmer. I am interested in how the CPU actually performs reproduction regardless of architecture. Suppose I have two 16-bit values ββin my registers and I am a processor, so I need to implement MUL using other instructions for the bit scripts that I have (and, or, xor, not, shl, shr and etc.). What should I do?
assembly cpu boolean low-level digital-logic
George
source share