Difference between revisions of "CSC231 Homework 8 Solution Program 2010"
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
---- | ---- | ||
+ | <onlydft> | ||
<code><pre> | <code><pre> | ||
Line 148: | Line 149: | ||
xor edx, edx | xor edx, edx | ||
mov eax, dword[x] | mov eax, dword[x] | ||
− | and | + | and al, 1 |
mov byte[esi], al | mov byte[esi], al | ||
inc esi | inc esi | ||
Line 379: | Line 380: | ||
</pre></code> | </pre></code> | ||
− | + | </onlydft> | |
<br /> | <br /> | ||
<br /> | <br /> |