3. Compute the effective CPI for a processor, for the following instruction mix:

Size: px
Start display at page:

Download "3. Compute the effective CPI for a processor, for the following instruction mix:"

Transcription

1 COMPUTER ARCHITECTURE CS 1251 IV SEMESTER CHAPTER - 1 UNIT BASIC STRUCTURE OF COMPUTERS PART A 1.Write the basic functional units of computer? The basic functional units of a computer are input unit,output unit,memory unit, ALU unit and control unit. 2.Define ALU. What are the various operations performed in ALU? ALU is a part of computer that performs all arithmetic and logical operations. It is a component of central processing unit. Arithmetic operations: Addition, subtraction, multiplication, division, increment and decrement; Logical operations: AND, OR, XOR, NOT, compare, shift, rotate.- 3. Compute the effective CPI for a processor, for the following instruction mix: Instruction type Clock cycle count Frequency ALU operations 1 40 Loads 3 20 Stores 2 10 Branches taken 3 20 Branches untaken 2 10 An enhancement to the processor is made by adding a branch prediction unit. This decreases the number of cycles taken to execute a branch from 3 to 2. What is the improvement in performance? Speed up =execution time old /execution time new Execution time old or CPU time=i.c.* Clk Cycles * cycle time Execution time old =[40*1+20*3+10*2+20*2+10*2] Cycles*cycles time The enhancement decreases the number of cycles taken for branch instruction from 3 to 2. Execution time new =[40*1+20*3+10*2+20*2+10*2] =180 cycles *cycle time Speed up = (200*cycles time)/(180 cycles *cycles time) =1.1 4.What is a bus? What are the different buses in a CPU? A group of lines that serve as a connecting path for several devices is called bus. The different buses in a CPU are 1] Data bus 2] Address bus 3] Control bus 5. Why data bus is bidirectional and address bus is unidirectional in most microprocessor? Data bus: The data bus consists of 8, 16, 32 or more parallel signal lines. These lines are used to send data to memory and output ports,and to receive data from memory and input port. Therefore, data bus lines are bidirectional. This means that CPU can read data on these lines from memory or from a port, as well as send data out of these lines to a memory location or to a port. The data bus is connected in parallel to all peripherals. The

2 communication between peripherals and CPU is activated by giving output enable pulse to the peripherals. Outputs of peripherals are floated when they are not in use. Address bus: It is a unidirectional bus. The address bus consists of 16, 20, 24 or more parallel signal lines. On these lines the CPU sends out the address of the memory location or IO port that is to be written to or read from. Here, the communication is one-way, the address is send from CPU to memory and IO port and hence these lines are unidirectional. 6. What is meant by stored program concepts? Discuss. Stored program concept is an idea of storing the program and data in the memory. 7. Define multiprogramming? Multiprogramming is a technique in several jobs are in main memory at once and the processor is switched from job as needed to keep several jobs advancing while keeping the peripheral devices in use. 8. Define multiprocessing? Multiprocessing is the ability of an operating system to support more than one process at the same time. 9. Define time sharing? Time sharing is the process in which the system is designed to allow many users to use the CPU simultaneously. 10. What is a super computer? A computer with high computational speed, very large memory and expansive parallel structured hardware is known as a super computer. EX: CDC What is meant by VLSI technology? VLSI is the abbreviation for Very Large Scale Integration. In this technology millions of transistors are put inside a single chip as tiny components. The VLSI chips do the function of millions of transistors. These are used to implement parallel algorithms directly in hardware. 12. What are the characteristics of Von Neumann computers? * The program can data were represented in digital form and stored in the memory. * The architecture has 5 basic parts -> the memory, the ALU, Control Unit, Input unit and output unit. * It uses binary arithmetic. * There were only fixed point arithmetic and no floating point arithmetic. * used a special general purpose register called Accumulator. * The first general purpose machine. 13. Define parallel processing. It is an efficient form of information processing to exploit the concurrent events in the computing process. 14. Define pipelining. Pipelining is technique of decomposing a sequential process in to number of sub operations and each of these sub operations are carried out independently in dedicated segments concurrently. 15. Mention some applications of parallel processing. * In simulation and Modeling -> weather forecasting, oceanography, socio economy * Engineering design and automation -> Aerodynamics, finite element analysis AI * Medical, military and research -> computer assisted topography genetic engineering etc * Energy resource explosion. 16. In what way hardware and software are equivalent? Not equivalent. Software and hardware are logically equivalent. Any operation done by software could be done by hardware. Any instruction executed by hardware can be simulated by software. They are not equivalent in the sense that, minimum hardware required to execute software cannot be simulated by software. In other words with out the hardware software cannot function, whereas with NIL software the hardware function perfectly. 17. Distinguish between hardware and firmware.

3 The hardware deals with all electronics and electrical components of a computer. EX: IC s, diodes, resistors, power supplies, tapes etc The firmware is embedded software of certain electronic circuits. EX: ROMBIOS. 18. What is an operating system? A System software which acts as an interface between the user and the machine. 19. Define system throughput. It is defined as the number of instructions executed per unit time (sec). 20. What is mainframe computer? It is the large computer system containing thousands of IC s. It is a room- sized machine placed in special computer centers and not directly accessible to average users. It serves as a central computing facility for an organization such as university, factory or bank. 21. What is mini computer? Minicomputers are small and low cost computers are characterized by Short word size i.e. CPU word sizes of 8 or 16 bits. Limited hardware and software facilities. Physically smaller in size. 2. Define micro computer. Microcomputer is a smaller, slower and cheaper computer packing all the electronics of the computer in to a handful of IC s, including the CPU and memory and IO chips. 25. What is workstation? The more powerful desktop computers intended for scientific and engineering applications are referred as workstations. 26. Write the features of the third generation computers? Pipelining concept was introduced. Cache memory concept was introduced to close the speed gap between the CPU and main memory Multiprogramming was introduced. Time sharing concept was introduced. Virtual memory concept was introduced to close the speed gap between the CPU and main memory. Multiprogramming was introduced. Time sharing concept was introduced. Virtual memory concept was introduced. Ex: IBM 360/370, CDC 6600/7600, Texas Instrument s ASC (Advanced Scientific Computer), Digital Equipment s PDP-8.

4 CHAPTER-2 UNIT MACHINE INSTRUCTIONS AND ADDRESSING MODES PART-A 1. What is load store architecture? In a load / store architecture, operands must be in registers before they can be processed. The instructions that refer to memory Locations are load, store and jump / branch.it supports limited set of addressing modes and use hardware to execute instructions. 2. Explain the absolute and auto increment addressing modes with an example instruction. Absolute or direct addressing: To fetch an operand, the address of the operand in the memory is given in the instruction. This form is called direct addressing. This type of addressing mode is used for handling STATIC data Add B=> A = A + M [B] Auto-increment addressing mode: It is similar to register indirect mode except that register is incremented after its value is used to access memory. Add R1, (R2) +; R1 <- R1 + M [R2] R2 <- R2 +d This type of addressing mode is useful for stepping through arrays in a loop. R2 start of array d size of an element 3. List out the different computer instruction formats. 4 address instruction Opcode Source opera Source opera address 1 address 2 Destination opera Next instructi address address 3 address instruction Opcode Source operand address Source operand address Destination opera address 2 address instruction Opcode Source destination opera address Opcode Opcode 1 address instruction 0 address instruction Source operand address Source operand address 2 4. Explain the following addressing modes with an example: a) Register indirect addressing b) Relative addressing Register indirect addressing: The effective address of the operand is the contents of the register or memory location, whose address appears in the instruction. Add R1, R2 [R3] R1 = R2+ [R3] Contents of memory pointed by R3. Application: 1. used in pointers

