Converter 8-to-1

Classification Images
Name:
Converter 8-to-1

Symbol:
b2B
Appearance:  

Appearance.
Group:
Converters

CannyLab version:
from 0.6b
Icon:

Icon.
Inputs
Input Value
Bit 0…Bit 7: Logical
Outputs
Output Value
Output: Integer

General description

Sets bits of output value in the binary representation in accordance with respective input values.

Features

The block can be used as a multi-channel «Logical OR» (see [TnT: ] T-n-T: Polyadic «Logical OR») or as a multichannel «Logical AND» (see T-n-T: Polyadic «Logical AND»).

Examples

Binary 0b00011001 = 25 decimal:

Example. Binary 0b00011001 = 25 decimal

SEE ALSO