Convert c++ code to Mc68HC11 Motorola assembly code?

1 reply [Last post]
Last seen: 3 years 39 weeks ago
Joined: 2012-02-25
bOt Points: 54

 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;


return foo(n+1, m-1);


Last seen: 49 weeks 3 days ago
Joined: 2009-02-18
bOt Points: 1160
Please see this thread

Founder and Admin