Question: ( a ) Consider a system to display the digits a , b , c , d on a 7 - segment LED when the
a Consider a system to display the digits a b c d on a segment LED when
the inputs are and respectively, as shown in figure where
represents the binary number of the input value. Write down the truth table
and the corresponding logical functions.
cdots,
b Write down the equation governing the relation between program execution
time and clock rate.
Given two CPUs, XPU and XPU XPU runs at while XPU runs at
Which is faster? Explain.
c Explain why stack pointer is not used in accessing the local variables and func
tion parameters in a stack frame?
Show how displacement addressing can be used for this purpose.
d Most arithmetic operations require operands, two source operands and one
destination operand. Explain where the operands are for twooperand, one
operand, and zerooperand instructions.
e A CPU executes in either user mode or supervisor mode. In which mode is
a user program and the Operating System running? How can a user program
switch to supervisor mode to access system services?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
