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 speced, 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.)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

CAN U SOLVE THIS PROBLEM WITH 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
Transcribed Image Text: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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intelligent Machines
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education