mahaju
Full Member level 2
What is the difference between hardware and software implementation of some logic concept?
Let me elaborate my question.
Suppose we have a hypothetical microprocessor with lots of internal registers but just 3 instructions: add, subtract and shift.
So if we need to add two numbers we can just use the add instruction to do it directly.
The logic circuits built into the microprocessor for doing the adding, subtracting and shifting would be an example of hardware implementation (isn't it?)
Now if I need to multiply two numbers, I cannot do it directly since there is no multiply instruction.
So I make an elaborate sequence of add and shift instructions on the basis of schoolbook method of multiplication
Now this multiplication operation is an example of software implementation
This is the concept I have of the difference between hardware and software implementation
Please let me know if I have any problems with it
Also, let us say the microprocessor designers come up with an upgrade and now it has a mul a,b instruction, which I use to find the product
This this multiplication operation now a hardware implementation or software implementation?
Let me elaborate my question.
Suppose we have a hypothetical microprocessor with lots of internal registers but just 3 instructions: add, subtract and shift.
So if we need to add two numbers we can just use the add instruction to do it directly.
The logic circuits built into the microprocessor for doing the adding, subtracting and shifting would be an example of hardware implementation (isn't it?)
Now if I need to multiply two numbers, I cannot do it directly since there is no multiply instruction.
So I make an elaborate sequence of add and shift instructions on the basis of schoolbook method of multiplication
Now this multiplication operation is an example of software implementation
This is the concept I have of the difference between hardware and software implementation
Please let me know if I have any problems with it
Also, let us say the microprocessor designers come up with an upgrade and now it has a mul a,b instruction, which I use to find the product
This this multiplication operation now a hardware implementation or software implementation?