I am a beginner in MIPS and we're given this assignment to write a programs in MIPS to convert binary string to decimal i do some research and I found some helpful information: TO convert a binary number to decimal Let X be a binary number, n digits in length, composed of bits Xn-1 ... Xo Let D be a decimal number Let i be a counter 1. Let D = 0 2. Let i = 0 3. While i < n do: If Xi == 1 (i.e if bit i in X is 1), then set D = (D …

Member Avatar
+0 forum 0

The End.