A89: lea vs. add.l
[Prev][Next][Index][Thread]
A89: lea vs. add.l
here:
lea 8 clock 4 bytes(?)
move.l 10 clock 6 bytes(?)
I'm not shure about the lengths, but the times are correct.
as for the lengths I was thinking, for lea 2byte instruction + 2byte
displacement. and for move.l 2byte instruction + 4bytes of immidiate data.
//Olle
S43R80@aol.com wrote:
>
> In a message dated 99-02-22 22:50:04 EST, you write:
> First a word is pushed then a longword then two words are
> pushed//2+4+2+2=10 so you have to add 10 to the stack...you could also do it
> the other way: lea 10(a7),a7 which i think is like 1 byte shorter or something
References: