Programming, Fpga, Microprocessor.
comparisons), logical AND, OR and EOR and a simple MOV. To control which action to perform, we feed bits 13 to 10 as the “operation code” into the ALU. Other inputs are the two operands op1 (Rd) and op2 (Rr) as well as the old status flags (H, S, V, N, Z, C). We need the old status flags because