Page 1 of 1

Gcc inline assembly using Cross compiler

Posted: Wed Jun 07, 2017 11:13 am
by yerri07
Hello Guys is there easy way of form of inline assembly to access parameters. Any form that works for now (gcc inline assembly is complicated). Any suggestion or resources to learn quickly of inline assembly and in depth understanding of inline assembly would be appreciated.

function foo(1,2);

foo( a,b){
accessing arguments in inline assembly and returning values
}

Re: Gcc inline assembly using Cross compiler

Posted: Wed Jun 07, 2017 1:41 pm
by no92
Inline_Assembly

Or am I missing anything?

Re: Gcc inline assembly using Cross compiler

Posted: Wed Jun 07, 2017 1:59 pm
by FallenAvatar
You probably want http://wiki.osdev.org/System_V_ABI

- Monk

Re: Gcc inline assembly using Cross compiler

Posted: Thu Jun 08, 2017 1:08 am
by yerri07
Thank you