lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lightning] TYing the incr example


From: Paolo Bonzini
Subject: Re: [Lightning] TYing the incr example
Date: Thu, 1 Jul 2010 20:27:19 +0200

On Thu, Jul 1, 2010 at 18:16, Mathieu Suen <address@hidden> wrote:
> Hi,
>
> When I implement the incr exemple from the documentation I
> got the following instruction:
>
>
>   0x8108338:    push   %ebx
>   0x8108339:    push   %esi
>   0x810833a:    push   %edi
>   0x810833b:    push   %ebp
>   0x810833c:    mov    %esp,%ebp
>   0x810833e:    mov    0x14(%ebp),%eax
>   0x8108341:    add    $0x1,%eax
>   0x8108344:    pop    %ebp
>   0x8108345:    pop    %edi
>   0x8108346:    pop    %esi
>   0x8108347:    pop    %ebx
>   0x8108348:    ret
>
> The pop/push aren't in the same order so I am wondering if that could be an 
> issue.

They match, so it's fine. :)

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]