I maded a massive 16-bit ALU that has 14 operations includes multiplication. But i will make a v2 of it. v2 will have 16 operations (division and mod). Maybe I will make a CPU for it and CPU will be maybe includes loop's, while's and for's. This is a photo of it and operation set:
- HEX: 0x0, BIN: 0000, ADD: A+B- HEX: 0x1, BIN: 0001, SUB: A-B
- HEX: 0x2, BIN: 0010, AND: A AND B
- HEX: 0x3, BIN: 0011, OR: A OR B
- HEX: 0x4, BIN: 0100, XOR: A XOR B
- HEX: 0x5, BIN: 0101, NOT: !A
- HEX: 0x6, BIN: 0110, SHL: A<<1
- HEX: 0x7, BIN: 0111, SHR: A>>1
- HEX: 0x8, BIN: 1000, MUL: A*B
- HEX: 0x9, BIN: 1001, DIV: A/B (will be added in v2)
- HEX: 0xA, BIN: 1010, NEG: -B (Because of SUB it's not for A, it's for B)
- HEX: 0xB, BIN: 1011, MOD: A%B (will be added in v2)
- HEX: 0xC, BIN: 1100, EQ: A==B
- HEX: 0xD, BIN: 1101, NEQ: A!=B
- HEX: 0xE, BIN: 1110, GT: A>B
- HEX: 0xF, BIN: 1111, LT: A<B
