Question: Implement your FSM from question 1 in LC-3 assembly language, using an interrupt handler of your own design to read the control panel input and
Implement your FSM from question 1 in LC-3 assembly language, using an interrupt handler of your own design to read the control panel input and manage the FSM state. That is, the current state and transitions to the next state will all be handled within the interrupt handler.
Since the only input device available is the keyboard, and there is no hardware timer device in our LC-3 simulator, use the following keyboard equivalents:
a: time UP
z: time DOWN
s: START
x: CANCEL
(spacebar): COUNTdown timer
Since the main program doesn't have other work to do (there's no microwave), it should just busy-loop, printing the display value for the current state repeatedly.
You may hard-code your states or use a transition table. Describe your approach in the comments at the beginning of your solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
