• Getting multiple return values from a function in registers
    Is it possible to get multiple return values from a function in a different way than in fixed memory? I often need to get more return values than 1 from a function, for example 2 integers (16bit) and...
  • Getting multiple return values from a function in registers
    Is it possible to get multiple return values from a function in a different way than in fixed memory? I often need to get more return values than 1 from a function, for example 2 integers (16bit) and...
  • Function return value if () are missing
    As I am sure most of us have at some time, I have ocasionally missed the () off the end when calling a function. e.g myFunction; instead of myFunction(); When I do this the code compiles and...
  • Function return value if () are missing
    As I am sure most of us have at some time, I have ocasionally missed the () off the end when calling a function. e.g myFunction; instead of myFunction(); When I do this the code compiles and...
  • Where are function parameters/return values stored?
    Hi, I'm looking at calling an ASM routine from some C code. I'd like to pass some parameters into the ASM routine, and have it return a value. I don't believe function arguments are passed on the stack...