hi
i strongly recommend the book called Embedded C by Michael J. Pont
it is so easy for beginners specialy who have experience in c programming. it full by examples.
it use the 8051 µc and the ke*il software https://www.keil.com
it is great for beginners.
you will find it in the books forum.
There is a lot of good book in edaboard book upload
C handbook , ....
For comiler if you mean for PIC microcontroller ( CCS ) if you need for 8051 base microcontroller ( KEIL ) .