Convert c++ code to Mc68HC11 Motorola assembly code?
i am trying to convert my code into assembly code, and all i can find on google is at&t syntax, and its super annoying!!!
but i need to figure out how to convert this into the 68000 motorola assembly code, anything will help, i am also stuck on how to declare my parameters.
int foo(int n, int m);
int main() {
int n, m;
cin >> n;
cin >> m;
cout << f(n,m) << endl;
return 0;
}
int foo(int n, int m) {
if (m==0)
return n;
else
return foo(n+1, m-1);
}



Please see this thread - http://stackoverflow.com/questions/2709327/easy-way-to-convert-c-code-to-assembly.
Founder and Admin