Consider the following C code fragment: if (EAX == 0) EBX = 1; else EBX = 2;

Question:

Consider the following C code fragment:
if (EAX == 0) EBX = 1;
else EBX = 2;
Write an equivalent NASM code fragment.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: