Assignment 2 IT254 Solve the following problems: 1. Show the steps of CPU fetch-execute cycle (write a program) for the

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Assignment 2 IT254 Solve the following problems: 1. Show the steps of CPU fetch-execute cycle (write a program) for the

Post by answerhappygod »

Assignment 2 It254 Solve The Following Problems 1 Show The Steps Of Cpu Fetch Execute Cycle Write A Program For The 1
Assignment 2 It254 Solve The Following Problems 1 Show The Steps Of Cpu Fetch Execute Cycle Write A Program For The 1 (39.31 KiB) Viewed 31 times
Assignment 2 IT254 Solve the following problems: 1. Show the steps of CPU fetch-execute cycle (write a program) for the following: a. Adding Subtraction b. C. IN d. OUT Branch 2. Create the fetch-execute cycle for an instruction that moves a value from general-purpose register-1 to general- purpose register-2. Compare this cycle to the cycle for a LOAD instruction. What is the major advantage of the MOVE over the LOAD? 3. A. What is the effect of shifting an unsigned number in a register 2 bits to the left? 1 bit to the right? Assume that Os are inserted to replace bit locations at the end of the register that have become empty due to the shift. B. Suppose the number is signed, that is, stored using 2's complement. Now what is the effect of shifting the number? c. Suppose that the shift excludes the sign bit, so that the sign bit always remains the same. Furthermore, suppose that during a right shift, the sign bit is always used as the insertion bit at the left end of the number (instead of 0). Now what is the effect of these shifts?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply