Allocation of bits among opcode and operand, Computer Engineering

Assignment Help:

Allocation of Bits among Opcode and Operand

The trade-off here is between numbers of bits of opcode vs. the addressing capabilities. An interesting development in this regard is development of variable length opcode. 

A number of the factors which are considered for selection of addressing bits:

  • Number of addressing modes: The more are the explicit addressing modes more bits are required for mode selection. Though some machines have implicit modes of addressing.
  • As far as memory references are concerned granularity suggests whether an address is referencing a byte or a word at a time. This is more relevant for machines that have 16 bits, 32 bits and so on higher bit words. Byte addressing though may be better for character manipulation, butneed more bits in an address. For illustration memory of 4K words (1 word = 16 bit) is to be addressed directly then it needs:

WORD Addressing   = 4K words

                           = 212words

                        ⇒ 12 bits are needed for word addressing.

 

Byte Addressing    = 212 words

                          = 213 bytes

                        ⇒ 13 bits are needed for byte addressing.


Related Discussions:- Allocation of bits among opcode and operand

Give an example of resource allocation graph & deadlocked, Suppose there ar...

Suppose there are 2 copies of resource A, 3 copies of resource B, and 3 copies of resource C. Suppose further that process 1 holds one unit of resources B and C and is waiting for

Explain what are the different hazards, There are situations, called hazard...

There are situations, called hazards that stop the next instruction in the instruction stream from implementing during its designated clock cycle. Hazards decrease the performance

Which job is admitted to the system for processing, Jobs which are admitted...

Jobs which are admitted to the system for processing is called ? Ans. Long-term scheduling is admitted to the system for processing.

How to turn on the session support in php, The session support can be turne...

The session support can be turned on automatically at the site level, or manually in every PHP page script: * Turning on session support automatically at the site level: Set s

Do we require an x server to run in batch mode for gimp, Yes, you have to h...

Yes, you have to have some form of X server (unless you're running Windows, of course). It requires an X server for image processing, and for font manipulation. Though, if you wish

Using the editor or debugger, Write a script that will read from a file x a...

Write a script that will read from a file x and y data points in the following format: x   0    y  1 x  1.3  y  2.2 x  2.2  y  6 x  3.4  y  7.4 The format of each line in the

What is virtual memory, What is virtual memory? Method that automatical...

What is virtual memory? Method that automatically move program and datablocks into the physical main memory when they are needed for execution are known as virtual memory.

Define the boolean algebra, Define The Boolean algebra? A set of rules in...

Define The Boolean algebra? A set of rules invented by the English mathematician George Boole describe certain propositions whose outcome would be either true or false with regar

How to load dos from hard disk, Q. How to Load DOS from Hard Disk? To L...

Q. How to Load DOS from Hard Disk? To Load DOS from the Hard Disk of your computer, follow these steps: 1. Turn on the power ON/OFF switch of the CPU unit of your PC the pow

. net is compile time or runtime environment, . NET is Compile Time OR RunT...

. NET is Compile Time OR RunTime Environment?   .Net's framework has CLS,CTS and CLR.CTS checks declaration of types at the time when u write code and CLS explains some rules a

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd