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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here