pgubook-readers
[Top][All Lists]
Advanced

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

Re: [Pgubook-readers] exit.s on amd64? 0x3c.


From: Cian
Subject: Re: [Pgubook-readers] exit.s on amd64? 0x3c.
Date: Sat, 2 Jan 2010 00:16:19 +0000

Hi Guillame,

On Fri, Jan 1, 2010 at 11:48 PM, Guillaume Yziquel
<address@hidden> wrote:
> However, I'd like to point out something that happens with the power.s code
> in th PGU book, page 59.
>
> It seems that as doesn't like at all stuff like pushl as popl.
>
> Is it because I'm on amd64? If so, how can I deal with it?
>
Hm, you should still be able to use eax, etc. if I understand
correctly. However, take a look at the notes in
http://www.x86-64.org/documentation/assembly.html - if you're using
e.g. rax (I presume you're not, since you said you typed it
literally?), perhaps pushq etc. will help.

If that's no help, perhaps the GNU as manual would have some useful info?

I don't have time to check myself right now; please let me know how
you get on. Thanks!

Cian




reply via email to

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