5 Add R1, R2, [R3] Operand R3 Memory Relative addressing: The effective address is obtained by adding contents of program counter with displacement. Effective address = [PC] + displacement Ex: near, far, short, jump instructions 1. mem address instruction displacement 1000 near 10 EA for next instruction = [PC] + 10 = = mem address instruction displacement 4000 JC 50 EA = = Define index mode. In this mode the contents of the index register is added to the address part of the instruction to get the EA of the operand. The index register is a special purpose CPU register that contains the index value. The address part of the instruction determines the starting address of the data array in the memory. Each operand in the array is stored in the memory relative to the starting address of the array. The distance between the starting address of the array and the location of the operand in the array is the index value present in the index register. Any operand in the array can be accessed with the same instruction provided that the index register contains the correct index value. The index register can be incremented to facilitate access to the consecutive operands. Some computers dictate one CPU register to function as index register. This register is involved implicitly when the index mode instruction is used. USE: The indexed mode is used to access the array type data structure. 6.What is the role of program counter in addressing? In this addressing mode the contents of program counter is added to the address part of the instruction in order to obtain the EA. When the address part of the instruction is added to the contents of the PC the result produces the EA whose position is relative to the next instruction. 7.What are the different addressing modes? Direct addressing, indirect addressing, immediate addressing, base addressing, Index addressing, based index addressing, based indexed with displacement addressing, relative addressing. 8.Compare the stack based architecture with GPR based architecture. Stack based Vs GPR based Reading a register in GPR architecture does not affect its contents but reading in stack architecture removes the data form top of the stack. Lot of over head involved in maintaining temporary variables in the stack. In stack based architecture the register file stack is invisible to the programmer. Only the top of the stack is visible. Hence easier to maintain compatibility with future versions. Instruction lengths are smaller in stack based because the source and destination specifies are not required. Hence the code length may be smaller

6 9.Consider a two level indirection instruction such as Mov A, [ind], where ind points to the memory location that contains the address of the operand that needs to be moved to register A. give an application of such two level indirection. Pointer implementation is made easy with indirection. With two level indirection it is easier to handle pointer of pointer. 10.What are condition codes? Can a processor be designed without any condition codes? Condition codes are 1- bit flag that store information regarding the result of various operations. These are used in conditional branch instructions. They give elegant way of handling the conditional control flow. A processor may be designed without condition codes, but it must have some other means of handling change in flow control may be instructions like compare and branch if equal to zero. 11. Which data structures can be best supported using (a) indirect addressing mode (b) indexed addressing mode? (a) indirect addressing mode pointer data structure. (b) indexed addressing mode array data structure. 12. What are the four basic types of operations that need to be supported by an instruction set? Data transfer between memory and the processor register. Arithmetic and logic operations on data. Program sequencing and control. i/o transfer 13. What are the limitations of assembly languages? Limitations of assembly language: 1. Assembly language is processor dependent hence requires knowledge of internal details of processor to write a program. 2. It is less user friendly than higher level languages. 3. program development is slower than the program development using high level languages. 14. The memory unit of a computer has 256 K words of 32 bits each. The computer has an instruction format with four fields: an operation code field, a mode field to specify one of seven addressing modes, a memory address. Specify the instruction format and the number of bits in each field if the instruction is in one memory word. Total memory size = 256 K * 32 bits = 1024 Kbytes Address bits = 20 Mode field = 3 bit 2^3 = 8 >7 Register address field = 6 bits 2^6 = 64> 60 Opcode field = =3 bits. 15. List the steps involved in the instruction execution. Fetch the instruction from the memory. Decode the instruction. Fetch the operands from the memory for executing the instruction/ Execute the instruction. Store the results.

7 16. Explain the various instruction types? Instructions are of many types Data movement instruction Dyadic operations Monadic operations Comparisons and conditional jumps Procedure call instruction Loop control Input / output 17. Explain the various addressing modes. The general subject of specifying where the operands are is called addressing. Immediate addressing Direct addressing Register addressing Relative addressing Indirect addressing Register indirect mode Multilevel indirect addressing Indexed address mode Base register addressing mode Auto increment or auto decrement mode Implied addressing Stack addressing

8 CHAPTER 3 UNIT 2 ---ARITHMETIC UNIT 1. Discuss the IEEE format used for representing single- precision floating point numbers IEEE standard signal precision floating point number: Signal Precision: 32 bit 32 bit S E M Sign of 8 bit signed 23 bit mantissa/fraction Number exponent 0-signifies + excess signifies - representation Value represented = ±1.M X 2 E Discuss the principle of operation of a carry save adder. Principle of Carry save Adder Multiplication requires addition of several summands. Carry-save adder (CSA) speeds up the addition of summands. Here instead of carry rippling along the rows, they are saved and introduced into next row in correct weight position For Example (45) M x (63) Q A B C D E F Product(2835) 3. Define Bit slice Processor. Bit Slice ALU: It is a technique for construction an ALU from modules, each of which processes 1 bit data or slice of an operand. For Eg. Two 4 bit ALU could be arranged side by side to form an 8 bit ALU. 4. State the principles of operation of a carry look ahead adder Principles of Carry look ahead adder Carry look ahead adder is a method for speeding up the addition process. It is done by eliminating carry delay rippling through stages.

9 For Example Full adder S i = X i Y i + C i + X i Y i C i + X i Y i C i + X i Y i C i C i+1 = Y i C i + X i C i + X i Y i = X i Y i + (X i +Y i )C i = G i + P i C i G i = X i Y i Generate function P i = X i + Y i Propagate functions 5. Write IEEE standard for Floating point format The IEEE standard describes the floating point representations and the way in which the four basic arithmetic operations are to be performed on these floating point operands. There are two types of representations for floating point numbers. 1. Single precision 2. Double precision 32 bit S E M Sign of 8 bit signed 23 bit mantissa/fraction Number exponent 0-signifies + excess signifies - representation Value represented = ±1.M X 2 E 127 Single precision (32 bit) Double precision Double precision representation contains 11 bits excess exponent E which has the range 1 E 2046 for normal values. This means that the actual exponent E is in range E The 53 bit mantissa provides a precision equivalent to about 16 decimal digits. 64 bit S E M Sign bit 11 Bit excess bit mantissa fraction Exponent 6. Define overflow Overflow: If the result of an arithmetic operation is outside the representable range, then overflow is said to occur. 7. Define Underflow

10 If the result of the arithmetic operation involving n-bit numbers is too small to represent by n- bits, underflow is said to occur. 8. What is the principle of Booth s multiplication technique? Skipping over of 1 s Recording of multipliers such that a whenever a series of 1 s occur the multiplication operation corresponding to it can be replaced by an addition of two numbers. 9. What is the purpose of guard bits used in floating point operations? The guard bits are the extra bits which is used to retain the intermediate steps to increase the accuracy in the final results. Example: In 32 bit single precision floating point representation the Mantissa bits are limited to 24 bit including leading 1. some operations which results in extra bits are called guard bits. 10. Give the Booth s recording and bit pair recording of the number [0] Bit pair recoding [0] Draw the symbolic representation of the full adder and gibe the expression for the sum. X i Y i C i+1 S i 12. In conforming to the IEEE standard mention any four situations under which a process sets exception flag. 1. Under flow 2. Over flow 3. Divide by Zero 4. Invalid. C i 13. Why floating point number is more difficult to represent and process than integer? In floating point numbers we have to represent any number in three fields sign, exponent and mantissa. The IEEE 754 standard gibes the format for these fields and according to format the numbers are to be represented. In case of any process we have to consider mantissa and exponent separately. Therefore, floating point numbers are more difficult to represent and process than integer. 14. Draw a full adder circuit and give the truth table. Inputs Outputs

11 A B C in Carry Sum Truth table for full adder C in A B Full Adder Sum 15. Give any 2 complement multiplier algorithm Robertson s algorithm Booth s algorithm Block schematic of full adder 16. What is spatial expansion in ALU? In this expansion connect K copies of the m-bit ALU in the manner of a ripple carry adder to form a single ALU capable of processing Km bit words directly. 17. What is temporal expansion in ALU? In this expansion use one copy of the m-bit ALU chip in the manner of a serial adder to perform an operation on Km-bit words in K consecutive steps. In each step the ALU processes a separate m-bit slice of each operand. This processing is also called multi cycle or multi precision processing. 18. When a ALU is said to be bit sliced. An ALU is said to be bit sliced if each component ALU concurrently process a separate Slice of m bits from each Km bit operand. 19. Give the advanced features of ALU Floating point arithmetic circuit Pipelined circuit Co-processor.

