Write an Assembly program (.asm file) that shall be executed as Terminate and St
ID: 3626584 • Letter: W
Question
Write an Assembly program (.asm file) that shall be executed as Terminate and Stay Resident (TSR) program and performs the following operations.• Clears the whole screen when executed for the first time and DOS prompt shall be returned back to User immediately as TSR does.
• The user can type any command but on pressing the key g, the whole background color of DOS screen shall change to “GREEN”.
• Similarly when the user presses the key b, the whole background color of DOS screen shall change to “BLUE”.
Explanation / Answer
You can check which key is pressed with the help of keyboard interrupt and change the background color accordingly.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.