Re: XCHG instruction: load register AX with a 1




2005 wrote:
Hi

In the XCHG instruction, why would be load register AX with a 1 prior
to excution of XCHG - is this
- to insure that the "Flag" variable will be set to 1 after the XCHG or
- the XCHG instruction will not work unless a 1 is loaded into AX
before executing the XCHG instruction ?

Thanks

Sorry buddy, I am not falling for it this time.

-Isaac

.



Relevant Pages