kaylled's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
10 (0.01 per day)
Joined:
22-April 09
Profile Views:
1,027
Last Active:
User is offline May 25 2012 03:39 AM
Currently:
Offline

Previous Fields

Country:
DK
OS Preference:
Who Cares
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
XBox
Your Car:
Cadillac
Dream Kudos:
0

Latest Visitors

Icon   kaylled has not set their status

Posts I've Made

  1. In Topic: PHP start/end tags

    Posted 21 Dec 2011

    what about the end-tag is it optional? because I have seen some PHP scripts where the end-tag were missing...
  2. In Topic: How does code gets converted/executed on a computer?

    Posted 20 Dec 2011

    @iniaes, thanks for your recommendation, I will certainly read it...
  3. In Topic: How does code gets converted/executed on a computer?

    Posted 19 Dec 2011

    @blackcompe, wow great answer
  4. In Topic: How does code gets converted/executed on a computer?

    Posted 18 Dec 2011

    View PostGunnerInc, on 18 December 2011 - 05:39 PM, said:

    No, your program is NOT text. It gets compiled to opcodes that the CPU understands. There are TONS of papers on the internals of a CPU from the one in your remote control, your car radio to your computer. Visit the Intel and AMD site for documents.

    When the CPU gets made, it is built with microcode that understands the opcodes which opens/closes certain circuits. CPUS contain an ALU and CU, the CU decodes the opcodes, the ALU does math and logic. Read on the net, way too much info to explain here.


    thanks that was helpful, but can you link me to some stuff that explains when the opcodes and the metal bridges?
  5. In Topic: How does code gets converted/executed on a computer?

    Posted 18 Dec 2011

    View PostGunnerInc, on 18 December 2011 - 05:07 PM, said:

    Search term: "how does a cpu execute programs"
    Results: TONS!

    compile a program and open it in a hex editor, see all those nubmers? Most of those are opcodes - instructions the CPU understands.

    In a nutshell, the OS loader loads your program into memory (does a few calculations) and sets the EIP register to the address of the first instruction, the cpu executes that instruction and increments the address in EIP according to the opcode size, executes the next instruction.. this keeps going in a linear fashion from A to Z. Skipping some code according to compares and jmps. When you call a function, the cpu skips to the address of that function but returns to the spot right after the call.. Nutshell, it is very in depth as to the workings of the CPU


    ya, but when in this process does "dead metal/silicon" becomes able to "read & understand" the instructions in the registers? or put in other terms: how does software which is "text" gets converted to electrical signals on/off?

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
USA
Full Name:
Kaylled X
Years Programming:
10

Contact Information

E-mail:
Click here to e-mail me
Twitter:
http://twitter.com/kayllled

Friends

kaylled hasn't added any friends yet.

Comments

kaylled has no profile comments yet. Why not say hello?