Question: Design a piece of hardware that accepts a four-bit opcode input, and produces the appropriate values of capture_C, capture_Z, and capture_N according to the table

Design a piece of hardware that accepts a four-bit opcode input, and produces the appropriate values of capture_C, capture_Z, and capture_N according to the table below. You may represent your hardware in any technically correct form (e.g. mux, decoder, equations).

Design a piece of hardware that accepts a four-bit opcode input, and

produces the appropriate values of capture_C, capture_Z, and capture_N according to the

table below. You may represent your hardware in any technically correct form

Opcode Mnemonic Affects C? Affects Z? Affects N? 0000 LD / MOV N N N 0001 EOR N Y Y 0010 AND N Y Y 0011 OR N Y Y 0100 ADD Y Y Y 0101 SUB Y Y Y Y 0110 LSR Y Y Y 0111 MUD Y Y 1000 JMP N N N 1001 BCC N N N 1010 BCS N N N 1011 BZC N N N 1100 BZS N N N 1101 BNC N N N 1110 BNS N N N 1111 Undefined. Don't care. Don't care. Don't care. alu_C 1 1 capture_CLD ! 1b 1 C 1 aluz ! 1 ! 1 ! capture_2 LD 1b 1 ! alu N capture_NLD 1b N Flags Instruction[7:4] opcode Instruction "Decoder" opcode capture_C capture_Z capture_N capture_C capture_2 capture_N Opcode Mnemonic Affects C? Affects Z? Affects N? 0000 LD / MOV N N N 0001 EOR N Y Y 0010 AND N Y Y 0011 OR N Y Y 0100 ADD Y Y Y 0101 SUB Y Y Y Y 0110 LSR Y Y Y 0111 MUD Y Y 1000 JMP N N N 1001 BCC N N N 1010 BCS N N N 1011 BZC N N N 1100 BZS N N N 1101 BNC N N N 1110 BNS N N N 1111 Undefined. Don't care. Don't care. Don't care. alu_C 1 1 capture_CLD ! 1b 1 C 1 aluz ! 1 ! 1 ! capture_2 LD 1b 1 ! alu N capture_NLD 1b N Flags Instruction[7:4] opcode Instruction "Decoder" opcode capture_C capture_Z capture_N capture_C capture_2 capture_N

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!