# Greater than or equal to operation (32-bit ALU)

I'm trying to construct a greater than or equal to operation by adding some logic gates or building blocks (i.e. multiplexor and decoder) to my current 32-bit ALU

I'm not quite sure how to do this and nothing on google comes up for this operation from what I could tell.

ALU Design:

Question: How do I add a greater than or equal to operation to the current ALU? Also can you explain the changes you make so I can understand what's going on, thank you!

• Sorry but "please design a circuit for me" is essentially the same question as "please write a program for me" and such questions are off-topic, here. Probably, you want to use $x\geq y \Leftrightarrow x-y\geq 0$. – David Richerby Oct 10 '17 at 8:45