Memory Locations, Address, Instructions and Instruction ...
Memory Locations, Address, Instructions and Instruction Sequencing
Read pages 28-40
Memory locations and addresses
? The simple computer is a good start to understand computer organizations
? We need to study
? how data/instructions are organized in the main memory?
? how is memory addressed? ? addressing mode
Memory
? Holds both instructions and data ? With k address bits and n bits per location
k
Number of locations
10
210 = 1024 = 1K
16
216 = 65,536 = 64K
20
220 = 1,048,576 = 1M
24
224 = 16,777,216 = 16M
Address
0 n-1 . . . 1 0
1
2 . . .
2 k-1
? n is typically 8 (byte), 16 (word), 32 (long word), ....
Memory stores both data and instructions
? Consider 32-bit long word in each location which can store
? 32-bit 2's complement number (integer):
(-2n-1) ? (2 n-1? 1)
? If n = 32: - 2G ? 2G-1 (recall that G = 230 )
? 4 ASCII characters
byte byte byte byte
? A machine instruction
- It is often
convenient to address operands which are as short as 1 byte
byte
3 bytes
Op Code Address information
Dealing with strings of characters
? Byte addressable machine is almost universal
- Successive addresses refer to successive byte locations
- There are two different schemes for addressing byte:
big-endian
Address
0 012 3 4 456 7
8 . . .
little ? endian
Address
0 321 0 4 765 4
8 . . .
- Also bit can be numbered the other way around: bit 0 is the MSB
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- memory locations address instructions and instruction
- sample questions basic math and english
- queueing theory university of washington
- helping children make transitions between activities
- lesson plans worksheets grades 3 5
- section 6 4 permutations and combinations part 1
- introduction to data analysis handbook
- cost estimating manual for projects
- pre apprenticeship pathways for women into high
- factors that influences students academic performance a
Related searches
- linking curriculum instruction and assessment
- navy instructions and regulations
- navsup instructions and regulations
- opnav instructions and directives
- secnav instructions and directives
- opnav instructions and notices
- literacy research and instruction journal
- dod instructions and directives
- 2020 form 1040 instructions and tax tables
- memory and thought memory and imagination
- curriculum and instruction in education
- curriculum and instruction pdf