Gcc inline assembly using Cross compiler

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
yerri07
Member
Member
Posts: 26
Joined: Sat Apr 29, 2017 6:56 am

Gcc inline assembly using Cross compiler

Post 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
}
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: Gcc inline assembly using Cross compiler

Post by no92 »

Inline_Assembly

Or am I missing anything?
FallenAvatar
Member
Member
Posts: 283
Joined: Mon Jan 03, 2011 6:58 pm

Re: Gcc inline assembly using Cross compiler

Post by FallenAvatar »

You probably want http://wiki.osdev.org/System_V_ABI

- Monk
yerri07
Member
Member
Posts: 26
Joined: Sat Apr 29, 2017 6:56 am

Re: Gcc inline assembly using Cross compiler

Post by yerri07 »

Thank you
Post Reply