Skip to main content

Simulating the Project

  • Use the interactive menu to change the input values (x, y) and observe the outputs.

    • Addition: zx=0, nx=0, zy=0, ny=0, f=1, no=0.

    • Subtraction: zx=0, nx=0, zy=0, ny=1, f=1, no=0 (this configuration inverts the value of y before addition).

    • AND: zx=0, nx=0, zy=0, ny=0, f=0, no=0.

    • OR: zx=0, nx=0, zy=0, ny=0, f=0, no=1 (this configuration inverts the result of an AND to achieve OR).