64bit - How many words can be in the address space? -
here problem working on
the problem: high speed workstation has 64 bit words , 64 bit addresses address resolution @ byte level. how many words can in in address space of workstation?
i defined different terms in problem
- word size - processor natural unit of data. word size determines amount of information can processed in 1 go
- byte level addressing - hardware architectures support accessing individual bytes within word
- 64 bit addressing - have have 64 bits specify address in runtime memory holds instruction or data
- address space - running program's view of memory in system
how go using these definitions solve problem?
from 64 bits, know technically there 2^64 locations in memory , 64 bit words, processor processes 8 bytes time. don't know how use information conclude how many words in address space of computer.
thanks aruisdante's comment, able figure out.
basically 64 bit addresses means there 2 ^ 64 total addresses. because byte addressable memory used here, each address store 1 byte.
this means in total, in address space, 2 ^ 64 bytes can stored. problem tells machine has 64 bit words or each word 8 bytes long. therefore have 2^64/8 or 2^64/2^3 = 2^61 words in address space.
Comments
Post a Comment