Re: [Sdcc-user] Pic14 port - maybe bug in INT addition ?

2009-02-21 Thread Raphael Neider
Hi, > Hello, I am fighting with 16f690 processor. I have two INT variables and > add them together. SDCC generates following code: Annotated for clarity, low byte in [0], high byte in [1]: > ; .line 349; "main.c" gYfilter = gYfilter + gYrotation; > BANKSEL _gYrotation > MOV

[Sdcc-user] [PATCH] pic16 port: pic18f452: defines bits for I/O ports and corresponding TRISx bits

2009-02-21 Thread walsimou
From: Abdoulaye Walsimou Gaye This patch defines bits for PORT{A,B,C,D,E} and corresponding TRISx configuration bits. To disable bits definition, -DNO_BIT_DEFINES needs to be add at compile time. Signed-off-by: Abdoulaye Walsimou Gaye --- sdcc/device/include/pic16/pic18f452.h | 98 +