Convert the following C++ program into Pep/9 Assembly. #include using namespace std; void SetEqualGreater (int &num1, int &num2) { if (num1 > x >> y; SetEqualGreater(x, y); cout


Convert the following C++ program into Pep/9 Assembly.



#include


using namespace std;




void SetEqualGreater (int &num1, int &num2)


{


    if (num1 <>


        num1 = num2;


    else


        num2 = num1;


}




int main()

{



int x, y;     // Using Local Variables





    cin >> x >> y;


    SetEqualGreater(x, y);


    cout < "x="y" =="" "="">< x=""><>




    return 0;


}


Submit: Source file along with screen captures showing the program running in the Pep/8 simulator.



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here