From: Vik O. <vi...@di...> - 2005-09-23 03:58:40
|
I'm using this on a Debian box: SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.5.0 #1020 (Sep 1 2005) (UNIX) I can compile code for PIC16F628(A)s and make PICs run stepper motors etc. All works reasonably well until I try using a multiply (*) operation. Something like: a*=5; where 'a' is an unsigned int appears to be completely ignored, and does not even generate a commented line in the .asm output. I do see the message: vik@chrysler:~/src/pic/comcenb$ sdcc --debug -mpic14 -p16f628 comcenb2.c Processor: 16f628 checking for native mult message: using default linker script "/usr/share/gputils/lkr/16f628.lkr" vik@chrysler:~/src/pic/comcenb$ Any ideas how to work around this one? Vik :v) -- Vik Olliver <vi...@di...> Diamond Age Solutions Ltd. |