The program counter (PC) points to the memory address of the next instruction(s) that the processor load from the memory How does the PC value change after fetching a 32-bit instruction?
How does PC change after executing a 16-bit instruction? An arithmetic and logic unit (ALU) performs integer and logic operations.
Implement the logic of a simple ALU that performs 2-bit addition and subtraction. Assume that the operands are A1 A0 and B1 B0, and the output is C1 C0.
The operation code 0 has only one bit, which selects addition or subtraction.