Write a function that returns the number of 1 bits in a given 32-bit integer (also known as population count).
int popcount (int n);
Expected solution length: Around 10 lines.
.global _start _start: movia r4, 5 call popcount 1: br 1b # Done # Only your function (starting at popcount) is judged. The test code above is not executed. popcount: