News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

xchg

Started by imadhx30, December 26, 2013, 07:09:31 AM

Previous topic - Next topic

imadhx30

can use xchg instruction masm32
if so what used include?

jj2007

Why don't you just try xchg eax, edx?

imadhx30

I used xchg eax, ebx it may not work!!

jj2007

Mysteries of Masm ::)

What about posting your code? Something simple like
.386
.model flat

.code

start:   
   xchg eax, edx
   ret
end start


What about posting at least the error message you get? Or do you think we have remote control over your computer and can see what you typed??

Gunther

Hi imadhx30,

XCHG will work. Please post your code and we'll see.

Gunther
You have to know the facts before you can distort them.