for subtraction takes 2's complement and add it ....it is very simple....After convertin to all addition and computation therecan be overflow....u can neglect it ...
answer is 0001100......
hello
In multiplication the the number of bits in the product = the number of bits in the multiplier + the number of bits in the multiplicand.
in this case 4+4=8-bit product, so, the result of the above operation will be
1000 1100 which is not correct, the question is how to obtain the correct answer which is: 0000 1100??
note: the operations above represent the booth's algorithm that multiplying 2 by 6 each represented by 4 bits.
Regards
Hello
Multiplication in MIPS hardware done by several additions in the case of unsigned integers, and as several additions and subtractions in the case of signed numbers. Now, Booth's algorithm is a signed number multiplication algorithm, and my question is right about addition and subtraction but it is really a multiplication.
Regards