Question: Assembly Program Using Visual Studio C++. The problem Part B at the bottom. Thanks Download the program in section 3.2 from: Open the kipirvine link
Assembly Program Using Visual Studio C++. The problem Part B at the bottom. Thanks
Download the program in section 3.2 from: Open the kipirvine link below to download a zip file containing a 32-bit Visual Studio 2015 project
http://kipirvine.com/asm/gettingStartedVS2015/Project32_VS2015.zip
Do the following steps, in order:
Start Visual Studio.
To begin, open our sample Visual Studio project file by selecting File/Open/Project from the Visual Studio menu.
Navigate to your working folder where you unzipped our project file, and select the file named Project.sln.
Once the project has been opened, you will see the project name in the Solution Explorer window.
You should also see an assembly language source file in the project named AddTwo.asm
Double-click the file name to open it in the editor.
3. You should see the AddTwo assembly program in the editor window
4. Delete the two instruction there and then add your code in there:
| .386 .model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .code main proc ;add your code here invoke ExitProcess,0 main endp |
5. After you added your code, select Build Project (this will assemble and link your program) from the Build menu. Make sure there are no errors and the project was built successfully

B. (5 points) Implement the following expression in assembly language: EAX val2 7 val3 vall Assume that vall, val2, and val3 are 16-bit integer variables o Submit the following: Lastname 2 asm Note: You are only allowed to use 32-bit registers to hold immediate results, whenever needed You may use movzx or movzx. The neg instruction is not allowed Use the debugger to verify your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
