This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembler - Crash

Hi,

I hope someone can help me: I have a C-file and a ".a51"-Assembler-file in my project. I'm working with the "80c51c" from Infineon. My problem is this:

ACC = 30;
a_func();      // accesses the R0-register


a_func() is a pure-Assembler-function in the ".a51"-file. When I trie to access to Registers within the C-file and the assembler-file simultaneously, the Debugger crashes.

What's the problem?