12 20. What is a co-processor? A co-processor a separate instruction set processor that is closely coupled to CPU and whose instructions and registers are direct extensions of CPU. 21. What is a co-processor trap? Even if no coprocessor is present, Co-processor instructions can be included in CPU programs, because if the CPU knows that no Co-Processor is present it can transfer program to a predetermined memory location where a software routine implementing the desired co-processor instruction is stored. This CPU generated interrupt is called a Co-processor trap. 22. Define Micro operation? A micro operation is an elementary operation performed with data stored in the register. 23. What are the types of micro operations? There are four types of micro operations. Arithmetic micro operation: performs arithmetic operations on the data stored in the register Logical micro operation: performs bit manipulation operations on the data stored in the register. Register transfer micro operation: transfers binary information from one register to another register Shift micro operation: performs shift operations on the data stored in the register

13 CHAPTER 4 UNIT 3 ---BASIC PROCESSING UNIT 1. What are the advantages and disadvantages of hardwired and micro-programmed control? Hardwired control Advantages It is implemented using the gates, Flip Flops and hardware circuits. High speed operation and hence execution is faster Smaller implementation (component counts) Favored approach in RISC style designs. Disadvantages Complex sequencing and micro operation logic. Difficult to design and test Inflexible design Difficult to add new instructions Micro-programmed control Advantages It stores the control signals in the sequence in control memory. Modification is simple by modifying the micro program in the control memory. Just read from the control memory every clock cycle Favored approach in CISC style designs. Disadvantages Execution is slow Separate Control memory is used 2. Define hard-wired control? Hard Wired control is a implemented with gates, f-flips decoders and other digital circuits. The goal in hard-wired design control is to minimize the number of components and maximize the speed of operation. 3. What are the relative advantages and disadvantages of micro-programmed control over hardwired control? Advantages of micro programmed control over hardware control It provides considerable flexibility in implementing instruction sets. It facilitates adding new instructions. Disadvantages Execution is slower Control memory is needed 4. Define Microinstruction The individual control words in the micro program are usually referred to as microinstruction

14 5. Faster operations can be achieved by pre-fetching the next micro-instruction, while the current one being executed. What are the complexities involved in per-fetching the micro instruction. Whenever the status flags need to e checked to determine the next address of the micro instruction. Complex hardware is needed to handle such cases. 6. State the differences between hardwired and micro-programmed control unit. Hardwired control It is implemented using the gates, Flip Flop and hardwired circuits. No control memory is used. Execution is faster. Modification is difficult. RISC Machines. Micro programmed control It will be implemented using the micro program stored in the control memory. Control memory is used. Execution is slower. Modification is simple by modifying the micro program in the control memory. CISC Machines. 7. Why is the Wait-For-memory-Function-Completed step needed when reading from or writing to the main memory? WMFC (Wait-For-memory-Function-Completed) step is required for the write control signal/read control single cause the memory bus interface hardware to issue a write command / read command on the memory bus. The processor wait in this process until the memory operation is completed and an WMFC response is received. 8. What are the address sequencing capabilities required in a control memory? Incrementing of the control address register. Unconditional branch as specified by address field of the microinstruction. Conditional branch depending on status bits in register of computer. A facility for sub-routines calls and returns. 9. Discuss the principle of operation of a micro programmed control unit? Microprogramming is a second alternative for designing the control unit of a digital computer. The principle of microprogramming is an elegant and systematic method for controlling the micro-operation sequences in a digital computer. 10. What are the types of control organizations we have? There are two types of control organizations Hardwired control organizations Micro programmed control organization.

15 11. What is a control word? A control variable which can be represented by a string of 1 s and 0 s is called a control word. 12. What is micro programmed control unit? A control unit whose binary control variables are stored in the memory is called a micro programmed control unit. 13. What is a micro instruction? A set of micro operations constitute a micro instruction, 14. What is a micro program? A set of micro instructions constitute a micro program. 15. What are the differences between the main memory and control memory? Main Memory It is used storing OS routine and user Program. Ordinary user can access the main memory do modifications. This is larger in size. Control Memory It is used to store the micro program. Ordinary user can not access the control memory. Only the designers can do the same. This is smaller in size. 16. What is micro program sequencer? The next address generator is also called the micro program sequencer. This will generate the address of the next microinstruction in the sequence. 17. What is meant by mapping process? The transformation from the instruction code bits to an address in the control memory where the routine is located is referenced to as a mapping process. 18. Give the micro instruction format. F1 F2 F3 CD BR AD Where F1, F2, F3 Micro operation fields (3 bits each) CD Condition for branching (2 bits) BR Branch field (2 bits) AD Address field (7 bits). 19. What is a hard wired logic? If a computer is designed to operate based on the control gates, and other hard ware circuitry then it is called hard wired control logic. 20. What is micro programming?

16 A technique for implementing the control function of the processor in a systematic and a flexible manner is called as micro programming. 21. What are the advantages and disadvantages of the microprogramming? Advantages An instruction set can be changed by changing the micro program. Any up gradation to the existing system require only to modify the micro programs. Less costly compared to hard wired logic. Disadvantages Comparatively slow. CHAPTER 5 UNIT PIPLINING 1. What is the ideal up expected in a pipelined architecture with n stages? Justify your answer. Ideal Speedup Pipelining No. of segments k Clock cycle time t p Tasks n First task T 1 requires kt p to complete its operations. (n-1) tasks (n-1) tp Total time = [k + (n-1)] tp Speedup S = nt n /(k + (n-1))t p If n is large, k + (n-1) becomes n. Therefore S = nt n /nt p = t n /t p = k = No. of Stages (Since) 2. What is parallel processing? Parallel processing refers to the concept of speeding-up the execution of a program, by dividing the program into multiple fragments that can execute simultaneously, each on its own processor. A program being executed across n-processor might execute n-times faster than it would be using a single processor. 3. State the different types of hazard that can occur in a pipeline. Types of hazards in pipeline Structural hazards It arises from resource conflicts when the hardware cannot support all possible combination of instructions in simultaneous overlapped execution.

17 Data hazards It arises when an instruction depends on the result of a previous instruction. Control hazards It arises from pipelining of branches and other instructions that change the program counter. 4. Define nanoprogramming. Micro instructions are stored in the micro memory (control memory). There is a chance that a group of micro instructions may occur several times in a micro program. As a result the more memory space is needed. By making use of the nano memory we can have significant saving in the memory when a group of micro operations occur several times in a micro program. These n micro instructions can be held in a separate memory called the nano memory of size nb bits. Each of these n bits occurs once in the nano memory. Each micro instruction in the original micro program is replaced by the address that specifies the location of the nano memory in which the original B bit wide micro instructions are held. The micro program control unit reads an address from the micro program. The contents of this address in the nano memory are the desired control word. The bits in the control word are used by the control unit to accomplish the desired operation. The control unit employing the nano memory (two level) is slower than the one using a conventional control memory (single memory). This is because the nano memory requires two memory reads (one for the control memory the other for the nano memory). 5. What is pipelining? Pipelining is a technique of decomposing a sequential process in to sub processes with each sub process being executed in a special dedicated segment that operates concurrently with all other programs. 6. How do control instructions like branch, cause problems in a pipelined processor? Pipelined processor gives the best throughput for sequenced line instruction. In branch instruction, as it has to calculate the target address, whether the instruction jump from one memory location to other. In the meantime, before calculating the larger, the next sequence instructions are got into the pipelines, which are rolled back, when target is calculated. 7. What is meant by super scalar processor? Super scalar processors are designed to exploit more instruction level parallelism in user programs. This means that multiple functional units are used. With such an arrangement it is possible to start the execution of several instructions in every clock cycle. This mode of operation is called super scalar execution. 8. Define pipeline speedup. Speed up is the ratio of the average instruction time without pipelining to the average instruction time with pipelining.

18 Speedup= Average instruction time without pipelining Average instruction time with pipelining 9. What is pipelined computer? When a hardware is divided in to a number of sub units so as to perform the sub operations in an overlapped fashion is called as a pipelined computer. 10. List the various pipelined processors. 8086, 8088, 80286, STAR 100, CRAY 1 and CYBER 205 etc. 11. Classify the pipeline computers. Based on level of processing processor pipeline, instruction pipeline, arithmetic pipelines Based on number of functions Uni-functional and multi functional pipelines. Based on the configuration Static and Dynamic pipelines and linear and non linear pipelines Based on type of input Scalar and vector pipelines. 12. Give the basic structure of the pipeline processor. R 1 S1 R 2 S2 R 3 Sn R N 13. Define efficiency of a linear pipeline? Efficiency of a linear pipeline can be defined as percentage of busy time space plan over the total time space span. This is equal to sum of all busy and idle time-space spans. N = [bkt/k[kn + (n-1) T] = n/k + (n-1) Where N number of tasks. K number of pipeline stages. T clock period of linear pipeline. 14. Define reservation table of a pipeline processor. Reservation table represents the flow of data through pipeline for one complete evaluation of a given function. 15. Explain the need of an instruction buffer in a pipelined CPU.

19 In order to increase the computational speed of the pipeline processor the instructions are fetched in advance and will be placed in the instruction buffer. 16. Define arithmetic pipeline? Where it is used? A pipeline processor which is designed to perform arithmetic operations (fixed point or floating point arithmetic pipeline) is called arithmetic pipeline. An arithmetic pipeline receives multiple data as inputs and performs the designated operation on the data. Arithmetic pipelines are used in the high-speed computers where a same type of operation has to be performed repeatedly on a set of data items. 17. What is Vectorizer? The process to replace a block of sequential code by vector instructions is called vectorization. The system software, which generates parallelism, is called as vectorizing compiler. 18. Write down the expression for speedup factor in a pipelined architecture. The speedup for a pipeline computer is S = (k + n -1) tp Where K number of segments in a pipeline N number of instructions to be executed. Tp cycle time 19. Explain the delayed branch concept. When a branch instruction is encountered it delays the pipeline operation until the instruction at the branch address is fetched. The method used in most RISC processors is to rely on the compilers to redefine the branches so that they take at proper time in the pipeline. This method is called delayed branch. 20. What are the problems faced in instruction pipeline. Resource conflicts Caused by access to the memory by two at the same time. Most of the conflicts can be resolved by using separate instruction and data memories. Data dependency Arises when an instruction depends on the results of the previous instruction but this result is not yet available. Branch difficulties Arises from branch and other instruction that change the value of PC (Program Counter).

20 CHAPTER 6 UNIT 4 ---MEMORY SYSTEM 1. Distinguish between the write-through and write-back policies pointing out their merits and demerits. When the CPU finds a word in the cache during a read operation the main memory is not involved in the transfer however if the operation is a write, there are two ways that the system can proceed. The simplest and most commonly used procedure is to update main memory with every memory write operation with cache memory being updated in parallel if it contains the word at the specified address. This is called write-through method. This method has an advantage that main memory always contains the same data as the cache. This care is important in systems with DMA transfers. This method is simple to implement. This disadvantage is that it requires time to write data in main memory resulting in traffic. The 2 nd procedure is called write-back method. In this method only the cache location is updated during a write operation. The location is then marked by a flag so that later when the block is removed from the cache, the changes are copied in to main memory. The disadvantage is that main memory may contain inconsistent data. 2. What is the necessary of virtual memory? Virtual memory is an important concept related to memory management. It is used to increase the apparent size of main memory at a very low cost. Data are addressed in a virtual address space that can be as large as the addressing capability of CPU. 3. Define hit ratio. When a processor refers a data item from a cache, if the referenced item is in the cache, then such a reference is called Hit. If the referenced data is not in the cache, then it is called miss Hit ratio is defined as the ratio of number of Hits to number of references. Hit ratio = = Number of Hits Total Number of references Number of Hits Hits + Misses 4. What is meant by memory interleaving? Show the distribution of addresses for a memory system consisting of two banks of four 1k memory modules to form an 8k memory system. Give the man memory address format. The memory interleaving is a more effective way to address memory modules. The low order k bits of the memory address select a module, and high order m bits name a location within module. Here consecutive addresses are located in consecutive modules.

21 M bits Address in Module K bits Module MM Address ABR Module 0 Module 1 Module 2 k - 1 Total memory = 8k No. of address lines = 13 1k 1k Memory Bank 0 1k 1k Memory Bank 1 (Capacity 1K) (Capacity 1K) 1k 1k 1k 1k Since we have 2 banks K bit = 1 (To differentiate bank 0 and bank 1) k bits 12 bits 1 bit For bank selection Address in Module 5. What is TLB? What is its significance? Translation look aside buffer is a small cache incorporated in memory management unit. It consists of page table entries that correspond to most recently accessed pages. Significance The TLB enables faster address computing It contains 64 to 256 entries 6. What is virtual memory? Virtual memory is an important concept related to memory management. It is used to increase the apparent size of main memory at a very low cost. Data are addressed in a virtual address space that can be as large as the addressing capability of CPU. 7. What is the necessary for memory hierarchy? Memory hierarchy The major objective of designing memory hierarchy system is to provide adequate storage capacity with acceptable level of performance at a reasonable cost.

22 8. How cache memory is used to reduce the execution time. If active portions of the program and data are placed in a fast small memory, the average memory access time can be reduced, thus reducing the total execution time of the program. Such a fast small memory is called as cache memory. 9. Define memory interleaving. In order to carry out two or more simultaneous access to memory, the memory must be partitioned in to separate modules. The advantage of a modular memory is that it allows the interleaving i.e consecutive addresses are assigned to different memory module. 10. In many computers the cache block size is in the range 32 to 128 bytes. What would be the main advantages and disadvantages of making the size of the cache blocks larger or smaller? Larger the size of the cache fewer be the cache misses if most of the data in the block are actually used. It will be wasteful if much of the data are not used before the cache block is moved from cache. Smaller size means more misses. 11. What is the function of a TLB? (Translation Look-aside Buffer) A small cache, called the Translation Look aside Buffer (TLB) is interporated into the memory management unit, which consists of the page table entries that corresponding to the most recently accessed paper. 12. An eight-way set-associative cache consists of a total of 256 blocks. The main memory contains 8192 blocks, each consisting of 128 words. 1. How many bits are there in the main memory address? 2. How many bits are there in the TAG, SET and WORD fields? The main memory contains of 256 blocks, and each block consists of 128 words. Total words in MM = 8192 X 128 = To address words we required (2 20 = ) 20 bits 13. What do you understand by Hit ratio? Hit ratio is a concept defined for any two adjacent level of a memory hierarchy. When information is found in cache we call it a hit, otherwise miss. This hit and miss ratio is used to measure the performance of cache. 14. Define locality of reference. What are its types? During the course of execution of a program memory references by the processor for both the instruction and the data tends to cluster. There are two types: 1. Spatial Locality 2. Temporal Locality 15. List the factors that determine the storage device performance. The storage device performance based on the following factors: Address reference statistics Access time storage capacity Block size Allocation algorithm

23 16. How many 128 x 8 RAM chips are needed to provide a memory capacity of 2048 bytes? 2 (128 x 8) RAM Chips 17. What is memory system? Every computer contains several types of devices to store the instructions and data required for its operation. These storage devices plus the algorithm-implemented by hardware and/or software-needed to manage the stored information form the memory system of computer. 18. Give the classification of memory. They can be placed into 4 groups. CPU registers Main memory Secondary memory Cache 19. Define CPU register, Main memory, Secondary memory, Cache. CPU registers: These high speed registers in the CPU serve as the working memory for temporary storage of instruction and data. Main memory: This large, fairly fast external memory stores programs and data that are in active use. Storage locations in main memory are addressed directly by CPU s load and store instruction. Secondary memory: This is larger in capacity but much slower than main memory. Secondary memory stores systems programs, larger data files that are not continuously required by CPU. Cache: Most computers have another level of IC memory-sometimes several such levels called cache memory, which is positioned logically between the CPU registers and main memory. 20. Give the multilevel hierarchy of storage devices. The goal of every memory system is to provide adequate storage capacity with an acceptable level of performance and cost. We can achieve these goals by employing several memory types with different cost/performance ratios-that are organized to provide a high average performance at a low average cost per bit. The individual memory units form a multilevel hierarchy of storage devices. 21. What is Read Access Time? A basic performance measure is the average time to read a fixed amount of information, for instance, one word, from the memory. This parameter is called the read access time. 22. Define Random Access Memory. It storage locations can be accessed in any order and access time is independent of the location being accessed, the memory is termed a random-access memory. 23. What is Serial Access Memory? Memories whose storage locations can be accessed only in a certain predetermined sequence called serial access time.

24 24. What is Semi Random Access? Memory devices such as magnetic hard disks and CD-ROMs contain many rotating storage tracks. If each track has its own read write head, the tracks can be accessed randomly, but access within each track is serial. In such cases the access mode is semi random. 25. What is ROM? Memories whose contents cannot be altered online if they can be altered at all are read only memories. 26. What are PROMs? Semi conductor ROMs whose contents can be changed offline with some difficulties is called PROMs. 27. What is destructive readout? In some memories the method of reading the memories destroys the stored information, this phenomenon is called destructive read out memory. 28. What do you mean by NDRO. Memories in which reading does not affect the stored data have non destructive read out data. 29. Define memory refreshing. Memory refreshing is defined as the process of regaining the lost charge for this continuous refreshing is needed. 30. What is SRAM and DRAM? SRAM Static random access memory. It tends to be faster. They require no refreshing. DRAM Dynamic random access memory. Data is stored in the form of charges. So continuous refreshing is needed. 31. What is volatile memory? A memory is volatile if the loss of power destroys the stored information. Information can be stored indefinitely in a volatile memory by providing battery backup or other means to maintain a continuous supply of power. 32. What is cycle time of memory? The minimum time that must elapse between the start of two consecutive access operations can be greater than T a. this elapsed time is called the cycle time. 33. What is MTBF? Mean Time Before Failure. It is used to measure reliability. Memories with no moving parts have much higher reliability than memories such as magnetic disks. 34. Give the categories of semiconductor memories. The semi conductor memories fall into two categories. They are 1. SRAM 2. DRAM

25 35. What is flash memory? A recent semiconductor technology called flash memory of a same non-volatility as a PROM, but it can be done a bit at a time. 36. Mention the causes of access a block of data in serial access memory. Long access time is due to several factors. The read-write head positioning time. The relatively slow speed at which the tracks move. The fact that the data transfer to and from the memory is serial rather than parallel. 37. How will you calculate time T b to access a block of data in serial access memory? The time T b taken to access the block of data is T b = T s + 1/2r + n/rn 38. What is a multilevel memory? A computers memory unit form a hierarchy of different memory type in which each member is in some sense subordinate to next highest member of hierarchy. 39. What is split cache? A cache which has two separate areas for storing instructions ( I- cache) and data ( d- cache) is called split cache. 40. Give the basic structure of cache and what is its use? Cache and main memory form a district sub hierarchy whose design objective is to support CPU access with a minimum of delay. Hence hardware controllers that are transparent to both user and system programs usually manage this sub hierarchy. 41. What is cache data memory? Memory words are stored in cache data memory and are grouped into small pages called cache blocks or lines. The contents of the cache s data memory are thus copies of a set of main memory blocks. 42. Mention two system organizations for caches. Two system organization for caches are Look aside Look through 43. What is associate memory? In associative memory each unit of stored information is fixed length word. Any sub field of the word can be chosen as the key. The desired key is specified by a mask register, whose contents identify the bit positions that define the key. It has a select circuit which enables the data field to be accessed. 44. Define seek time and latency time. The average time to move a head from one track is seek time (T s ) of the memory. Once the head is in position, the desired cell may be in the wrong part of the moving track. Some time is required for the cell to reach the read/write head so that data transfer can begin. The average time for this movement to take place is the latency time (T 1 ).

26 45. Mention two kinds of address locality to achieve their goal. Two kinds address locality to achieve their goals are Associative addressing or content addressing. Direct mapping. 46. What is the use of magnetic tape memories in today s usage? The magnetic tape unit is one of the oldest and cheapest forms of mass memory. Its main use today is to provide backup storage for a computer system in the event of failure of its hard disk sub system. 47. What is DVD? A much denser type of CD digital video has recently been introduced in both read-only and read-write forms. With two recording surfaces and two storage layers per surface, a DVD can have a capacity as high as 16GB. 48. Define magneto optical disk. A magneto-optical disk memory uses rotating disks that store information in magnetic form but are accessed by a laser beam similar to that in a CD-ROM drive. Like a magnetic disk, a magneto optical disk has a magnetizable surface coating whose direction of magnetization can be polarized.

27 CHAPTER 7 UNIT INPUT OUTPUT ORGANIZATION 1. Distinguish between memory mapped I/O and I/O mapped I/O. Memory mapped I/O: When I/O devices and the memory share the same address space, the arrangement is called memorymapped I/O. The machine instructions that can access memory is used to transfer data to or from an I/O device. Bus Processor Memory I/O Device1 I/O Device n Single-Bus Structure: For example, if DATAIN is the address of the input buffer of keyboard, the instruction. MOVE DATAIN, R0 Reads the data from DATAIN and stores them into processor register R0. Similarly if DATAOUT is the address of the output buffer of a display unit or printer, the instruction. MOVE R0, DATAOUT sends the data from R0 to location DATAOUT. I/O mapped I/O: Here the I/O devices the memories have different address space. It has special I/O instructions. The advantage of a separate I/O address space is that I/O devices deals with fewer address lines. 2. Consider a computer in which several devices are to be serviced interrupts. How do you handle this it the processor has only one request line? Daisy Chain: Consider the problem of simultaneous request from two or more devices. The processor has to decide which request to be serviced first. Polling the status register of the I/O devices is the simplest scheme. Priority is determined by the order in which devices are polled. In daisy chain scheme, interrupt request line INTR is common to all devices. The interrupt acknowledgement INTA, propagates serially through the devices. When several devices raise an interrupt request, the processor responds by setting INTA line to 1. The signal is received by device 1. Device 1 passes the signal on to device 2 only if it does not require any service. If device 1 has a pending request for interrupt, it blocks the INTA signal and proceeds to put its device identifying code on the data lines. Therefore, in daisy chain arrangement, the device that is closest to the processor has the highest priority. Processor INTA INTR Device 1 Device 2 Device n DAISY CHAIN

28 3. What is DMA? DMA (Direct Memory Access) provides I/O transfer of data directly to and from the memory unit and the peripheral. 4. Define Peripherals? Peripheral refers to any external devices connected to a computer. Computer peripherals can be divided into two categories according to their functions. I/O peripherals: Keyboard, Mouse, Video Display Unit, Printer. Storage Function: Secondary Memories, Mass Storage Device. Eg: CD, Hard disk, Magnetic disk, Magnetic tape. 5. Distinguish between a synchronous bus and an asynchronous bus. In synchronous bus both the transmitting and receiving devices use same clock for interpretation of individual bits. Synchronous buses can operate with lower latency and higher bandwith. In an asynchronous bus, the sender and the receiver generate their clock signals independently. It uses start stop bit for data transmission LSB Start bit 1 bit 1 or 2 Time stop bit 6. How does a processor handle an interrupt? Main program Interrupt service routine (ISR) i. i+1 m Assume that an interrupt request arises during execution of instruction i. steps to handle interrupt by the processor is as follow: 1. Processor completes execution of instruction i 2. Processor saves the PC value, program status on to stack. 3. It loads the PC with starting address of ISR 4. After ISR is executed, the processor resumes the main program execution by reloading PC with (i+1) th instruction address. 7. Define dumb terminal

QUESTION BANK UNIT-I. 4. With a neat diagram explain Von Neumann computer architecture

QUESTION BANK UNIT-I. 4. With a neat diagram explain Von Neumann computer architecture UNIT-I 1. Write the basic functional units of computer? (Nov/Dec 2014) 2. What is a bus? What are the different buses in a CPU? 3. Define multiprogramming? 4.List the basic functional units of a computer?

More information

MaanavaN.Com CS1202 COMPUTER ARCHITECHTURE

MaanavaN.Com CS1202 COMPUTER ARCHITECHTURE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1202/COMPUTER ARCHITECHTURE YEAR / SEM: II / III UNIT I BASIC STRUCTURE OF COMPUTER 1. What is meant by the stored program

More information

UNIT I BASIC STRUCTURE OF COMPUTERS Part A( 2Marks) 1. What is meant by the stored program concept? 2. What are the basic functional units of a

UNIT I BASIC STRUCTURE OF COMPUTERS Part A( 2Marks) 1. What is meant by the stored program concept? 2. What are the basic functional units of a UNIT I BASIC STRUCTURE OF COMPUTERS Part A( 2Marks) 1. What is meant by the stored program concept? 2. What are the basic functional units of a computer? 3. What is the use of buffer register? 4. Define

More information

2 MARKS Q&A 1 KNREDDY UNIT-I

2 MARKS Q&A 1 KNREDDY UNIT-I 2 MARKS Q&A 1 KNREDDY UNIT-I 1. What is bus; list the different types of buses with its function. A group of lines that serves as a connecting path for several devices is called a bus; TYPES: ADDRESS BUS,

More information

CS2253 COMPUTER ORGANIZATION AND ARCHITECTURE 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY

CS2253 COMPUTER ORGANIZATION AND ARCHITECTURE 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY CS2253 COMPUTER ORGANIZATION AND ARCHITECTURE 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Sub. Code & Name: CS2253 Computer organization and architecture Year/Sem

More information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015 Advanced Parallel Architecture Lesson 3 Annalisa Massini - 2014/2015 Von Neumann Architecture 2 Summary of the traditional computer architecture: Von Neumann architecture http://williamstallings.com/coa/coa7e.html

More information

CS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS

CS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS CS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS UNIT-I OVERVIEW & INSTRUCTIONS 1. What are the eight great ideas in computer architecture? The eight

More information

ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS

ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS 1.Define Computer Architecture Computer Architecture Is Defined As The Functional Operation Of The Individual H/W Unit In A Computer System And The

More information

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU Hardwired and Microprogrammed Control For each instruction, the control unit causes the CPU to execute a sequence of steps correctly. In reality, there must be control signals to assert lines on various

More information

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers. Set No. 1 IV B.Tech I Semester Supplementary Examinations, March - 2017 COMPUTER ARCHITECTURE & ORGANIZATION (Common to Electronics & Communication Engineering and Electronics & Time: 3 hours Max. Marks:

More information

UNIT-II. Part-2: CENTRAL PROCESSING UNIT

UNIT-II. Part-2: CENTRAL PROCESSING UNIT Page1 UNIT-II Part-2: CENTRAL PROCESSING UNIT Stack Organization Instruction Formats Addressing Modes Data Transfer And Manipulation Program Control Reduced Instruction Set Computer (RISC) Introduction:

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 Data representation: (CHAPTER-3) 1. Discuss in brief about Data types, (8marks)

More information

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR. Q.1 Define MBR. MBR( Memory buffer register) A Memory Buffer Register (MBR) is the register in a computers processor that stores the data being transferred to and from the devices It allowing the processor

More information

PIPELINE AND VECTOR PROCESSING

PIPELINE AND VECTOR PROCESSING PIPELINE AND VECTOR PROCESSING PIPELINING: Pipelining is a technique of decomposing a sequential process into sub operations, with each sub process being executed in a special dedicated segment that operates

More information

SAE5C Computer Organization and Architecture. Unit : I - V

SAE5C Computer Organization and Architecture. Unit : I - V SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy

More information

UNIT I DATA REPRESENTATION, MICRO-OPERATIONS, ORGANIZATION AND DESIGN

UNIT I DATA REPRESENTATION, MICRO-OPERATIONS, ORGANIZATION AND DESIGN UNIT I DATA REPRESENTATION, MICRO-OPERATIONS, ORGANIZATION AND DESIGN Data representation: Data types, complements, fixed point representation, floating-point representation, other binary codes, error

More information

Computer Architecture

Computer Architecture Computer Architecture Lecture 1: Digital logic circuits The digital computer is a digital system that performs various computational tasks. Digital computers use the binary number system, which has two

More information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015 Advanced Parallel Architecture Lesson 3 Annalisa Massini - Von Neumann Architecture 2 Two lessons Summary of the traditional computer architecture Von Neumann architecture http://williamstallings.com/coa/coa7e.html

More information

ASSEMBLY LANGUAGE MACHINE ORGANIZATION

ASSEMBLY LANGUAGE MACHINE ORGANIZATION ASSEMBLY LANGUAGE MACHINE ORGANIZATION CHAPTER 3 1 Sub-topics The topic will cover: Microprocessor architecture CPU processing methods Pipelining Superscalar RISC Multiprocessing Instruction Cycle Instruction

More information

Module 5 - CPU Design

Module 5 - CPU Design Module 5 - CPU Design Lecture 1 - Introduction to CPU The operation or task that must perform by CPU is: Fetch Instruction: The CPU reads an instruction from memory. Interpret Instruction: The instruction

More information

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY. Department of Computer science and engineering

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY. Department of Computer science and engineering DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY Department of Computer science and engineering Year :II year CS6303 COMPUTER ARCHITECTURE Question Bank UNIT-1OVERVIEW AND INSTRUCTIONS PART-B

More information

Processing Unit CS206T

Processing Unit CS206T Processing Unit CS206T Microprocessors The density of elements on processor chips continued to rise More and more elements were placed on each chip so that fewer and fewer chips were needed to construct

More information

Computer Organization and Assembly Language (CS-506)

Computer Organization and Assembly Language (CS-506) Computer Organization and Assembly Language (CS-506) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 2 Memory Organization and Structure

More information

Chapter 3 : Control Unit

Chapter 3 : Control Unit 3.1 Control Memory Chapter 3 Control Unit The function of the control unit in a digital computer is to initiate sequences of microoperations. When the control signals are generated by hardware using conventional

More information

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter IT 3123 Hardware and Software Concepts Notice: This session is being recorded. CPU and Memory June 11 Copyright 2005 by Bob Brown Latches Can store one bit of data Can be ganged together to store more

More information

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I UNIT-I 1. List and explain the functional units of a computer with a neat diagram 2. Explain the computer levels of programming languages 3. a) Explain about instruction formats b) Evaluate the arithmetic

More information

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60 M. Sc (CS) (II Semester) Examination, 2012-13 Subject: Computer System Architecture Paper Code: M.Sc-CS-203 Time: Three Hours] [Maximum Marks: 60 Note: Question Number 1 is compulsory. Answer any four

More information

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within

More information

COMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS

COMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS Computer types: - COMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS A computer can be defined as a fast electronic calculating machine that accepts the (data) digitized input information process

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION INPUT-OUTPUT ORGANIZATION Peripheral Devices: The Input / output organization of computer depends upon the size of computer and the peripherals connected to it. The I/O Subsystem of the computer, provides

More information

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III Subject Name: Operating System (OS) Subject Code: 630004 Unit-1: Computer System Overview, Operating System Overview, Processes

More information

MARTHANDAM COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY TWO MARK QUESTIONS AND ANSWERS

MARTHANDAM COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY TWO MARK QUESTIONS AND ANSWERS MARTHANDAM COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY TWO MARK QUESTIONS AND ANSWERS SUB NAME: COMPUTER ORGANIZATION AND ARCHITECTTURE SUB CODE: CS 2253 YEAR/SEM:II/IV Marthandam

More information

Computer Organization

Computer Organization INF 101 Fundamental Information Technology Computer Organization Assistant Prof. Dr. Turgay ĐBRĐKÇĐ Course slides are adapted from slides provided by Addison-Wesley Computing Fundamentals of Information

More information

Computer Organization

Computer Organization Computer Organization It describes the function and design of the various units of digital computers that store and process information. It also deals with the units of computer that receive information

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST III Date : 21/11/2017 Max Marks : 40 Subject & Code : Computer Organization (15CS34) Semester : III (A & B) Name of the faculty: Mrs. Sharmila Banu Time : 11.30 am 1.00 pm Answer

More information

COMPUTER ORGANIZATION AND ARCHITECTURE

COMPUTER ORGANIZATION AND ARCHITECTURE COMPUTER ORGANIZATION AND ARCHITECTURE For COMPUTER SCIENCE COMPUTER ORGANIZATION. SYLLABUS AND ARCHITECTURE Machine instructions and addressing modes, ALU and data-path, CPU control design, Memory interface,

More information

Computer Organization and Assembly Language

Computer Organization and Assembly Language Computer Organization and Assembly Language Week 01 Nouman M Durrani COMPUTER ORGANISATION AND ARCHITECTURE Computer Organization describes the function and design of the various units of digital computers

More information

THE MICROCOMPUTER SYSTEM CHAPTER - 2

THE MICROCOMPUTER SYSTEM CHAPTER - 2 THE MICROCOMPUTER SYSTEM CHAPTER - 2 20 2.1 GENERAL ASPECTS The first computer was developed using vacuum tubes. The computers thus developed were clumsy and dissipating more power. After the invention

More information

Course Description: This course includes concepts of instruction set architecture,

Course Description: This course includes concepts of instruction set architecture, Computer Architecture Course Title: Computer Architecture Full Marks: 60+ 20+20 Course No: CSC208 Pass Marks: 24+8+8 Nature of the Course: Theory + Lab Credit Hrs: 3 Course Description: This course includes

More information

COMPUTER ORGANIZATION AND ARCHITECTURE

COMPUTER ORGANIZATION AND ARCHITECTURE Page 1 1. Which register store the address of next instruction to be executed? A) PC B) AC C) SP D) NONE 2. How many bits are required to address the 128 words of memory? A) 7 B) 8 C) 9 D) NONE 3. is the

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

