Question: Can someone help me to answer this questions? I really don't understand how to solve this problems. Please someone help me? I really want to
1. Assume that you are given values in eax, ebx, ecx. Write an assembly code that does the following: eax = (ecx + edx ) - (eax + ebx) 2. Write a piece of code that copies the number inside al to ch. Example: Assume that Initially eax = 0x15DBCB19. At the end of your code ecx = 0x00001900. Your code must be as efficient as possible. 3. You are given eax = 0x5. Write one line of code in assembly to Zero eax. Don't use Sub instruction and you must use hex numbers only as immediate numbers. 4. Implement the following arithmetic expression in assembly language: EBX = vart - var2 - 9+ var3 Il size of variables, 4 bytes each. 5. Write a piece of code in assembly that implements the following C++ statement num1 = num2 = 4; ll x and y are of size word (2 bytes) 6. Write a piece of code that implements the following C++ statements d = 'w'; // a ,d, bare of size byte. a = d + 1; b = a + 2;/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
