2018-07-07 08:37 AM
Hello everyone,
Is it possible to get the values of the offset of variables in a frame, for use it in inline assembler? Or does is exist any other way to function arguments passing? As is possible in GNU GCC or COSMIC and other compilers.Thanks in advance.#sdcc #syntax #inline #stm8-toolchain2018-07-16 12:47 AM
SDCC currently passes all function arguments on the stack. If the function does not otherwise use stack space, the offset from the stack pointer only depends on which function argument you want to access..
Philipp