I wanna someone fix my code use the inline assembler capability in a Visual Studio c++ program.

profileAbdull2004
assign_01_Arithmatics_Unsigned_C_Inline.zip

Instructions.txt

COSC 2325 This asssignement will use the inline assembler capability in a Visual Studio c++ program. Use the associated uploaded main.cpp file to execute the assignment. We will demonstrate in class how to put the template.cpp file in a visual studio solution. In the c++ main program, put inside the assembler inline code block denoted by the _asm directives: Write assembler code that efficiently executes the designated operations that are described in the comments for each section. DO NOT MODIFY THE C++ THAT GETS SUBMIITED FOR ANY ASSIGNMENTS THAT USE C++ main.cpp PROGRAM TEMPLATES.

main.cpp

main.cpp

// ArithmaticsSol.cpp : Defines the entry point for the console application.

#include   "stdafx.h"

#include   < iostream >
#include   < cstdint >

using   namespace  std ;

int  main ()   {

    uint32_t  i_uint32 ,  j_uint32 ,  result_uint32 ;
     int32_t  i__int32 ,  j__int32 ,  result__int32 ;

     do   {
        cout  <<  endl  <<  endl ;
        cout  <<   "Input an integer i_uint32 >= 0 : " ;  cin  >>  i_uint32 ;
        cout  <<   "Input an integer j_uint32 >= 0 : " ;  cin  >>  j_uint32 ;

        _asm  {
             ;  i_uint32  +  j_uint32 into result_uint32


         }

        cout  <<  endl  <<   "i_uint32 + j_uint32  = "   <<  result_uint32  <<  endl  <<  endl ;

         //---------------

        cout  <<   "Input an integer i_uint32  < 0 : " ;  cin  >>  i_uint32 ;
        cout  <<   "Input an integer j_uint32  < 0 : " ;  cin  >>  j_uint32 ;

        _asm  {
             ;  i_uint32  +  j_uint32 into result_uint32


         }

        cout  <<  endl  <<   "i_uint32 + j_uint32  = "   <<  result_uint32  <<  endl  <<  endl ;

         //---------------

        cout  <<   "Input an integer i__int32 : " ;  cin  >>  i__int32 ;
        cout  <<   "Input an integer j__int32 : " ;  cin  >>  j__int32 ;

        _asm  {
             ;  i__int32  +  j__int32 into result__int32


         }

        cout  <<  endl  <<   "i__int32 + j__int32 = "   <<  result__int32  <<  endl  <<  endl ;

         //---------------

        cout  <<   "Input an integer i__int32 : " ;  cin  >>  i__int32 ;
        cout  <<   "Input an integer j__int32 : " ;  cin  >>  j__int32 ;

        _asm  {
             ;  i__int32  -  j__int32 into result__int32


         }

        cout  <<  endl  <<   "i__int32 - j__int32 = "   <<  result__int32  <<  endl  <<  endl  <<  endl ;

        cout  <<   "Enter 0 to leave, 1 to continue... " ;  cin  >>  i_uint32 ;

     }   while   ( i_uint32  ==   1 );

     return   ( 0 );
}