Topic: Binary
Fill in the boxes
Will give you high rating thank you!!
Extracted text: A byte is always 8 bits; Each byte has its own address Addr Addr Contents (Bin) 000 1 0 0 0 1 10 1 001 0 000 o 0 00 010 1 1 1 0 1 0 10 011 0 1 1 1 1 1 1 1 100 1 0 0 00 100 101 1 0 10 10 1 1 1 Word size is 4 bytes Starting address 0 2 3 Word size is 4 bytes Starting address 4 6 110 0 0 1 1 0 0 10 111 0 1 1 0 o 0 1 1 Notice that each word starts with an address that is a multiple of 4. Some systems require that addresses be aligned to these boundaries, i.e. address provided must be a multiple of 4, while other systems allow unaligned memory accesses. It depends on the way the system is designed. Assume you now have 1kB of memory, i.e. the memory address space runs from 0 to 1023. The starting address of the first word is 0, the second word is 4, the third word is 8, and so on. The last word comprising 4 bytes resides in addresses 1020, 1021, 1022, 1023. Thus, the last word starts at 1020, which is a multiple of 4. (Recall that the word size is 4 bytes.) Now assume the same 1kB of memory but now, word size is 64 bits. The starting address of the first word is 0, the second word starts at the third word starts at and the last word starts at Check 4) 7.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here