Just for curiosity, is anyone's compiler smart enough to optimize temp = x; x = y; y = temp; into an XCHG instruction? What about Fortran compilers on the equivalent construct? Doug MCDonald