Exercise 1
Install the free Visual Studio Community edition, available at https://visualstudio.microsoft.com/vs/community/, on a Windows PC. After installation is complete, open the Visual Studio IDE and select Get Tools and Features… under the Tools
menu. Install the Desktop development with C++ workload.
In the Windows search box in the taskbar, begin typing x86 Native Tools Command Prompt for VS 2019
. When the app appears in the search menu, select it to open command prompt.
Create a file named hello_x86.asm
with the content shown in the source listing in the x86 assembly language section of this chapter.
Build the program using the command shown in the The x86 assembly language section of this chapter and run it. Verify the output Hello, Computer Architect! appears on the screen.