Hello, If i write a function in assembly and name it with prefix _? , ( example _?FUNCNAME ) will this make that function automatically reentrant. Or is it just a naming convention used by Keil if you write your function in C (and use the "reentrant" keyword). Regards, KC
From the point of view of your assembly code, it's just a naming convention. From the point of view of C code calling hat routine, it makes a statement about where its arguments are passed, and how to call it. I.e. if you have a currently working assembly routine called FOO or _FOO at the moment, and rename it to _?FOO, it's almost guaranteed to stop working.