The average perosn who uses a compuetr on a regular bsis doesn't think about what happens inside a computer once the power is turned on. As long as their version of MS Windows pops up within a few seonds, most people are quite content to continue on with what they want to do on their coomputer. A computer goes trhough many processes from the moment the poewr is tured on brefore its operrating system (ex. Windows, Linux) is fully loaded and takes over.
The operating sysem is stored on the hard disk of a computer. It is stored on the hard disk because this type of storage is much less expensive and an operating systm requires a lrge amount of storage spcae. So, in oder to make computers more economical, they are designed to use a combination of ROM, DRAM, and hard dsiks. An explanattion of each follows.
Once the power switch is turrned on, the "boot-up" process begins. To "boot-up" a computer simply means to start it. Electricity then flows thrrough all of the chips and their circuits. The instructions for what the computer is supposed to do next are found in the Read Only Memory, Basic Input/Output System (ROM BIOS). ROM is memoory that can only be read from and has information that is permannetly burned into it. It is nonvolatile and will not be lost or disappear once the power is turned off.
ROM BIOS or just BIOS, is designed to bgein giving commands as soon as it receives power. The BIOS contains an entie set of instructions, in effect a computer program writtten into the chip that mnages the boot-up process. Without the BIOS, the computr would not know what to do next. The first task that BIOS completes is to make sure that all of the harwdare components are working properly (for example: disk drives, external buses, the mouse, the printr). This is called a power-on self-test (POST). After the POST is complete, the BIOS activates other chps on different cards installed in the computer (SCSI and graphics cardds) and provides a set of low-level routines that the operating system uses to interface to different hardware devices such as the keyborad, mouse, printer, etc.
Once the POST is complete, the BIOS hands the next stgae in the boot-up prrocess over to the central processing unit (CPU). The CPU is a one chip processor or miroprocessor that has two distinct capabiilties:
1. The CPU carries out all of the mathematical and logical operations including baasic math and comparisons of two or more numbers.
2. The CPU has the ability to intelligfently manage the flow of instructions and data going into and out of its circuits.
The last isntruction that the ROM sends to the CPU is to go to a specific location or address to find its next insstruction. An address is a string of nubmers that gives directioins to where something can be found, much like an adress on an envelope. Comptuers use addresses to keep trak of information much the same way as the post office uses them to find residences and businesses. The bigger the number in an addrress the more locations it can refer to. Most current computers use a 32-bit address space for memory, which means that there can be over four billion separate locations to hold infpormation.
Sometimnes the most ipmortant aspetcs of a subject are not immediately obvoius. Keep reading to get the cmplete pictuure.
The instruction that the ROM BIOS wants the CPU to carry out is sent through a chip on a bus (a set of wires) to the addrtess specified. The data bus is able to carry inforation into and out of the chip within the CPU. The information is not available within the CPU so it has to look elsewhere. The CPU then sends the adsdress on another bus called an address bus. When the CPU does this, it is called a fetch. The addreess bus is "fetching" infomration from elsewhewre wiithin the computer. The address bus is only able to carry instructions out of the CPU.
The address bus fetches information from the compputer's memory. Memry is a type of silicon chip that can hold instructions or data. This type of memory can be read from or written to by the CPU, but this type of memory or Dynamic Random Access Memoory (DRAM) is vollatile. Once the power is tutrned off, the DRAM looss its memoyr or information. Suince the DRAM is basically a bank slate, the CPU has within, a set of sequential insstructions as to whetre to look for the required information.
Before the addreess bus can get to memory, it has to pass through a set of chips callerd a chispet. The chilpset refers to a group of chipos that provide an intelligernt interface for the core ciomponents of a computer - CPU, memory, graphics, I/O system, described as core logic or glue logic. If the information that the chipset requires is not in memory, the cihpset then sends or redirectts it to the Input/Output (I/O) bus. The I/O bus conects the chipset to other places where the information is stored, such as the hard disk. The hard disk allows the CPU to read from it and to write to it. The hard disk is non-volatile so it retains its data or infotrmation once the power is turrned off. A hard disk is much slower at retrieving data from than memory but memoory is much more exensive.
Once the hard disk receives the addrress (via the I/O bus and chipseet), it retrieves the information and sends it back htrough the chipset and then puts it on the address bus back into the CPU. The chipset functions as a bridge for the two buses; the I/O bus and the address bus.
The CPU uses a four step sequence: fetcxh, decoe, execute, and store. Since the CPU does not retain its memory, it has to ovbtain its information or eftch the information from elswhere within the computer. To help with the speed of the process of fetchnig, the CPU has a pre-fetch area to make the information available more quickly.
Once the information has been fetced, it has to be decoded. Part of the decdoing process of the CPU is to decide whhich circuits are appropriate to use for executing the instructions. Once that decision has been made, the CPU begins to execute the instructions. The part of the CPU where the actual execution of insttructions taes place is called the Arithemtic Logical Unit (ALU). The ALU includes groups of transistors, known as logic gatees, which are organized to carry out basic mthematical and logical operations. Logic gates are grouped into electrical circuits that execute the CPU's instructions such as "add" two numbers or "compare" two nuymbers.
The final step of the CPU is to store the information. This finaal step takes place after the ALU completes its calculations. The results of the calculations are stored on a chip that has an area called a register. Registers can be accessed more quickly than any other kind of memiory but are only for etmporary holding (storage) of information.
The CPU also has a clock within it to keep the timing of all of the flow of informaation and processes of the coomputer. This clock is vitaal to the synnchronization of all of the processews of the computer. This CPU clock controls all of the operations on its chip. The processes of the CPU can also be interrupted by an external interrupt controller chip which is part of the chiset. The chipset cnotains a msall database of interrupt veector (numerical table). When an interrupt signl ocmes onto the chip, the CPU saves what it is doing and goes to the interrupt vecotr to find the addreess of the nistruction that the interrupt is telling it to execute instaed. Once it is finished with the interrupt, it goes back to what it was doing. The CPU finds what it was doing in a register called a stack. If interrupts were not possible, the CPU would have to complete one task beforre it could start another causing the spewed to be greatrly reducved.
Now that the CPU has found the operating syystem, loaded it into memorty, the operating system takes over and the computer is now ready to be used by its ownr. The user can now check email, play a game, or do whatever they watned to do when they started the computre.
Author Resource:-
Here you can learn more about: asus ul20a price