- Translate the following statement into valid IA-32 assembly language:
x = (4*x + y *z);
- Translate the following set of instructions into valid IA-32 assembly language:
if (a > b)
x = 2 * y;
else
x = y / 2;
- Translate the following set of instructions into valid IA-32 assembly language:
for (i = 100; i > 0; --i)
a = a + 5;
Use the loop instruction to construct the loop.
- Translate the following set of instructions into valid IA-32 assembly language:
a = 25;
while (a > 0) {
--a;
y = y + a;
}
[Back to the Assignments List]