Question: 2. Make a three-input AND gate: Write the code to make PORT A bits 02 all inputs and PORT B bit 1 an output, then
2. Make a three-input AND gate: Write the code to make PORT A bits 02 all inputs and PORT B bit 1 an output, then add the code to set PORT B bit 1 if bits 0 AND 1 AND 2 of PORT A are all set, and clear the bit otherwise. Dont forget to include the appropriate ORG statement, and loop your code so that it repeatedly tests the inputs.
3. Repeat problem 2 for a 3-input NOR gate.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
