0 0 votes Common Data Questions (8 and 9): Consider an accumulator-based CPU supports only single address instruction. The CPU supports the following instructions. LOAD A : Load A from memory into accumulator AC. STORE A : Store contents of accumulator AC in memory location M. ADD B : Load B into data register (DR) and add to accumulator. MOVE A, $B$ : Move content of $B$ to $A$. SUB A, B : Subtract B from A: Q. 8 Assume CPU uses the memory referencing and each instruction LOAD, STORE and ADD takes one clock cycle. To compute $Z=X+Y C P U$ takes how many minimum number of clock cycles? (a) 2 (b) 3 (c) 4 (d) 5 Q. 9 How many minimum clock cycles are needed when accumulator becomes O . If each instruction takes one clock cycles? 0 1 2 3 CO & Architecture co-and-architecture made-easy-booklet clock-frequency + – Smriti012 937 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes Q8) LOAD X ADD Y STORE Z So answer should be 3. Kaushik.P.E answered Feb 1, 2017 Kaushik.P.E comment Share Follow See all 3 Comments 3 3 Comments reply Pankaj Joshi commented Feb 1, 2017 reply Follow flag Q9?? 0 0 replyShare Smriti012 commented Feb 1, 2017 reply Follow flag yup!! Mainly 9th was my question... I knew Q8.....Unable to get what is asked in Q9.. 0 0 replyShare Smriti012 commented Feb 1, 2017 reply Follow flag Yes!! answer is 3 for Q8! 0 0 replyShare Please log in or register to add a comment.