On 14/07/2016 19:25, Laszlo Ersek wrote: >> > Ugh, this is so wrong. :) I guess you could also use a macro that >> > expands to >> > >> > bits 32 >> > mov src, dst >> > bits 64 >> > >> > because the encoding is the same in 32-bit and 64-bit. > Nice trick :), but the point of using NASM would be to avoid such hacks, > and to say what we mean, on Windows and Linux build hosts identically.
Sure---though in this case something like movseg ds, ax would obey two of three requirements (say what you mean, and treat Windows+Linux equally). Paolo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel