1/28
Vocabulary flashcards covering bit-level and pattern-level logic operations, adder circuit architectures, two's complement integer arithmetic, floating-point arithmetic procedures, and shift operations.
Unary Operator
A logic operator that accepts only one binary bit as input and produces one bit of result, such as the NOT operator.
Binary Operator
A logic operator that accepts exactly two binary bit inputs to produce one bit of result, such as AND, OR, XOR, NAND, NOR, and XNOR.
NOT Operator
A unary logic operator whose output bit is the complement of the input, flipping 0 to 1 and 1 to 0.
AND Operator
A binary operator that produces an output bit of 1 if both inputs are 1s, and 0 in all other cases; if any input is 0, the result is immediately 0.
OR Operator
A binary operator (also called inclusive-or) that produces an output bit of 0 if both inputs are 0s, and 1 if either or both inputs are 1s.
XOR Operator
A binary operator (pronounced 'exclusive-or') that outputs 0 when both inputs are identical and 1 when the inputs are different; it can selectively invert bits.
XNOR Operator
A binary operator that acts as the reverse (NOT) of XOR, producing an output of 0 if and only if both bits are not equal, and 1 if both bits are equal.
NAND Operator
A logic operator that applies AND to its input bits and inverts the output with NOT; the result is 0 if and only if both input bits are 1, and 1 otherwise.
NOR Operator
A logic operator that applies OR to its input bits and inverts the output with NOT; the result is 0 if either input bit is 1, and 1 if both are 0.
Mask
A secondary bit pattern applied in bitwise logic operations to selectively unset, set, or flip specific target bits within an input pattern.
Unsetting Specific Bits
An application of the AND operator using a mask, where mask 0-bits force corresponding input bits to 0 and mask 1-bits leave input bits unchanged.
Setting Specific Bits
An application of the OR operator using a mask, where mask 1-bits force corresponding input bits to 1 and mask 0-bits leave input bits unchanged.
Flipping Specific Bits
An application of the XOR operator using a mask, where mask 1-bits invert (complement) corresponding input bits and mask 0-bits leave them unchanged.
Half Adder
A basic 1-bit addition circuit that takes two 1-bit inputs (A and B) and produces two outputs (Sum=A⊕B and Carry=A⋅B), only suitable for the least significant bit because it lacks a carry-in input.
Full Adder
A complete 1-bit addition circuit accepting three inputs (A, B, and carry-in Cin) and producing two outputs (Sum=A⊕B⊕Cin and Cout=A⋅B+(A⊕B)⋅Cin), constructed from two half adders and an OR gate.
Ripple Carry Adder
A multi-bit adder formed by chaining n full adders together, where the carry-out (Cout) of each lower bit connects directly to the carry-in (Cin) of the subsequent higher bit.

Two's Complement Subtraction
The process of computing A−B in modern computers by taking the two's complement of the second number and adding it to the first (A+(Bˉ+1)), discarding any carry produced past the allocated bit length.
Arithmetic Overflow
A condition occurring when an arithmetic calculation produces a result outside the representable storage range for an allocated N-bit allocation (−2N−1≤x≤2N−1−1).
Positive Overflow
An overflow condition in signed integer arithmetic that occurs when a calculated result exceeds the maximum representable value (2N−1−1).
Negative Overflow
An overflow condition in signed integer arithmetic that occurs when a calculated result is strictly less than the minimum representable value (−2N−1).
Denormalization
The floating-point arithmetic preparation step of restoring the implicit hidden 1 back into the mantissa and incrementing the exponent.
Exponent Alignment
The procedure in floating-point addition and subtraction where the smaller exponent is incremented and its mantissa is shifted to the right until both operands have matching exponents.
Underflow Gap
The numerical interval between −fminN and fminN, representing magnitudes smaller than the minimum positive number that a computer system can represent.

Flush-to-Zero Underflow
An underflow handling method in earlier computer designs where any arithmetic result falling inside the underflow gap interval (−fminN,fminN) is automatically set to zero.
Logical Shift Operation
A bit shifting operation applied to bit patterns that do not represent signed numbers, divided into simple shifts and circular shifts.
Simple Shift
A logical shift operation where bits shift one position left or right, the bit exiting the boundary is discarded, and a 0 fills the vacated bit position at the opposite end.
Circular Shift (Rotate Operation)
A logical shift operation where bits move one position left or right without loss; the bit shifted out of one end wraps around to fill the vacated bit position at the other end.
Arithmetic Right-Shift Operation
A shift operation on two's complement integers that moves every bit one position to the right, discarding the rightmost bit while preserving and replicating the leftmost sign bit, effectively dividing by 2.
Arithmetic Left-Shift Operation
A shift operation on two's complement integers that moves every bit one position to the left, discarding the MSB and filling the rightmost bit with 0, effectively multiplying by 2 when no overflow occurs.