Draw The Instruction Word Format and Indicate The Number of Bits in Each Part
Draw The Instruction Word Format and Indicate The Number of Bits in Each Part
Main page
Draw the instruction word format and following program
indicate the number of bits in each
part same task
✕ binary value
Chapter 5
1.
How many bits are there in the operation
code , the register code part , and the address
part?
2.
Draw the instruction word format and
indicate the number of bits in each part.
3.
How many bits are there in the data and
address inputs of the memory?
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 1/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Ans:
Ans:
C7T3 : SC←0
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 2/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Chapter 8
1.
How many multiplexers are there in the A
bus , and what is the size of each
multiplexer?
2.
How many selection inputs are needed for
mux A and mux B?
3.
How many inputs and outputs are there in
the decoder?
4.
How many inputs and outputs are there in
the ALU for data, including input and output
carries?
5.
Formulate a control word for the system
assuming that the ALU has 35 operations.
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 3/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
1.
R1 ← R2 +R3
2.
R4 ← R4
3.
R5 ← R5 – 1
4.
R6 ← shl R1
5.
R7 ← input
Ans:
1.
A*B + C*D + E*F
2.
A*B+A*(B*D + C*E)
3.
A + B *[(C*D + E*(F +G)]
4.
A*[B +C * (D
+E)]
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 4/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
F* (G +H)
Ans:
1.
A B C D E +*-/
2.
A B C D E */-+
3.
A B C D E F G +*+*+*
4.
A B C */D – E F /+
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 5/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Ans:
X= A – B + C * (D*E
– F)
G + H *K
1.
Using a general register computer with three
address instructions.
2.
Using a general register computer with two
address instructions.
3.
Using an accumulator type computer with
one address instructions.
4.
Using a stack organized computer with zero-
address operation instructions.
1.
Direct
2.
Indirect
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 6/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
3.
Relative
4.
Indexed
Ans:
1.
What should be the value of the relative
address field of the instruction (in decimal)?
2.
Determine the relative address value in
binary using 12 bits .(why must the number
be in 2’s complement?)
3.
Determine the binary value in PC after the
fetch phase and calculate the binary value of
500. Then show that the binary in PC plus
the relative address calculated in part b is
equal to the binary value of 500.
Ans:
Chapter -9
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 8/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Ans:
Ans:
Ans:
Load R1 ← M[312]
ADD R2 ← R2 + M[313]
Inc R3 ← R3 +1
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 9/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Store M[314] ← R3
Ans:
Ans:
1.
How many product terms are there in each
inner product , and how many inner products
must be evaluated?
2.
How many multiply-add operations are
needed to calculate the product matrix?
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 10/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Ans:
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 11/12
9/22/23, 10:03 AM Draw the instruction word format and indicate the number of bits in each part
Ans:
https://ininet.org/draw-the-instruction-word-format-and-indicate-the-number-of-bi.html 12/12