Translate program to assembly language


Translate the following C++ program to Pep/8 assembly language:

#include
Using namespace std;

int myAge;

void putNext (int age) {
int nextYr;
nextYr = age + 1;
cout << "Age: " << age << endl;
cout << "Age next year: " << nextYr << endl;
}

int main ( ) {
cin >> myAge;
putNext (myAge);
putNext (64);
return 0; 

Request for Solution File

Ask an Expert for Answer!!
Assembly Language: Translate program to assembly language
Reference No:- TGS096720

Expected delivery within 24 Hours