Some assembler are allergic to lea reg,BYTE PTR[...].

Submitted by: Guenter Knauf
This commit is contained in:
Andy Polyakov 2007-12-02 21:32:03 +00:00
parent 8789af8db8
commit 544b82e493

View File

@ -143,7 +143,7 @@ sub RC4_loop {
&movz ($ty,&BP(0,$dat,$ty)); &movz ($ty,&BP(0,$dat,$ty));
&add (&LB($xx),1); &add (&LB($xx),1);
&xor (&LB($ty),&BP(0,$inp)); &xor (&LB($ty),&BP(0,$inp));
&lea ($inp,&BP(1,$inp)); &lea ($inp,&DWP(1,$inp));
&movz ($tx,&BP(0,$dat,$xx)); &movz ($tx,&BP(0,$dat,$xx));
&cmp ($inp,&wparam(1)); &cmp ($inp,&wparam(1));
&mov (&BP(-1,$out,$inp),&LB($ty)); &mov (&BP(-1,$out,$inp),&LB($ty));