Question about Objective C calling convention and argument passing on ARM
Posted
by overboming
on Stack Overflow
See other posts from Stack Overflow
or by overboming
Published on 2010-03-14T13:25:56Z
Indexed on
2010/03/14
13:35 UTC
Read the original article
Hit count: 666
I want to know how objective C runtime handle arguments when I call a objective C method like
[NSString stringWithFomat:@"%@, %@", @"Hello", @"World"]
There are three arguments for this objective C call, how does it work compared to typical way on a ARM system. I have known register r0, r1, r2, r3 will hold first 4 arguments, how about there are additional arguments? How does it put them on a stack and pop them later?
© Stack Overflow or respective owner