What is the process inside 8051

Thread Starter

embedded.anto

Joined Nov 23, 2011
9
My dear embedded engineers
Can any one explain me what happens when a program execute inside an 8051 micro controller. how the op-code enter into the cpu from rom.
what is the actual process going inside. please help
Regards
ANTO B
 

codehead

Joined Nov 28, 2011
57
The short answer is that the 8051 puts an address on the bus, from the program counter, that selects that memory location, and the cpu loads that opcode in and decodes and executes it. The long answer (for you) is that you buy a book on how microprocessors work and read it, or at least do a web search for a tutorial on how microprocessors work :)
 

jimkeith

Joined Oct 26, 2011
540
Shorter answer:
These functions are accomplished by hardware (glue logic) inside the microcontroller--that is what all the thousands of transistors accomplish.
 
Top