Results 1 to 2 of 2
  1. #1
    Join Date
    August 5th, 2015
    Greater noida
    Programming instruction
    hows computer understand the php tag or html tag.....what happend inside the cpu...which part of computer work when we execute the program...

  2. #2
    Join Date
    July 17th, 2015
    This is a very complex question. There are several layers that happen between the moment the html is read to the moment it arrives to the "processor".
    Natively the micro processor only understands "assembly language", i don't know very much about intel ASM (i only know motorola from my kids days).

    basically an asm instruction looks like :

    move.l #5,d0
    cmp.l d0,d1

    and you only have a very few of those instructions, it's just about putting values in registers (boxes). that the cpu interprets.

    So let's go back to our html

    HTML -> read by a specific software ( a browser), which converts texts in something visible for you.
    Browser is usually written in C/C++, ObjectiveC or some language of that type.
    C/C++ is coded in ASM ( unreadable to humans since it's very "circuit" oriented).
    the ASM instructions (values moving around) are then dispatched in the processor, that drives electric current all over the place, and then send instructions to the video card for exemple, to display a picture or a text.

    this is a very very basic explanation, but your question is about a lifetime of knowledge it's the story of how to build a computer !


  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: January 27th, 2011, 04:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts