Re: debugging msp430




Juergen wrote:

myresult_t DoSomething(portSHORT command, portSHORT* status);

The ABI uses registers for at least the first parameter, maybe the
first couple of parameters (I forget... it's been a while). What is the
_caller_ code generated for:

void myfunc(uint16_t a, uint16_t b, uint16_t c)
{
}

void main(void)
{
myfunc(0x1234,0x5678,0xabcd);
}

.



Relevant Pages

  • Re: memfrob and strfry ? OT
    ... They are encryption types functions. ... If a function returns a pointer to a void and and as it's first parameter a ... pointer to a void. ...
    (comp.lang.c)
  • Re: A Question about ctypes and a function f(void **)
    ... The call works (no segmentation fault), now how do i access the data ... Because i need to pass it to a another function QImage that ... takes void* as its first parameter. ...
    (comp.lang.python)
  • Re: obj.method(arg) memory
    ... > location of the obj_1 to the method void Print ... "Object 1 made me print this" is not a char array, ... executable's filename as a first parameter (therefore argc is always at ... > class CPlusPlusSomeClass ...
    (alt.comp.lang.learn.c-cpp)