i32.popcnt

Pops an

`i32`

value off the stack, counts the number of bits that have the value 1, and then
pushes the result back on to the stack. This is the number of 1 bits in the value (0b01100100 has a population count of 3).
```
i32.popcnt
```

i32 | The value to workout the population count for. |

i32 | The number of bits that are set to 1 in the value. |

;; Push the i32 value 0b01101011 (107) onto the stack i32.const 107 ;; Pop the i32 value off the stack, count the number of bits that are 1 ;; and push the result back onto the stack i32.popcnt ;; The stack contains an i32 value of 5