Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fill.asm: This program illustrates low-level handling of the screen and keyboard devices. In particulate, the program runs an infinite loop that listens to the keyboard

image text in transcribed
Fill.asm: This program illustrates low-level handling of the screen and keyboard devices. In particulate, the program runs an infinite loop that listens to the keyboard input. When a key is pressed (any key), the program blackens the screen, i.e. writes "black" in every pixel. When no key is pressed, the program clears the screen, i.e. writes "white" in every pixel. The white must fill in backwards, starting at the end of the black section. Pressing a key continuously for long enough should result in a fully blackened screen, and not pressing any key for long enough should result in a fully cleared screen. A test script (Fill.tst) is provided in the Project 4 folder, but no compare file. The program should be checked visually by inspecting the screen of the CPU Emulator. Fill.asm: This program illustrates low-level handling of the screen and keyboard devices. In particulate, the program runs an infinite loop that listens to the keyboard input. When a key is pressed (any key), the program blackens the screen, i.e. writes "black" in every pixel. When no key is pressed, the program clears the screen, i.e. writes "white" in every pixel. The white must fill in backwards, starting at the end of the black section. Pressing a key continuously for long enough should result in a fully blackened screen, and not pressing any key for long enough should result in a fully cleared screen. A test script (Fill.tst) is provided in the Project 4 folder, but no compare file. The program should be checked visually by inspecting the screen of the CPU Emulator

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

Develop clear policy statements.

Answered: 1 week ago

Question

Draft a business plan.

Answered: 1 week ago

Question

Describe the guidelines for appropriate use of the direct plan.

Answered: 1 week ago