0 0 votes CO & Architecture + – Hcas Hgnis 1.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes If we see, 11 bits(0-10) are used to address in the instruction. So, main memory can be up to 211 bytes. This assumes byte addressing and that there is no virtual memory. If word addressing is used, we get 211 words = 2 * 211 = 212 bytes as each word here is 16 bits = 2 bytes. http://www.cs.ucla.edu/classes/winter04/csM151B/l2/examples/ByteVSWordAddr.pdf Arjun answered Nov 22, 2014 Arjun comment Share Follow See all 6 Comments 6 6 Comments reply Hcas Hgnis commented Nov 22, 2014 reply Follow flag Could you tell me why we haven't considered address mode bits in calulation of main memory address range? for ex: if register indirect mode is used, then range of mem addresses will be more than 212 bytes. 0 0 replyShare Arjun commented Nov 22, 2014 reply Follow flag Yes. Thats possible. But then absolute addressing won't be possible. If we use only register indirect addressing, we could address up to 216 bytes of memory. 0 0 replyShare Hcas Hgnis commented Nov 22, 2014 reply Follow flag ok.. thank you 1 1 replyShare Arjun commented Nov 22, 2014 reply Follow flag you are welcome :) 0 0 replyShare saket nandan commented Aug 5, 2015 reply Follow flag sir , plzzzz tellme why u hav multiplied 2*211 plzzzz clearify this plzz i cant understand 0 0 replyShare Arjun commented Aug 5, 2015 reply Follow flag That is only if we use word addressing- that is CPU can fetch only 16 bits and not lower. In such a CPU, suppose we write a C code and a char is of 8 bits. Still, CPU will be fetching 16 bits and so the generated code should handle this problem. 0 0 replyShare Please log in or register to add a comment.