My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
Resources » Articles/Knowledge Sharing » Education »
Factors that affect Instruction Length
|
Hello Friend, In my current article I am going to tell you about the factors that affect the instruction length of a computer instruction. The number of bits required to represent an instruction of a CPU is known as length of the instruction or is known as instruction length. The length of an instruction of a processor depends upon the number of instructions the processor must support. If a processor has only 4 instructions to support, the length of its instruction will be two bits and the instructions will be - 00, 01, 10, 11. Thus, the length of an instruction for a computer or CPU supporting n instruction will be m, where m is given as 2m>=n. Now, factors which must be considered for deciding about instruction length are : -
- Memory Size : - If large memory range is to be addressed, then more bits may be required in the address field.
- Memory Organization : - If the addressed memory is virtual memory then memory range which is to be addressed by the instruction is larger than physical memory size.
- Memory Transfer Length : - Instruction length should narmally be equal to data bus length or multiple of it.
- Memory Transfer : - The data transfer rate from the memory ideally should be equivalent to the Processor speed. It can become a bottleneck if processor executes instructions faster than the rate of fetching the instructions. One solution for such problem is to use cache memory or another solution can be keep instruction short.
Normally an instruction length is kept as a multiple of length of a character i.e. 8 bit and equal to the length of fixed point number. The term word is often used in this context. A word size of 16 bit, 32 bit, 64 bit are becoming very common and hence similar length of the instructions are normally being used.
- Article by, Sunil Saharan
|
Responses
|
No responses found. Be the first to respond and make money from revenue sharing program.
|
|
Advertise Here
|