Hot answers tagged


The problem is that you're trying to access the function parameter data, but the compiler does not expose that as a symbol to the internal assembler, so it's looking in the public, global namespace for it -- and can't find it. According to SDCC - Interfacing with Z80 assembler code, you do indeed need to access the parameters from the stack. I don't know if ...

Only top voted, non community-wiki answers of a minimum length are eligible