Question

5. (20 points) Write a program to count the number of 1s in the 32-bit number stored at $1000-$1003 and save the result in $1005-1006.