Question: Written in assembly language B. (7 points) Write a program that contains four instructions: add the number 10 to the EAX register, add 8 to
B. (7 points) Write a program that contains four instructions: add the number 10 to the EAX register, add 8 to the EDX register, add 3 to ax register, - add 2 to al register Build the program and make sure it has no error. Run the program and make sure it works. Generate a listing file and examine the machine code generated by the assembler. What differences, if any, did you find between the instructions formats? B. (7 points) Write a program that contains four instructions: add the number 10 to the EAX register, add 8 to the EDX register, add 3 to ax register, - add 2 to al register Build the program and make sure it has no error. Run the program and make sure it works. Generate a listing file and examine the machine code generated by the assembler. What differences, if any, did you find between the instructions formats
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
