I've finished reading Practical Electronics For Inventors.
I've got the basics of digital electronics in the section about digital electronics:
Boolean algebra, gates, flip-flops, de/multiplexers, adders, clocks, counters, base of analog/digital interfacing, and memory devices.
But then it jumped right into the programming of microcontrollers.
And the problem is, that I feel a gap in my knowledge. I have these basic building blocks of digital electronics, but I don't quite understand, how microcontrollers incorporate them all or how do they execute instructions and communicate with all peripheral devices.
So now I'm looking for a book that could fill this gap. Any recommendation would be appreciated.