Professional Documents
Culture Documents
BLIND COPYING FROM INTERNET IS STRICTLY NOT ALLOWED, however you can
use the internet as reference, kindly mention it in the reference part
of your assignment/The assignment also specifies where you can get
the details. The purpose of on-line assignment is to bring the
meaningful learning outcome as well as to develop the writing and
documentation skills not for blind copy skills. IN CASE, BLATANT
COPYING found, FACULTY CAN APPLY University rules for evaluation and
a ZERO will be awarded and UMC case will be initiated.
Evaluation: 30 Marks
SET 1
Q1. Draw the diagram of common bus system and explain the processing as per the following
statements:
AR PC
M[AR] DR
Before execution PC = 890 H and DR is BB87 H . explain the contents of the memory after the
execution and the relevant registers with proper diagrams?
2. for example the contents of PC is 789 H , how CPU will fetch the instruction(binary code) from
memory using common bus system explain in detail. 10 marks
Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11110010, BR= 11101111, CR= 10111001 , DR= 11101010
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR 16 ^ DR, BR <- BR + 1
AR <-AR – CR 5 marks
Q3. An 8-bit register contains the Hex value 89. What is the register value after an
arithmetic shift right? Starting from the initial number 89, determine the register value after
an arithmetic shift left, and state whether there is an overflow not, explain through the
proper diagrams. 5 marks
Q4. Starting from an initial value of R in Hex is C1 determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.
Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)
SET 2
M[AR] TR
IR M[AR]
2. If PC = 123 H , DR = 5876 H how CPU will fetch the instruction(binary code) from memory using
common bus system explain in detail. 10 marks
Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11110010, BR= 10110111, CR= 10101001 , DR= 10001000
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR ^ DR, BR <- BR + 1
AR <-AR – CR 5 marks
Q3 Show the hardware that implements the following statement. Include the logic gates for
the control function and a block diagram for the binary counter with a count enable input.
Q4. Starting from an initial value of R in Hex is AF determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.
Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)
SET C
AR PC
M[AR] DR
IR M[AR]
Explain the contents of the memory after the execution of second instruction.
2. If PC = 789 H , how CPU will fetch the instruction(binary code) from memory using common bus
system explain in detail. 10 marks
Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11010010, BR= 11100011, CR= 10111001 , DR= 10101011
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR ^ DR, BR <- CR + 1
AR <-AR – CR 5 marks
Q3. IF PC= 682 , AR=123 , DR=A2BF, IR= 5672, then execute the following
M[AR] DR
IR M[AR]
Determine the value of IR after the execution and comment on the type of addressing.
5 marks
Q4. Starting from an initial value of R in Hex is B2 determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.
Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)