Convert the following C++ programs into Pep/9 assembly
1)
#include
using namespace std;
void minimum (int i1, int i2){ if (i1 <> cout < i1="">< "="" is="" less="" than="" "="">< i2=""><> else if (i1 > i2) cout < i2="">< "="" is="" less="" than="" "="">< i1=""><> else cout < i1="">< "="" equals="" "="">< i2=""><>}int main (){ int n, m; cout < "enter="" two="" integers:=""> cin >> n >> m; minimum (n, m); return 0;}
Submit: Pep/9 source code along with screen capture showing it running in the Pep simulator
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here