Beruflich Dokumente
Kultur Dokumente
1)
1/n
Where n is the number of programs.
Memory Locations and addresses
Eg: 24 bit address generates an address space of 2
24
locations.
2
24
= 16 megabytes where 1MB=2
20
Character:
Letters of the alphabet, decimal digits
Represented by codes that are usually 6 to 8 bits long
General code is ASCII(American Standard Code for Information Interchange)
Four Characters
8 bits 8 bits 8 bits 8 bits
Instruction:
Two part of the word
- Specifies the operation to be performed
- used to specifies the operation to be performed
Bytes are grouped into words
16-bit machine will have 16 bit registers and instruction for manipulating 16 bit
words and so on.
Byte addressability:
8 bits but the word length ranges from 16 to 64 bits.
Big-Endian and Little-Endian Assignments:
Bytes in a word can be numbered from left to right or right to left
Big-Endian:
Used when lower byte addresses are used for the MSB(Most Significant Byte) [the
left most bytes] of the word.
Little-Endian:
Used when upper byte addresses are used for the LSB(Least Significant Byte) [the
right most bytes] of the word.
8. (a) Explain in detail the execution of a complete instruction. (10M) Nov/Dec 2010
Consider an instruction
ADD (R2), R1
which adds the contents of a memory location pointed to by R2 to register R1.
Instruction cycle will be
The sequence of control steps required to perform these operations for single bus
organization is as follows:
Step Action Comments
1 PCout, MARin, Read, Select 4, Add, Zin Load PC in MAR issue Read request to memory.
Select 4 to Y. Do the add operation. Result stored
in Z.
[PCPC+4(word size)
2 Zout, PCin, Yin, WMFC
3 MDRout, IRin
1