Question: Just answer question b. Show the program code of IDE 68K or easy68K code. This use assembly languange. An operation room in a chemical process

 Just answer question b. Show the program code of IDE 68K

Just answer question b. Show the program code of IDE 68K or easy68K code. This use assembly languange.

An operation room in a chemical process plant can be entered only 20 workers for security purposes. Thus, a smart system is needed to monitor worker going in and out, automatically. As an engineer at the factory, you are required to design a system using MC680000 that will turn Red LED ON if the number of worker in the room equal to 20 persons while turn Green LED ON if less than 20 persons. The system uses a sensor as its input to detect worker going in and out. The Table Q5 shows the address of each input and output devices for the system. Start your main program at address $1000. Table Q5: Address and bit location for devices used in the system Device Active Address Sensor LOW $B000 (if worker going in) Sensor HIGH $B000 (if worker going out) Red LED LOW $C001 Green LED HIGH $C001 a) Sketch the flowchart of the program (10 marks) b) Design the program code for the above system

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!