Compiling with "sdcc -c -mpic14 -p16f877a " will compile and assemble, but there is no .rel file to link multiple sources. If I compile with "sdcc -c", it compiles using the default processor and DOES give me a .rel file. Is this a bug?
I also notice that if I compile something like this:
unsigned volatile char x = 4;
unsigned volatile char y = 5;
PORTA = x*y;
The assembled code will call "__mulchar", but that routine isnt in the assembled file. Whats up with that?
Pic14 uses a different assembler, not the asxxxx that comes with SDCC and is used for other architectures.
And __mulchar is not in the assembler file because it is in the library.
So I've noticed as its correctly in the hex file, just not in the asm file, which was throwing me off.
Log in to post a comment.