Basic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control,

Basic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control, UNIT - 7 Basic Processing Unit: Some Fundamental Concepts, Execution of a Complete Instruction, Multiple Bus Organization, Hard-wired Control, Microprogrammed Control Page 178 UNIT - 7 BASIC PROCESSING

More information

Computer Systems Organization

Computer Systems Organization The IAS (von Neumann) Machine Computer Systems Organization Input Output Equipment Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions

More information

Q.1 Explain Computer s Basic Elements

Q.1 Explain Computer s Basic Elements Q.1 Explain Computer s Basic Elements Ans. At a top level, a computer consists of processor, memory, and I/O components, with one or more modules of each type. These components are interconnected in some

More information

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics Computer and Hardware Architecture I Benny Thörnberg Associate Professor in Electronics Hardware architecture Computer architecture The functionality of a modern computer is so complex that no human can

More information

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital hardware modules that accomplish a specific information-processing task. Digital systems vary in

More information

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals.

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. 1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. A typical communication link between the processor and

More information

b) Write basic performance equation.

b) Write basic performance equation. 1. a) What is use of buffers? Ans: The Buffer Register prevents the high speed processor from being locked to a slow I/O device during a sequence of data transfer or reduces speed mismatch between faster

More information

STRUCTURE OF DESKTOP COMPUTERS

STRUCTURE OF DESKTOP COMPUTERS Page no: 1 UNIT 1 STRUCTURE OF DESKTOP COMPUTERS The desktop computers are the computers which are usually found on a home or office desk. They consist of processing unit, storage unit, visual display

More information

Chapter 12. CPU Structure and Function. Yonsei University

Chapter 12. CPU Structure and Function. Yonsei University Chapter 12 CPU Structure and Function Contents Processor organization Register organization Instruction cycle Instruction pipelining The Pentium processor The PowerPC processor 12-2 CPU Structures Processor

More information

DC57 COMPUTER ORGANIZATION JUNE 2013

DC57 COMPUTER ORGANIZATION JUNE 2013 Q2 (a) How do various factors like Hardware design, Instruction set, Compiler related to the performance of a computer? The most important measure of a computer is how quickly it can execute programs.

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

k -bit address bus n-bit data bus Control lines ( R W, MFC, etc.)

k -bit address bus n-bit data bus Control lines ( R W, MFC, etc.) THE MEMORY SYSTEM SOME BASIC CONCEPTS Maximum size of the Main Memory byte-addressable CPU-Main Memory Connection, Processor MAR MDR k -bit address bus n-bit data bus Memory Up to 2 k addressable locations

More information

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CREATED BY M BILAL & Arslan Ahmad Shaad Visit: CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor

More information

Summary of Computer Architecture

Summary of Computer Architecture Summary of Computer Architecture Summary CHAP 1: INTRODUCTION Structure Top Level Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output

More information

Chapter 5. Large and Fast: Exploiting Memory Hierarchy

Chapter 5. Large and Fast: Exploiting Memory Hierarchy Chapter 5 Large and Fast: Exploiting Memory Hierarchy Principle of Locality Programs access a small proportion of their address space at any time Temporal locality Items accessed recently are likely to

More information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science ã Cengage Learning Objectives After studying this chapter, the student should be able to: q List the three subsystems of a computer. q Describe

More information

LECTURE 11. Memory Hierarchy

LECTURE 11. Memory Hierarchy LECTURE 11 Memory Hierarchy MEMORY HIERARCHY When it comes to memory, there are two universally desirable properties: Large Size: ideally, we want to never have to worry about running out of memory. Speed

More information

Computer System Overview

Computer System Overview Computer System Overview Operating Systems 2005/S2 1 What are the objectives of an Operating System? 2 What are the objectives of an Operating System? convenience & abstraction the OS should facilitate

More information

Computer Organization CS 206 T Lec# 2: Instruction Sets

Computer Organization CS 206 T Lec# 2: Instruction Sets Computer Organization CS 206 T Lec# 2: Instruction Sets Topics What is an instruction set Elements of instruction Instruction Format Instruction types Types of operations Types of operand Addressing mode

More information

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2. BASIC ELEMENTS Simplified view: Processor Slide 1 Computer System Overview Operating Systems Slide 3 Main Memory referred to as real memory or primary memory volatile modules 2004/S2 secondary memory devices

More information

Basics of Microprocessor

Basics of Microprocessor Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured

More information

CS6303-COMPUTER ARCHITECTURE UNIT I OVERVIEW AND INSTRUCTIONS PART A

CS6303-COMPUTER ARCHITECTURE UNIT I OVERVIEW AND INSTRUCTIONS PART A CS6303-COMPUTER ARCHITECTURE UNIT I OVERVIEW AND INSTRUCTIONS 1. Define Computer Architecture 2. Define Computer H/W 3. What are the functions of control unit? 4. 4.Define Interrupt 5. What are the uses

More information

CHAPTER 4 MARIE: An Introduction to a Simple Computer

CHAPTER 4 MARIE: An Introduction to a Simple Computer CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 177 4.2 CPU Basics and Organization 177 4.2.1 The Registers 178 4.2.2 The ALU 179 4.2.3 The Control Unit 179 4.3 The Bus 179 4.4 Clocks

More information

Eastern Mediterranean University School of Computing and Technology CACHE MEMORY. Computer memory is organized into a hierarchy.

