ROC X, 4 X, green + (white 16) x, OFFSET text et TextColor ; set the color ritestring ; display the text rlf X; next color 1; repeat until ecx is not e aitMsg NDP in
ROC X, 4 X, green + (white 16) x, OFFSET text et TextColor ; set the color ritestring ; display the text rlf X; next color 1; repeat until ecx is not e aitMsg NDP in
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
![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 ==========](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdf6c1f59-71e0-4238-a13c-2c3a2ea65801%2Fa074790c-fbe8-4f2b-b788-a004d298f2d4%2Fu8z27c_processed.jpeg&w=3840&q=75)
Transcribed Image 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.
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdf6c1f59-71e0-4238-a13c-2c3a2ea65801%2Fa074790c-fbe8-4f2b-b788-a004d298f2d4%2Fuyzk54_processed.jpeg&w=3840&q=75)
Transcribed Image 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
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY