Okay what does IMplies do? I never learned that gate
You haven't learned these gates, because they are a bit more obscure, but are included in the 16 elementary Boolean functions. Implies is a bit harder to explain the detail, but you just invert input a of an AND gate for Implies A, and invert input B for Implies B.
IMO there is only really 8 basic functions that are truly useful for general purpose ALUs in computers:
XOR
AND
OR
NOT
ADD
SUB
SHL
SHR
It keeps it at 2^3 instructions which is pretty and I've rarely had a time where XNOR and NAND are valuable functions. Perhaps for very specific purposes. With these 8 instructions you can create any function possible. If you have room for 16 functions then go for it though! It wouldn't hurt but add w/carry and subtract w/borrow are useful functions. But implies functions are pretty worthless besides for maybe masking which can be done just as efficiently with AND. But shifting functions are extremely useful and should be part of any ALU. Even if it's just an accumulator by one bit.
IMO there is only really 8 basic functions that are truly useful for general purpose ALUs in computers:
XOR
AND
OR
NOT
ADD
SUB
SHL
SHR
It keeps it at 2^3 instructions which is pretty and I've rarely had a time where XNOR and NAND are valuable functions. Perhaps for very specific purposes. With these 8 instructions you can create any function possible. If you have room for 16 functions then go for it though! It wouldn't hurt but add w/carry and subtract w/borrow are useful functions. But implies functions are pretty worthless besides for maybe masking which can be done just as efficiently with AND. But shifting functions are extremely useful and should be part of any ALU. Even if it's just an accumulator by one bit.
If you're actually making a complex program the obscure ones start to become essential.
I will be making a new version with subtraction, return a/b and return not a/b
There is also Implies A, Implies B, True, False, OR, NOR, Not Implies A, Not Implies B(NImplies).
Lol I know what you mean, how do the nimplies work? and the true false?