Unlike a byte that is always 8 bits, word size can vary from machine to machine. So, to visualize word-addressable memory, we need to know the word size beforehand. Let's say we have a 16-bit sy memory unit that has 10 address lines. How do we visualize such a memory? First, we determine the size of the memory given the number of address lines. Because there are 10 address bits, we can have 210 unique addresses, hence 1024 addresses. If we are working with means each word - not each byte - has a unique address, and we can thus store 1024 words. The memory size is 1 kiloword, or equivalently, 2kilobytes because each word is 2 bytes long: Each row is a word; each word has its own address; each word is 2 bytes long Addr Addr (Bin) Contents

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

the ones with red are wrong please do correct me the green one's are correct.

topic: memory basics

Unlike a byte that is always 8 bits, word size can vary from machine to machine. So, to visualize word-addressable memory, we need to know the word size beforehand. Let's say we have a 16-bit system (word size is 2 bytes) and a
memory unit that has 10 address lines. How do we visualize such a memory?
First, we determine the size of the memory given the number of address lines. Because there are 10 address bits, we can have 210 unique addresses, hence 1024 addresses. If we are working with something word-addressable, that
means each word - not each byte - has a unique address, and we can thus store 1024 words. The memory size is 1 kiloword, or equivalently, 2kilobytes because each word is 2 bytes long:
Each row is a word; each word has its own address; each word is 2 bytes long
Addr
1
2
3
1021
1022
1023
Addr (Bin)
00 0000 0000
00 0000 0001
00 0000 0010
00 0000 0011
11 1111 1101
11 1111 1110
11 1111 1111
1 0
0 0
• the address of the second word is
• the address of last word is 15
1 1
0
1
1
0
0
0
00-
1
1
0
0 1
0 1
1
1
1
0 1
1010
0 000000
0
1
1 010
1
1 1
0
0
1
1
010
1 0
0
Contents
1
0 1
1
0 0
1
0
1
0
0
1
0
0
- 0000
1
1
0
1
。。。--0
1
1 1
0 0
1
0
0
1 1
1
0
0
1
Address space from 0 to 2"-1 where n is the number of address bits
Can store 1024 words. Because each word is 2 bytes, can store 2048 bytes or 2kB
0
0 0
1
0
0
0
0
0
1
O O O
0
1
1
0
1
0
1
0
0
The address of the first word is 0, the second word is 1, the third word is 2, and the last word is 1023.
Now, try to fill in the blanks for a word-addressable machine with 4 address lines, but the word size is 64 bits instead:
• the memory size is
words, or 0
bytes
• the address of the first word is
1
0 0
1
Transcribed Image Text:Unlike a byte that is always 8 bits, word size can vary from machine to machine. So, to visualize word-addressable memory, we need to know the word size beforehand. Let's say we have a 16-bit system (word size is 2 bytes) and a memory unit that has 10 address lines. How do we visualize such a memory? First, we determine the size of the memory given the number of address lines. Because there are 10 address bits, we can have 210 unique addresses, hence 1024 addresses. If we are working with something word-addressable, that means each word - not each byte - has a unique address, and we can thus store 1024 words. The memory size is 1 kiloword, or equivalently, 2kilobytes because each word is 2 bytes long: Each row is a word; each word has its own address; each word is 2 bytes long Addr 1 2 3 1021 1022 1023 Addr (Bin) 00 0000 0000 00 0000 0001 00 0000 0010 00 0000 0011 11 1111 1101 11 1111 1110 11 1111 1111 1 0 0 0 • the address of the second word is • the address of last word is 15 1 1 0 1 1 0 0 0 00- 1 1 0 0 1 0 1 1 1 1 0 1 1010 0 000000 0 1 1 010 1 1 1 0 0 1 1 010 1 0 0 Contents 1 0 1 1 0 0 1 0 1 0 0 1 0 0 - 0000 1 1 0 1 。。。--0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 Address space from 0 to 2"-1 where n is the number of address bits Can store 1024 words. Because each word is 2 bytes, can store 2048 bytes or 2kB 0 0 0 1 0 0 0 0 0 1 O O O 0 1 1 0 1 0 1 0 0 The address of the first word is 0, the second word is 1, the third word is 2, and the last word is 1023. Now, try to fill in the blanks for a word-addressable machine with 4 address lines, but the word size is 64 bits instead: • the memory size is words, or 0 bytes • the address of the first word is 1 0 0 1
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY