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

Real-time software, Real-Time Software Programs that monitor/analyze...

Real-Time Software Programs that monitor/analyze/ control real world events as they take place are known as real-time software. Elements of real-time software involve a data

Difference between overlay graph and correlate graph, Overlay Graph: It ove...

Overlay Graph: It overlay the content of two graphs that shares an ordinary x-axis. Left Y-axis on the merged graph show's the present graph's value & Right Y-axis illustrate the v

What is redefines clause, Redefines clause is used to permit the similar st...

Redefines clause is used to permit the similar storage allocation to be referenced by dissimilar data names.

Bank prevent an infinite loop, a) Write a program that figures out how long...

a) Write a program that figures out how long it will take to pay off a credit card by making payments of $10 every month. Take care to avoid infinite loops. (How would a bank preve

What are the characteristics of sram, What are the characteristics of SRAM?...

What are the characteristics of SRAM? SRAM are fast They are volatile They are of high cost Less density

The new optimal solution, Electrocomp's management realizes that it forgot ...

Electrocomp's management realizes that it forgot to contain two critical constraints. In particular, management decides that to make sure an adequate supply of air conditioners for

Explain about 4-bit adder-subtractor circuit, Q. Explain about 4-bit adder-...

Q. Explain about 4-bit adder-subtractor circuit? Subtraction operation on binary numbers can be obtained by succession of addition operations only it implies that to achieve su

How to set a read or write watch point for a variable, By using Rwatch, Awa...

By using Rwatch, Awatch command in GDB we can set read or write watchpoint for a variable.

Define throughput, Define throughput?  Throughput in CPU scheduling is ...

Define throughput?  Throughput in CPU scheduling is the number of processes that are completed per unit time. For long processes, this rate might be one process per hour; for s

How to maintain lists, How to maintain lists? To return from a high li...

How to maintain lists? To return from a high list level to the next-lower level (SY-LSIND), the user chooses back on a secondary list.  The system then gives the currently dis

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