simulate this circuit – Schematic created using CircuitLab
i am starting with designing a 8bit computer and probably turn it into reality , so lets say i start with a 8bit 32kb memory and i want to store some bytes into it in a way i hypothetically know , lets say i have a byte 00010011 where 0001 is the first opcode and 0011 is the address so what should be the correct way to build the hardware that can recognize the 4bits 0001 , what i think is that inverting the 0 , 0 , 0 into 1 and passing all 4 into a 4 input and gate could be the rule of thumb for all 15 opcodes i would possibly need to be there in my 8 bit processor . So is this the correct way to do it