there is a bug in sdcc/include/msc51/P89LPC922.h
I already reported that to the mentioned developper, but nothing happened.
lines 18&19 after the comment say:
__sfr __at (0x8B) TL1 ;
__sfr __at (0x8B) TH0 ;
Both sfr are assigned to the same address. The correct address for TH0 is 0x8C
Log in to post a comment.