sv.bc/all 16, *0, -0x28 # reduce CTR by VL and stop if -ve
```
-Array popcount is just standard popcount function
-([[!wikipedia Hamming weight]]) on an array of values, horizontally,
-however positional popcount is different (vertical)
-
-
-
-Positional popcount adds up the totals of each bit set to 1 in each
-bit-position, of an array of input values.
<img src="/openpower/sv/cookbook/ArrayPopcnt.drawio.svg"
<img src="/openpower/sv/cookbook/PositionalPopcnt.drawio.svg"
alt="pospopcnt" width="60%" />
+
+
+Array popcount is just standard popcount function
+([[!wikipedia Hamming weight]]) on an array of values, horizontally,
+however positional popcount is different (vertical). Refer to Fig.1
+
+
+
+Positional popcount adds up the totals of each bit set to 1 in each
+bit-position, of an array of input values. Refer to Fig.2
+
<br />
+# Visual representation of the pospopcount algorithm
+
<img src="/openpower/sv/cookbook/BlockDivision.drawio.svg"
alt="pospopcnt" width="70%" />
alt="pospopcnt" width="100%" />
-# Visual representation of the pospopcount algorithm
# Walkthrough of the assembler