Question: use visual studio 2019 Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous
Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous experiments. Try to use as few lines as possible Q1. Add the three byte sized number located in the Data Segment at offset 300h 301h, and 302h together and put the result in memory location starting at offset 400h (MSB) and 401h (LSB). Test your program for these sets of numbers: 03h, 02h, 0Ah and OEFh, OEBh, OACH Q2. Calculate the factorial of number 6h (6!) and store the result at a memory location labeled FACT in the data segment at any select. offset you Q3. Calculate the following: Wordi Word: Doubleword/Word . Assume that Word 9988.Word: 30Ah, and Doubleword -100010h Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous experiments. Try to use as few lines as possible Q1. Add the three byte sized number located in the Data Segment at offset 300h 301h, and 302h together and put the result in memory location starting at offset 400h (MSB) and 401h (LSB). Test your program for these sets of numbers: 03h, 02h, 0Ah and OEFh, OEBh, OACH Q2. Calculate the factorial of number 6h (6!) and store the result at a memory location labeled FACT in the data segment at any select. offset you Q3. Calculate the following: Wordi Word: Doubleword/Word . Assume that Word 9988.Word: 30Ah, and Doubleword -100010h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
