Re: Emulation of shld instruction doesn't work

Guillaume Thouvenin
2008-10-08T13:05:52Z

On Wed, 8 Oct 2008 14:52:45 +0200
Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net> wrote:

> When I launch the test, I have an emulation failure that depends of the
> count operand. With count == 4 (shld $4,...) I have:
>
> emulation failed (emulation failure) rip 1aa 04 87 06 c0
>
> If count == 12 I have
>
> emulation failed (emulation failure) rip 1aa 0c 87 06 c0
>
> and if count == 8
>
> emulation failed (emulation failure) rip 1b1 1e c4 21 66

Just to be more accurate, I added trace in shld to display information
and I can see that destination operand is ok, the failure occurs after
test_shld().

Regards,
Guillaume