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

Explain the graphic display system, Q. Explain the graphic display system? ...

Q. Explain the graphic display system? The function of your graphic display system is to display bit-mapped graphics on your monitor.  The image displayed on your system so com

Ict, how to become an ict enginer

how to become an ict enginer

Binary equivalent of the decimal number 368 , What is the binary equivalent...

What is the binary equivalent of the decimal number 368 ? Ans. 101110000 is the Binary equivalent of the Decimal number 368. From Decimal number to Binary number conversioni

What are the necessary elements of an e-banking site, What are the necessar...

What are the necessary elements of an e-banking site? E-banking systems rely upon a number of common elements or processes. The given list comprises many of the potential elem

Design a sequential circuit with two flip-flop and one input, Design a coun...

Design a counter modulo 4 (sequential circuit with two flip-flops and one input U) which work like that: 1. When U=0, the state of the flip-flop does not change. 2. Whe

Explain about operand address calculation, Q. Explain about Operand Address...

Q. Explain about Operand Address Calculation? In actual machines effective address can be a register address, memory or I/O port address. Register reference instructions for ex

Editor - tools necessary for assembly language programming, Q. Editor - Too...

Q. Editor - Tools necessary for assembly language programming? The editor is a program which allows the user to enter and modify as well as store a group of instructions or tex

ECS, what is ecs?

what is ecs?

Perform subtraction in base 5 using r and r-1 complement, Q Write a menu dr...

Q Write a menu driven program to perform subtraction in base 5 using r and (r-1) complement with necessary validations.

Define interrupt and isr, Define interrupt and ISR? An interrupt is a r...

Define interrupt and ISR? An interrupt is a request from an I/O device for service by the processor. The processor gives the requested service by implementing the interrupt ser

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