--- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@...> wrote: > > Woolsey Matt schrieb: > > > > Keil compiler for ARM does not use APCS. > > Are you sure ? How does it Keil ? > > -- > 42Bastian > A quick look at the following would seem to indicate Keil does follow the standard: http://www.keil.com/support/man/docs/ca/ca_ap_funcparam.htm By the way, the "official" ARM standard for this is now: http://www.arm.com/miscPDFs/8031.pdf It's a fairly lengthy document. In general though, if you keep to having just four parameters (passed in r0 - r3), it's very straightforward to mix assembler an 'C'. Brendan
Message
Re: Assembly call in C
2006-05-17 by brendanmurphy37
Attachments
- No local attachments were found for this message.