you will use a link library procedure call to effect stdout display. Write a program that displays the same string in four different colors, using a loop. Call the SetTextColor procedure from the text link library. Any colors may be chosen, but you may find it easiest to change the foreground color. Store values into the EAX and EBX registers. Compile and run your program to validate that your program sequence of statements exchanges the original register values. Define a string to be displayed in the data segment that includes YOUR name. Example: str1 byte "This line is displayed in color selected by Ann Napa",0
The class I'm taking is assembly
**** i am looking for someone to correct my work and show me where i went wrong. i am not looking for you to rewrite my program***I am completely stuck. I keep getting the same error! " A1000: cannot open file : Irvine32.inc " Can you please take a look at my work and tell me what I should change so I can successfully run and compile in visual studio. a fellow colleague recommended to " place the OFFSET str instruction inside of the loop body." i dont know what he ment by this. if you can please show me. I have attached the program instructions. I have also attached a screenshot of my work and the error i am getting once i comile program. Please view both attachments before answering. Thank you so much for your help! Any help is greatly appreciated.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps