lecture5

Page 1

Computer Orgnization

Rabie A. Ramadan Lecture 5


DataPath


CPU INSTRUCTION CYCLE

    

Get the instruction from the memory Increment the PC Decode the Instruction Execute it  during execution  is there any interrupt (ex. Keyboard input)? Handling the interrupt or continue executing the instruction is left to the code designer


Execute Simple Arithmetic Operation Group Activity

Show the steps executing the following instruction on One-Bus , two-Bus, and threeBus Organizations:

Add R1, R2, R0 (Add R1 to R2 and save the results in R0) 


One-Bus Organization ď Ź

Add R1, R2, R0


Answer


Two-Bus Organization ď Ź

Add R1, R2, R0


Answer


Two-Bus Organization ď Ź

Add R1, R2, R0


Answer


Three-Bus Organization ď Ź

Add R1, R2, R0


Answer


Assignment Question 

  

Using one, two, and three-bus organizations, show how the following instructions are executed: Note: include the fetch operations Add R1, R2, R3, R0 Add A, B, R0


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.