You are to write a gate level simulator for a simple 4bit ALU with the following operations

Showing the single result

Showing the single result