Question: 1 ) Create an assembly language program to complete the following expressions using unsigned word sized variables. Note, the first letter of the variable name

1) Create an assembly language program to complete the following expressions using unsigned word sized variables. Note, the first letter of the variable name denotes the size (w -> word and d -> doube-word).
wAns1= wNum1+ wNum2
wAns2= wNum1+ wNum3
wAns3= wNum3+ wNum4
wAns6= wNum1- wNum2
wAns7= wNum1- wNum3
wAns8= wNum2- wNum4
dAns11= wNum1* wNum2
dAns12= wNum2* wNum2
dAns13= wNum2* wNum4
2) Create a program to compute the square of the sum from 1 to n. Specifically, compute the sum of integers from 1 to n and then square the value. Use the debugger to execute the program and display the final results. Create a debugger input file to show the results in decimal and hexadecimal.
Use the following values for the variables:
wNum1=8
wNum2=16
wNum3=32
wNum4=64
Place all of the assembly instructions in a single .asm file, with comments that group the statements implementing a single calculation. Upload the .asm file and the debugger input file to Canvas when you're finished.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!