A program will be written in assembly language for a fan. The desired features of the fan are as follows: The fan should be able to turn on and off at any time according to the information coming from the serial port. For example; When the 'A' character is received, the fan can be turned on and when 'K' is received, it can be turned off. The fan should be set to default values when a shutdown request is made. (Note: Use interrupt for serial port.) When the fan operates, the fan should rotate at a default speed, and the speed of the fan should be adjusted with a button that can change the speed in 3 stages (For example: 1st stage can be adjusted at 30% speed, 2nd stage at 60% speed, and 3rd stage at 90% speed.) Timer setting is also provided by a button and each press of the button must start the countdown timer in 30 minute increments and the fan must be turned off when the timer resets. (It can be set to a maximum of 120 minutes and if the button is pressed again while the time-set is at 120 minutes, the timer should be cancelled.) Write the required assembly code by adding your comments to the important places and test the code you wrote in proteus
A program will be written in assembly language for a fan. The desired features of the fan are as follows:
The fan should be able to turn on and off at any time according to the information coming from the serial
port. For example; When the 'A' character is received, the fan can be turned on and when 'K' is received, it
can be turned off. The fan should be set to default values when a shutdown request is made. (Note: Use
interrupt for serial port.)
When the fan operates, the fan should rotate at a default speed, and the speed of the fan should be adjusted
with a button that can change the speed in 3 stages (For example: 1st stage can be adjusted at 30% speed,
2nd stage at 60% speed, and 3rd stage at 90% speed.)
Timer setting is also provided by a button and each press of the button must start the countdown timer in 30
minute increments and the fan must be turned off when the timer resets. (It can be set to a maximum of 120
minutes and if the button is pressed again while the time-set is at 120 minutes, the timer should be cancelled.)
Write the required assembly code by adding your comments to the important places and test the code you wrote in
proteus
![A program will be written in assembly language for a fan. The desired features of the fan are as follows:
The fan should be able to turn on and off at any time according to the information coming from the serial
port. For example; When the 'A' character is received, the fan can be turned on and when 'K' is received, it
can be turned off. The fan should be set to default values when a shutdown request is made. (Note: Use
interrupt for serial port.)
When the fan operates, the fan should rotate at a default speed, and the speed of the fan should be adjusted
with a button that can change the speed in 3 stages (For example: Ist stage can be adjusted at 30% speed,
2nd stage at 60% speed, and 3rd stage at 90% speed.)
• Timer setting is also provided by a button and each press of the button must start the countdown timer in 30
minute increments and the fan must be turned off when the timer resets. (It can be set to a maximum of 120
minutes and if the button is pressed again while the time-set is at 120 minutes, the timer should be cancelled.)
Write the required assembly code by adding your comments to the important places and test the code you wrote in
proteus](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6b7652e6-8944-4f40-9143-f13da2ddcdac%2Ff6fff94a-4f71-469c-8cf6-481e956cc20e%2Fuk3erbr_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)