4 votes 4 votes A computer has 170 different operations. Word size is 4 bytes one word instructions requires two address fields. One address for register and one address for memory. If there are 37 registers then the memory size is ______________(in KB). Ans. 256KB CO and Architecture co-and-architecture addressing-modes machine-instruction + – Na462 asked Jul 31, 2018 Na462 2.2k views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments Soumya29 commented Aug 1, 2018 i edited by Soumya29 Aug 1, 2018 reply Follow Share @Na462(I don't know your real name) :) when I say memory is of k bits it means that total 2^k words are present and by default every word is of 1 bytes so total 2^k bytes are there,with address given to every byte. There is nothing like that. By default, we consider memory is Byte Addressable. So when you say memory address is of k bits, it means $2^k$ bytes are there. And if say word size is 4 byte then $\frac{2^k}{4}=2^{k-2} \ words$ are there. But if it is given in the question that memory is word addressable then only you can say that memory address is of k bits, it means $2^k$ words are there. And if say word size is 4 byte then $2^k*4=2^{k+2} \ bytes$ are there. 2 votes 2 votes Na462 commented Aug 1, 2018 reply Follow Share Oh thanku so much Soumya that was really important thing you corrected in me. Thanx a lot :) 1 votes 1 votes Deepak Poonia commented Nov 14, 2023 reply Follow Share It is common to have byte addressability, and access words. A word address is defined to be the smallest byte address of the bytes within that word. https://pages.cs.wisc.edu/~markhill/cs354/Fall2008/notes/addressibility.html 0 votes 0 votes Please log in or register to add a comment.
Best answer 3 votes 3 votes Given answer is right. abhishekmehta4u answered Aug 1, 2018 • selected Dec 20, 2018 by Mk Utkarsh abhishekmehta4u comment Share Follow See all 2 Comments See all 2 2 Comments reply Diksha Kiran 1 commented Aug 30, 2018 reply Follow Share How that op and reg are 8 and 6 0 votes 0 votes suneetha commented Oct 1, 2018 reply Follow Share opcode represent the what type of operation which it is and it is given that there are 170 instructions so to represent 170 instructions we need 8 bits. there are 37 registers to represent those registers we need 6 bits . 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes 256 KB is the answer. eshita1997 answered Jan 13, 2021 eshita1997 comment Share Follow See all 0 reply Please log in or register to add a comment.