Professional Documents
Culture Documents
VUAnswer.com
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.
VUAnswer.com
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.
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.