Level/Byte OR

From Turing Complete
Revision as of 01:09, 14 August 2024 by AtrociousAmbition (talk | contribs) (Put together an initial article draft. Feel free to cannibalize the writing here to improve its wording if desired.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In the Byte OR level, your objective is to construct a circuit that can OR together two byte values.

To complete this level, you will need eight OR components, as well as two Byte Splitters and one Byte Maker. Bitwise logical operations involve separating each byte into its constituent 8 bits, performing the logical one-bit operation for each bit pair between the bit pairs between the bytes, and recombining the final result for each bit.

First, you will want to connect each byte input up to their own byte splitters, so you can start working with each byte as eight discrete bits. To perform the bitwise OR operation, hook each Specifically, the first OR component should OR together the first bit of each byte, the second should OR together the second bit of each byte, the third for the third bit of each byte, and so on for all 8 bit pairs. Finally, link the output of each connected OR gate up to the corresponding bit in the Byte Maker component and link the Byte Maker's output to the level's output.