Question: You can use the C + + language to: create a variable and give it an initial value ( except for array filling ) .

You can use the C++ language to: create a variable and give it an initial value (except for array
filling). In all other cases, Assembly language instructions must be used.
Part 1 tasks: (1 point per task, maximum 10 points)
1. Multiply eax and ebx.
2. Replace two variables without using a stack.
3. Calculate the reciprocal of n using floating point operations.
4. Find the area of the circle for a known radius. (T=r*r*n)
5. Rotate an 8-bit register to the right 12 times.
6. Multiply 3.45 and 5.99 by floating point operations.
7. Round the value of log,10 into the variable log_int.
8. Set binary 1 to each bit of the EDI register
9. Set the carry flag to 1.
10. Perform an arithmetic right shift of the EDX register 19 times without using the CL register

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 Programming Questions!