'why is my assembly program (changing background color with keyboard) not working [duplicate]

I am writing a program in assembly that changes the background color from clicks on the keyboard but I can't seem to make it work, anyone knows how to do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source