SDCC : pic14 3.0.6 #7004 (Nov 2 2011) (Linux)
I complained about the lot of banksel in the code some month ago. I am writing about few banksel now.
Compiling the attached file for 16F1934 and 16F887 show differeces. The 16F887 assembly code is correct, the 16F1934 isn't.
a.) After returning from a call routine should stay a banksel before handling the rx0001 register.
b.) PORTA,TRISA and LATA are in different banks but in the assembly code doesn't exist banksel before handling the rx0001 register.
Log in to post a comment.