I need to use the sdcc compiler in an IDE. I have about 16K of ASM51 code that I need to compile with sdcc so that I can use the source in the debug pane. The IDE only shows dissambly (with label numbers) unless you use C.
So I fugured I'd create a C "shell" and import my asm51 file
Where can I go to learn how to embed the asm?
The IDE has a C example which compiles with sdcc. I tried 2 hours of web searches last night to find the syntax to add 2 trial lines.
__asm mov a,b mov b,a __ endasm
I tried single underscore, double underscore, quotes, slashes, parens, as shown in many web search examples
I even tried without the mov's just __asm/ __endasm as shown in an SDCC forum example.
I can't see how to create a thread in the SourceForge.net to ask this question
Help is greatly appreciated.
--------------------------------------- Posted through