You are on page 1of 3

VISIT ANY MORE SOLUTIONS FREE

VUAnswer.com

CS401 GDB SOLUTION FALL 2021


Provide by VU Answer

DO NOT COPY THE SAME SOLUTION

Opening Date: 23-Feb-2022


Closing Date: 24-Feb-2022

Topic:
Companies opt for a hardware technology that meets its objectives. Suppose, an e-
marketing firm wants to have an architecture that responds quickly to interrupts
with less spilling of registers and higher processor performance. You are required
to pick either a stack-based machine or a register-based machine in the given
scenario.

SUBSCRIBE OUR CHANNEL


https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
WMIg3Q

WHATSAPP GROUP JOIN


https://chat.whatsapp.com/HGu2lvOWPsi0tpPGc4IGDZ
VISIT ANY MORE SOLUTIONS FREE

VUAnswer.com

The selection of either architecture must be supported by logical reasons.

GDB Idea Solution:

In general, we will prefer the register based because they give higher performance
than the stack based machine.
Register based model is that it considers some enhancement that isn't possible in
the stack based methodology. In such case is when there are normal subexpressions
in the code, the register model can ascertain it once and store the outcome in a
register.
One of the major reason is they create fast implementation and easy to generate
highly optimized code. Also, Its easy to addressed randomly like RAM whereas in
a stack machine is not possible.
The benefit to a register based engineering is that you can upgrade aggregated code
much better assuming you have a worth that should be saved for some time. you
can store it in an unused register and simply use it on a case by case basis.

SUBSCRIBE OUR CHANNEL


https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
WMIg3Q

WHATSAPP GROUP JOIN


https://chat.whatsapp.com/HGu2lvOWPsi0tpPGc4IGDZ
VISIT ANY MORE SOLUTIONS FREE

VUAnswer.com

REGARD - SARIM
WHATSAPP +923162965677

PLEASE NOTE:
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file
before submitting copy paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting check your GDB requirement.
If you need some help and question about file and solutions.

SUBSCRIBE OUR CHANNEL


https://www.youtube.com/channel/UCvFS8fAv4bvZsOmWu
WMIg3Q

WHATSAPP GROUP JOIN


https://chat.whatsapp.com/HGu2lvOWPsi0tpPGc4IGDZ

You might also like