Question: (Requires reading ahead to Section 11.1.11.) Create a macro that writes a null-terminated string to the console with a given text color. The macro parameters
(Requires reading ahead to Section 11.1.11.) Create a macro that writes a null-terminated string to the console with a given text color. The macro parameters should include the string name and the color. Hint: Call SetTextColor from the book’s link library. Write a program that tests your macro with several strings in different colors. Sample call:
.data myString db "Here is my string",0
.code mWritestring myString, white
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
