Hello!


I need to implement a set greater than and a branch less or equal in my 16 bit ALU design,but I'm having many difficulties.
I know that in a set greater than a>b equals a-b>0 ,but I don't know how to work out from that and implement it in my design(which type of gates to use and that).
The same happens with branch less or equal.I already have a branch equal,but I don't know how to use it in order to get a ble.
Any help is really appreciated!

Typically you run the calculation through the ALU and then examine the overflow and carry flags in your branch logic.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.