Programming, Fpga, Microprocessor.
an input as well. On the output side, the ALU provides the 8-bit result which may or may not be used, depending on the instruction. E.g. ADD uses it while the compare instructions CP, CPC and the branch CPSE ignore it. In addition, the new status flags (H, S, V, N, Z, C) are provided. ALU interface