1. Instruction Cycle
Instruction cycle is the time that is needed by a computer for reading and processing
instruction from memory. Each CPU has different cycle because it has different instruction set.
The processing of instruction can be classified to be 4, they are:
a. Read the instruction from main memory.
CPU takes the value in PC(Program Counter),and then CPU takes instruction from main
memory passed bus to Memory Data Register(MDR). The value in MDR will be stored in
IR (Instruction Register). Decoder interpretes instruction and executes it.
b. Read data from main memory
Data that will be processed is taken with the instruction and will be put into register.
c. Execute the instruction.
From IR data are decoded by Control Unit. Actions that can be performed are: read the
value in register, process it in ALU and store the result in register.
d. Store the result of instruction.
Read the result again in memory (main memory or output media).
Instruction cycle is devided by two,they are:
a. Fetch cycle ( a and b). This step is always same for all of instruction. Instruction consists of
opcode and operand.
b. Execution cycle(c and d). this step is always changed for each instruction. The first step is
memory processing and then data is transferred between CPU and I/O module. Finally,
data are processed used mathematic or logic processing.
2. Instruction Register
It is part of CPU that store the instruction that is being executed. In simple processor, each
instruction that will be executed , is put into IR and will be stored during process of decode
run, prepared and finally it is executed.
3. Program Counter(PC)
PC is register that it used for keeping the sequence of instruction. PC also stores the address of
instruction that is being executed or will be executed. PC will do iteration automatically for
each instruction cycle. Special instruction, for example: subprogram and ramification are
processed with do interrupt to PC to change the value in PC.
4. Instruction Set
Instruction Set is a horde of instruction that can be executed by processor. Instruction set is
classified by three kinds , they are: arithmetic instruction (add and substract ) and logic
instruction(AND ,OR, and NOT). Data instruction(move,input,output,store). Control
instruction(goto.if..goto,call ,return)
The format of instruction is:[opcode l operand]
See The Future with Technology, See The Nature with Science, See Them with Islam
Tampilkan postingan dengan label komponen. Tampilkan semua postingan
Tampilkan postingan dengan label komponen. Tampilkan semua postingan
Minggu, 25 Januari 2009
CPU (Central Processing Unit) (English)

The nerve center of microcomputer is the Central Processing Unit(CPU).This unit is built into single microprocessor chip-integrated circuit wich executes program instruction and supervises the computer overall operation. The part of CPU are:
1.Unit Control:it examines the instructions in the user's program,interpretes each
instruction and causes the circuits and the rest of the components-disk
drives,monitor,etc.
2.Arithmetic Logic Unit(ALU).It performs mathematical calculation(+,-,etc).ALU
performs all arithmetic operations based of add operation,so the electronic
circuit that is used is called as adder
3.Register:High speed units of memory.these are used to store and control
information. The kind of register:
a.IR(Instruction Register):register that holds the instruction that is being
executed.
b.PC(Program Counter):register that keep trac of the next instruction to be
performed in the main memory.PC also store the address of location from main
memory that contents istruction that is being executed.
c.General Purpose Register has general fuction for data that is processed.For
example:operand that is used for storing data that is being processed.
Accumulator keep the result of processing.
d.MDR(Memory Data Register)is used to store data or instruction that is sent from
main memory to CPU or store data that it will be sent to main memory from CPU.
e.MAR(Memory Address Register) is used to store address of data or instruction in
main memory that will be taken or received.
Langganan:
Postingan (Atom)