Académique Documents
Professionnel Documents
Culture Documents
Ci 22998134
Simbologa
Inicio/fin
de la forma fsica que tenga es ejecutar una secuencia de instrucciones llamadas programas
Proceso
Proceso alternativo
Lneas de flujo
1
El primer paso Buscar: implica recuperar una instruccin de memoria de programa .la ubicacin en la memoria del programa es determinada por un contador de programa (PC) que almacena un numero e identifica la posicin actual del programa
Despus que la instruccin es buscada ,el PC se incrementa en longitud de trminos de memoria y se busca en la memoria relativamente lenta haciendo que el CPU se detenga a la espera de la instruccin a devolver
la etapa de decodificar la instruccin se divide en partes que tienen significado para otras porciones de CPU . La forma en que se interpreta la instruccin es el valor numrico que se define por el CPU del sistema de instruccin de memoria
Estos nmeros son llamados opcode e indica que operacin se va a realizar , la parte restante del numero usualmente proporciona informacin requerida para la otra instruccin
Despus de la decodificacin se lleva a cabo el paso de ejecucin durante este paso varias de las porciones de CPU estan conectadas para que puedan realizar la operacin deseada si por ejemplo se solicita una suma la unidad aritmtico lgica se conecta a un conjunto de entradas y a un conjunto de salidas, las entradas proporcionan os nmeros que sern agregados y los de salida contendr la suma final
El paso final reescritura simplemente escribe de nuevo los resultados del paso de ejecucin a alguna forma de memoria , muy a menudo los resultados se escriben en un registro del CPU interno para el acceso rpido a las instrucciones siguientes .en otros casos los resultados se escriben mas lentos , pero mas econmicos y mas grandes en la memoria principal
Fin
CPU Operation
The fundamental operation of most CPU is execute a sequence of stored instructions called program
The first step , Fetch involves retrieving an instructions from program memory. The location in program memory is determined by a program counter (PC), which stores a number that indentifies the current position in the program
After an instruction is fetched, the PC is incremented by the length of the instruction word in terms of memory units. Often the instruction to be fetched must be retrieved from relatively slow memory, causing the CPU to stall while waiting for the instruction to be returned.
In the decode step, the instruction is broken up into parts that have significance to other portions of the CPU. The way in which the numerical instruction value is interpreted is defined by the CPU's instruction set architecture
one group of numbers in the instruction, called the opcode, indicates which operation to perform. The remaining parts of the number usually provide information required for that instruction,
After the Fetch and decode step, the execute step is perfomed. During this step, various portions of the CPU are conected so they can perfom the desired operation. If, for instance, an addition operation was requested, an arithmetic logic unit will be connected to a set of input and a set of outputs. The inputs provide the numbers to be added and the outputs will contain the final sum
The final step writeback . Simply write back the results of the execute step to some form of memory,very often the results are written to some internal CPU register for quick acces by subsequent instructions. In other cases result may be written ti slower but cheaper and larger main memory
After the execution of the instructions and writeback of the resulting data ,the entire process repeat
End
http://en . Wikipedia.org/wiki/Central_processing_unit