The program counts the number of 1’s in the number stored in location WRD. Since WRD = (62C1)16 = (0110 0010 1100 0001)2 number of 1’s is 6; so CTR will have (0006)16
The program counts the number of 1’s in the number stored in location WRD.Since WRD = (62C1)16 = (0110 0010 1100 0001)2number of 1’s is 6; so CTR will have (0006)16