Hi Frans,

> Ok, did the splitting in two .c files, solved my previous bit addressing
> stuff.
> Build the lot, got one  .lst and .hex file with both my main and the
> functions from the other .c
> But the main is empty, i.e there is no CALL
>
> What did I left out? done wrong, forgot to do......

This is kind'a hard to tell without knowing your source,
compile/link commands, expected "output" vs. observed
"output" (any LEDs, LCD chars, UART chars, ...).

What do you mean with "main is empty" -- where did you look?
main() (as posted earlier) calls no functions, so there
should not be a CALL. If I recall correctly, main()
itself is invoked via GOTO, not CALL from the reset vector
probably indirectly via some __sdcc_gsinit() or the like).


A bit clueless,

Raphael

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to