Population Count Bytes (POPCNTB)

Instruction Syntax

Bound Program Access
Built-in number for POPCNTB is 707.
POPCNTB (                                                                       
           source : unsigned binary(8)                                             
) : unsigned binary(8) /* result */                                                

Description:

Counts the number of bits set to a value of binary one in each byte of the source operand and places that count into the corresponding byte of result. The count value for each byte ranges from 0 to 8, inclusive.

Authorization Required

  • None

Lock Enforcement

  • None

Exceptions

  • None