Please solve this in x86 assembly. Please do not copy fromanywhere
Starting with the following C++ program:#include <iostream>using namespace std;void main (){long Sum;long Total;_asm{}cout << "Sum is " << Sum << endl;cout << "Total is " << Total << endl;}Inside the block denoted by the _asm keyword, create two loops.Thefirst loop will add the numbers from 1 to 100 and place the answerintoSum. The second will multiply together the numbers from 1 to 10(thatis 1 * 2 * 3 * 4 ... * 10), and place the answer into Total.To Turn In:Rename .cpp file to “COSC 2325– Lab 4-1 your last name”. Email.cppfile with assembly code to instructorDue Date: End of segment 2
Please solve this in x86 assembly. Please do not copy from anywhere Starting with the following C++ program: #include
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am