Choose the most appropriate answers for the following multiple choice problems. Each question may have more than one answer. 10 points each, no partial point, no penalty.
For the finite state machine implementation of a multi-cycle non-pipelined processor, which of the following is (are) true when the processor encounters an undefined instruction?
(a) The undefined instruction is detected in the fetch cycle.
(b) The undefined instruction is detected in the decode cycle.
(c) The undefined instruction is executed as normal, but the result is discarded.
(d) The undefined instruction causes an internal processor trap.
(e) The undefined instruction is re-executed again.