10-23-2016, 06:29 PM
(10-23-2016, 05:06 PM)LambdaPI Wrote: Can you modify your alu so it is able to do most of the logic gates like and, ir, etx
I could, but that would require more than a 2 bit op code. My idea is that if you wanted to perform those functions you could use the comparator and the NOT A functions.
For example, a NAND gate would be A=B, move result to A, NOTA. And OR could be it accepting any comparator output, but you would have to monitor the normal output.
But if that is required, I would add those functions, it will become slower, though.