(Can you translate this C++ pseuodoce to MIPS language
instruction?)
CountBits
# int count bits(int a0)
{
vo=0;
while (a0){
v0+= a0&1 > add $v0
a0 >> =1, > srav $a0,$a0,$at
}
return 0;
}