I am trying to add binary numbers in MIPS I need to add 1111

I am trying to add binary numbers in MIPS. I need to add 1111000 + 11110101 and produce a binary number in MIPS. I keep getting 22220101.

Solution

Result is : 101101101

Num Digits: 7.0 + 8.0 = 9.0

References

The binary system is a numerical system that uses only two symbols, 0 and 1. Due to its ease of implementation in digital electronic circuitry using logic gates, all modern computers use the binary system internally.

The following are some typical conversions between binary values and decimal values.

Binary Addition
The addition of binaries is similar to the decimal system. The only different is to carry over when the result is 2.

For example:

I am trying to add binary numbers in MIPS. I need to add 1111000 + 11110101 and produce a binary number in MIPS. I keep getting 22220101.SolutionResult is : 101

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site