Computer Science Homework Help

Write an assembly language program which takes two integers, A and B, and computes the following expressions. You must use the same variables for A and B throughout all three expressions. Using GNU As

Write an assembly language program which takes two integers, A and B, andcomputes the following expressions. You must use the same variables for A andB throughout all three expressions. Using GNU Assembler x86 AT&T Syntax. Include a MakeFile and document all code.

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now

1)  A * 5 

2)  (A + B) – (A / B) 

3)  (A – B) + (A * B)  

TURN IN:  Please the following three items inside a .zip file and submit the .zip file • asgn6.s • Makefile  RUBRIC: • 45%: 15% per working problem. • 15%: 5% per result of problem printed. • 10%: Use the same A and B variables for all expressions. • 30%: Document all code. o Comments must be thorough and correct but not redundant. o Explain both what you’re doing and why you’re doing it. • 10% bonus: Take user input for A and B. • Code that does not compile will result in an automatic zero. • NOTE:  Writing C code and converting it into Assembly and submitting the compiler generated Assembly is STRICTLY PROHIBITED.