Eastern Mediterranean University School of Computing and Technology CACHE MEMORY. Computer memory is organized into a hierarchy. Eastern Mediterranean University School of Computing and Technology ITEC255 Computer Organization & Architecture CACHE MEMORY Introduction Computer memory is organized into a hierarchy. At the highest

More information

Micro-Operations. execution of a sequence of steps, i.e., cycles

Micro-Operations. execution of a sequence of steps, i.e., cycles Micro-Operations Instruction execution execution of a sequence of steps, i.e., cycles Fetch, Indirect, Execute & Interrupt cycles Cycle - a sequence of micro-operations Micro-operations data transfer between

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Seventh Edition By William Stallings Objectives of Chapter To provide a grand tour of the major computer system components:

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

Computer Organization and Technology Processor and System Structures

Computer Organization and Technology Processor and System Structures Computer Organization and Technology Processor and System Structures Assoc. Prof. Dr. Wattanapong Kurdthongmee Division of Computer Engineering, School of Engineering and Resources, Walailak University

More information

Blog - https://anilkumarprathipati.wordpress.com/

Blog - https://anilkumarprathipati.wordpress.com/ Control Memory 1. Introduction The function of the control unit in a digital computer is to initiate sequences of microoperations. When the control signals are generated by hardware using conventional

More information

3.1 Description of Microprocessor. 3.2 History of Microprocessor

3.1 Description of Microprocessor. 3.2 History of Microprocessor 3.0 MAIN CONTENT 3.1 Description of Microprocessor The brain or engine of the PC is the processor (sometimes called microprocessor), or central processing unit (CPU). The CPU performs the system s calculating

More information

Pipeline and Vector Processing 1. Parallel Processing SISD SIMD MISD & MIMD

Pipeline and Vector Processing 1. Parallel Processing SISD SIMD MISD & MIMD Pipeline and Vector Processing 1. Parallel Processing Parallel processing is a term used to denote a large class of techniques that are used to provide simultaneous data-processing tasks for the purpose

More information

Chapter 17. Microprogrammed Control. Yonsei University

Chapter 17. Microprogrammed Control. Yonsei University Chapter 17 Microprogrammed Control Contents Basic Concepts Microinstruction Sequencing Microinstruction Execution TI 8800 Applications of Microprogramming 17-2 Introduction Basic Concepts An alternative

More information

Chapter 4. Cache Memory. Yonsei University

Chapter 4. Cache Memory. Yonsei University Chapter 4 Cache Memory Contents Computer Memory System Overview Cache Memory Principles Elements of Cache Design Pentium 4 and Power PC Cache 4-2 Key Characteristics 4-3 Location Processor Internal (main)

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

Top-Level View of Computer Organization

Top-Level View of Computer Organization Top-Level View of Computer Organization Bởi: Hoang Lan Nguyen Computer Component Contemporary computer designs are based on concepts developed by John von Neumann at the Institute for Advanced Studies

More information

CPU issues address (and data for write) Memory returns data (or acknowledgment for write)

CPU issues address (and data for write) Memory returns data (or acknowledgment for write) The Main Memory Unit CPU and memory unit interface Address Data Control CPU Memory CPU issues address (and data for write) Memory returns data (or acknowledgment for write) Memories: Design Objectives

More information

Chapter 1: Basics of Microprocessor [08 M]

Chapter 1: Basics of Microprocessor [08 M] Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)

More information

MICROPROGRAMMED CONTROL

MICROPROGRAMMED CONTROL MICROPROGRAMMED CONTROL Hardwired Control Unit: When the control signals are generated by hardware using conventional logic design techniques, the control unit is said to be hardwired. Micro programmed

More information

Memory. Objectives. Introduction. 6.2 Types of Memory

Memory. Objectives. Introduction. 6.2 Types of Memory Memory Objectives Master the concepts of hierarchical memory organization. Understand how each level of memory contributes to system performance, and how the performance is measured. Master the concepts

More information

JNTUWORLD. 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15]

JNTUWORLD. 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15] Code No: 09A50402 R09 Set No. 2 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15] 2. (a) Discuss asynchronous serial transfer concept? (b) Explain in

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline

More information

Characteristics of Memory Location wrt Motherboard. CSCI 4717 Computer Architecture. Characteristics of Memory Capacity Addressable Units

Characteristics of Memory Location wrt Motherboard. CSCI 4717 Computer Architecture. Characteristics of Memory Capacity Addressable Units CSCI 4717/5717 Computer Architecture Topic: Cache Memory Reading: Stallings, Chapter 4 Characteristics of Memory Location wrt Motherboard Inside CPU temporary memory or registers Motherboard main memory

More information

Digital System Design Using Verilog. - Processing Unit Design

Digital System Design Using Verilog. - Processing Unit Design Digital System Design Using Verilog - Processing Unit Design 1.1 CPU BASICS A typical CPU has three major components: (1) Register set, (2) Arithmetic logic unit (ALU), and (3) Control unit (CU) The register

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION Introduction :- An exploits the hardware resources of one or more processors to provide a set of services to system users. The OS also manages secondary memory and I/O devices on behalf of its users. So

More information

Computer Organisation CS303

Computer Organisation CS303 Computer Organisation CS303 Module Period Assignments 1 Day 1 to Day 6 1. Write a program to evaluate the arithmetic statement: X=(A-B + C * (D * E-F))/G + H*K a. Using a general register computer with

More information

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating

More information

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University Chapter 3 Top Level View of Computer Function and Interconnection Contents Computer Components Computer Function Interconnection Structures Bus Interconnection PCI 3-2 Program Concept Computer components

More information

WEEK 7. Chapter 4. Cache Memory Pearson Education, Inc., Hoboken, NJ. All rights reserved.

WEEK 7. Chapter 4. Cache Memory Pearson Education, Inc., Hoboken, NJ. All rights reserved. WEEK 7 + Chapter 4 Cache Memory Location Internal (e.g. processor registers, cache, main memory) External (e.g. optical disks, magnetic disks, tapes) Capacity Number of words Number of bytes Unit of Transfer

More information

Chapter 3 - Top Level View of Computer Function

Chapter 3 - Top Level View of Computer Function Chapter 3 - Top Level View of Computer Function Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 3 - Top Level View 1 / 127 Table of Contents I 1 Introduction 2 Computer Components

More information

User. Application program. Interfaces. Operating system. Hardware

User. Application program. Interfaces. Operating system. Hardware Operating Systems Introduction to Operating Systems and Computer Hardware Introduction and Overview The operating system is a set of system software routines that interface between an application program

More information

Chapter Seven Morgan Kaufmann Publishers

Chapter Seven Morgan Kaufmann Publishers Chapter Seven Memories: Review SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: value is stored as a charge on capacitor (must be

More information

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics Chapter 4 Objectives Learn the components common to every modern computer system. Chapter 4 MARIE: An Introduction to a Simple Computer Be able to explain how each component contributes to program execution.

More information

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill Lecture Handout Database Management System Lecture No. 34 Reading Material Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill Modern Database Management, Fred McFadden,

More information

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK SUBJECT : CS6303 / COMPUTER ARCHITECTURE SEM / YEAR : VI / III year B.E. Unit I OVERVIEW AND INSTRUCTIONS Part A Q.No Questions BT Level

More information

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved.

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved. + William Stallings Computer Organization and Architecture 10 th Edition 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. 2 + Chapter 4 Cache Memory 3 Location Internal (e.g. processor registers,

More information

COMPUTER ORGANIZATION & ARCHITECTURE

COMPUTER ORGANIZATION & ARCHITECTURE COMPUTER ORGANIZATION & ARCHITECTURE Instructions Sets Architecture Lesson 5a 1 What are Instruction Sets The complete collection of instructions that are understood by a CPU Can be considered as a functional

More information

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer Lecture 2 Microcomputer Organization: As discussed in previous lecture microprocessor is a central processing unit (CPU) with its related timing functions on a single chip. A microprocessor combined with

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information