Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
10/10/06 1) Write the RTL (Register Transfer Language) for the STORE X instruction: 2) Is the operating system hardware or software? 3) If your program goes into an infinite loop, how does the operating system regain control? 4) Write a MARIE assembly language to read two numbers and determine which is smaller. HLL: read X read Y if X < Y then min = X else min = Y end if output min 10/10/06 5. Continue the “Simple Program” example by showing the steps needed for STORE 106: Step RTN PC IR MAR MBR AC (values after ADD 105) 102 3105 105 FFE9 000C Fetch Decode Get operand Execute 6. What’s wrong with Figure 4.15? (Hint: Consider what would happen if all the registers (MAR, PC, MBR, etc.) are connected to the bus similarly.) 7. How should the registers be connected to the bus? Draw a diagram showing PC (2) and IR (7). D ... D D 15 1 D ... D D 0 15 PC (2) D Q D Q ... D Q (16 FFs) IR (7) D Q D Q ... D Q (16 FFs) P 5 P 4 P 3 Control Unit P 2 P 1 P 0 1 0