EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

8 bits ALU

@Niick19
2 years ago
https://everycircuit.com/circuit/5171146722639872
Arithmetic Logic Unit (WARNING: INSANE LAG!) - 8 bits Accumulator - 2 inputs: AC, A - 7 instructions. The first two rows of bits are respectively A and the operation code. Opcodes: NOP xx00 0000 ;No Operation ADD xx00 0001 ;AC + A SUB xx00 0010 ;AC - A AND xx00 0100 ;AC AND A OR xx00 1000 ;AC OR A NOT xx01 0000 ;NOT AC LDA xx10 0000 ;Load A to accumulator Warning: some instructions could fail due to clock time. You may want to use a manual logic source to control the time that you want to set the accumulator Unfortunately, this circuit cause too much lag. Due to my inexperience, this is the best that I could do. I'm open to any suggestions. Any operational doubt ou technical questions, just chat here (I'll try my best to help).
Comments
Post