The class I'm taking is assembly programming. **** 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...



The class I'm taking is assembly programming.


**** 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.


File<br>Edit<br>View<br>Git<br>Project<br>Build<br>Debug<br>Test<br>Analyze<br>Tools<br>Extensions<br>Window<br>Help<br>Search (Ctrl+Q)<br>assingment 6<br>SP<br>Debug<br>х86<br>• Local Windows Debugger - & Auto<br>Solution Explorer 4<br>Irvine32.inc<br>Seanlab6.asm + x<br>1<br>INCLUDE C:/Irvine32.inc<br>2<br>.data<br>3<br>stri BYTE ------ Build started: Project: assingment 6, Configuration: Debug Win32 --- 1>Assembling Seanlab6.asm... 1>Seanlab6.asm(1): fatal error A1000: cannot open file : C:/Irvine32.inc 1>C:\Program Files (x86) \Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\masm.targets(70,5): error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"Debug\Seanlab6.obj" /W3 /errorRep 1>Done building project "assingment 6.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== "/>
Extracted text: File Edit View Git Project Build Debug Test Analyze Tools Extensions Window Help Search (Ctrl+Q) assingment 6 SP Debug х86 • Local Windows Debugger - & Auto Solution Explorer 4 Irvine32.inc Seanlab6.asm + x 1 INCLUDE C:/Irvine32.inc 2 .data 3 stri BYTE "This line is displayed in color selected by Thomas Greene",0 4. .code 6 main PROC 7 MOV ECX, 4 8 MOV EAX, green + (white*16) 9 MOV EDX, OFFSET text 10 L1: call SetTextColor ; set the color call WriteString ; display the text 11 12 13 call Crlf 14 INC EAX ; next color LOOP L1 ; repeat until ecx is not 0 call WaitMsg 15 16 17 exit 18 main ENDP 19 END main 100 % No issues found Ln: 19 Ch: Output Show output from: Build 世 Build started... 1>------ Build started: Project: assingment 6, Configuration: Debug Win32 --- 1>Assembling Seanlab6.asm... 1>Seanlab6.asm(1): fatal error A1000: cannot open file : C:/Irvine32.inc 1>C:\Program Files (x86) \Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\masm.targets(70,5): error MSB3721: The command "ml.exe /c /nologo /Zi /Fo"Debug\Seanlab6.obj" /W3 /errorRep 1>Done building project "assingment 6.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
you will use a link library procedure call to effect stdout display.<br>Write a program that displays the same string in four different colors, using a loop. Call the<br>SetTextColor procedure from the text link library. Any colors may be chosen, but you may find it<br>easiest to change the foreground color.<br>Store values into the EAX and EBX registers. Compile and run your program to validate that your<br>program sequence of statements exchanges the original register values.<br>Define a string to be displayed in the data segment that includes YOUR name.<br>Example:<br>str1 byte

Extracted text: 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
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here