l*dt/lea/l*s
Peter Johnson
peter at tortall.net
Thu Nov 2 08:24:11 PST 2006
On Thu, 2 Nov 2006, Samuel Thibault wrote:
> Oops, I should probably have explained the case I'm encountering. Maybe
> you'll remember that I wanted to work on Tasm support for yasm. A first
> version is ready, which supports enough of Tasm features for being able
> to compile loadlin (that was the main target).
That's great to hear! When you feel like it's ready to commit, send a
patch my direction.
> That said, maybe I should distinguish between "tasm default size" and
> "user size overrides", and modify x86 module's rules a bit for refusing
> bogus user size overrides, and only use "tasm default size" when nothing
> else permits to guess the operand size.
There is precedent for doing something along those lines. For example,
yasm's GAS mode uses the size information from the instruction suffix, and
pretty much ignores the per-operand sizing. You may need to detect tasm
mode specially eventually anyway as some of the instruction naming and/or
args might be a little different than NASM's.
Thanks,
Peter
More information about the yasm-devel
mailing list