Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you have to implement two new commands in SAP - 1 called ADI and SHL . i ) ADI ( Add Immediate ) does
Suppose you have to implement two new commands in SAP called ADI and SHL
i ADI Add Immediate does the following
AlarrARAMPClarrPC
which means it will add the immediate byte following the opcode to A register and then
increment the value of PC to prepare for the next instruction fetch. The instruction takes
no operand.
ii does the following
AlarrSHLA
which means it will shift the contents of A one bit left. The instruction takes no operand.
a Write the microinstructions of and for ADI and
b Generate the Control words for T T and T for ADI and according to the
following format
c Draw the timing diagram for ADI and command.
d The contents of the Control ROM and Address ROM are given here. Show the
updated contents of these ROMs accommodating the ADI and SHL instruction
assuming a x Control ROM Show only the relevant part of Control ROM but
all of Address ROM. Assume the opcodes of the ADI and SHL instructions are
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started