Assignment # 6 Problem: 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...

Must use x86 AT&T Syntax GNU Assembler all code must be documented line by line and instructions followed


Assignment # 6 Problem: 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. 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.
Nov 10, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here