1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do
ID: 3787179 • Letter: 1
Question
1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do the following statements for each of the following architectures. Use the least number of instructions. a) Stack ISA b) Accumulator ISA 1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do the following statements for each of the following architectures. Use the least number of instructions. a) Stack ISA b) Accumulator ISA 1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do the following statements for each of the following architectures. Use the least number of instructions. a) Stack ISA b) Accumulator ISAExplanation / Answer
1.
For c=(a+b)/a, the ISA are given below
For d = b*(a + b) / a * c ,the ISA are given below
For e = a* (c + d) ,the ISA are given below
STACK ISA ACCUMULATOR ISA Push a load a Push b Add b Add div a Push a store c div Pop cRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.