I am VERY new to assembly and am intrerested in trying to get this program to work in assembly. I can write it in C++ fine but I don't understand it when I try to convert it to assembly. Please HELP!!!!
I am using Irvine32 and Masm615 here is the C++ code....
using namespace std;
cout << "This will caluculate if a number is prime or not.\n";
cout << "If you would like to quit enter a negative number\n";
cout << "Please enter a number:";
cin >> i;
for (j=2 ; j<i ; j++)
cout << i << " Is not a prime number\n";
cout << i << " Is a prime number!!\n";
}while(i > -1);