Re: [Tuxnes-devel] more help w/ asm
Brought to you by:
tmmm
From: Jim U. <ji...@3e...> - 2001-04-11 16:46:28
|
At 10:45am on 2001 April 11, Rigel did write: > Hi again, > All right, I have another one. What's the difference between, say: > leal 0(%edi),%ebx > and, > movl 0(%edi),%ebx. > > This is my guess. leal loads value held in mem loc edi into ebx, and movl loads value of mem loc held in edi to ebx. If you understand that, am I right? Yes, although for "leal" I think you mean "register edi". The leal is equivalent to movl %edi,%ebx. [At least, I'm 99.9% sure there isn't any difference.] Note also that leal 3(%esi),%esi and addl 3,%esi are used interchangably in table.x86, which can be a little confusing. -- 'I came to the 3-day "breatharian" seminar in Hawaii, but without the $300 fee to attend. Wiley asked me: "If you can't find $300, then how do you expect to find God?"' -- breatharian.com ji...@3e... / 0x43340710 / 517B C658 D2CB 260D 3E1F 5ED1 6DB3 FBB9 4334 0710 |