Computer Science, asked by naitikraaz2586, 1 year ago

Formulate a mapping procedure that provides eight consecutive microinstructions for each routine. the operation code has six bits and the control memory has 2048 words.

Answers

Answered by fenaardeshanaf
29
opcode = 6 bit
control memory = 2048 words = 11 bits of address
mapping from 6 bits = 11 bit
                 xxxxxx
 Ans =   00xxxxxx000
Answered by qwluton
0

Here's  a mapping procedure that provides eight consecutive microinstructions for each routine.

  • First, the six-bit operation code is received as input.
  • The operation code is used as an address to access the control memory.
  • The control memory word at that address is read and the microinstruction stored in it is fetched.
  • The fetched microinstruction is decoded to determine the next microinstruction to be executed.
  • The next microinstruction address is calculated by adding 1 to the current address.
  • The control memory word at the calculated address is read and the next microinstruction is fetched.
  • Steps 4-6 are repeated until 8 consecutive microinstructions have been fetched and executed.
  • The routine is completed and the process is repeated for the next operation code.

Note: The number of microinstructions for each routine could be different, and this mapping procedure can be modified to fetch the desired number of microinstructions for each routine.

#SPJ3

Similar questions