What is the process inside 8051

Discussion in 'Embedded Systems and Microcontrollers' started by embedded.anto, Dec 6, 2011.

  1. embedded.anto

    Thread Starter New Member

    Nov 23, 2011
    9
    0
    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
     
  2. codehead

    Member

    Nov 28, 2011
    56
    11
    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 :)
     
  3. jimkeith

    Active Member

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

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
Loading...