A Fews Bugs

Peter Johnson peter at tortall.net
Sun May 21 23:22:01 PDT 2006


On Sat, 20 May 2006, Vivek Mohan wrote:
> (1) YASM assembles "pushfd" in 64-bits mode, generating 0x9c, whereas
> the AMD manuals state that pushfd is invalid in that mode.
>
> (2) YASM assembles "pushfq" in 64-bits mode, generating 0x48 0x9c. A
> rex prefix is not required for pushfq, as it defaults to 64-bit
> operand size. It should generate 0x9c.

Fixed in r1542 in trunk and r1543 in the 0.5.x branch.

Thanks,
Peter


More information about the yasm-devel mailing list