Re: meanings of code in MASM
- From: "Rod Pemberton" <spamtrap@xxxxxxxxxx>
- Date: Fri, 13 Jan 2006 06:47:19 -0500
----- Original Message -----
From: "Rod Pemberton" <spamtrap@xxxxxxxxxx>
Newsgroups: comp.lang.asm.x86
Sent: Thursday, January 12, 2006 7:31 PM
Subject: Re: meanings of code in MASM
I see at least one error already. After the call to ror(), the upper
portion of eax doesn't get reset...
> for (ch=txlen;ch;ch--) // shtloop1
> {
> eax=(eax&0xFF00FF00)|(*(unsigned char *)edi);
> ax=eax&0x0000FFFF;
> ror(&ax,&cl);
eax=(eax&0xFFFF0000)|ax; // missing
> wdest|=ax;
> edi++;
> }
Rod Pemberton
.
- References:
- meanings of code in MASM
- From: slover
- Re: meanings of code in MASM
- From: Rod Pemberton
- meanings of code in MASM
- Prev by Date: Re: meanings of code in MASM
- Next by Date: Re: Assembly Console Programming in Windows
- Previous by thread: Re: meanings of code in MASM
- Next by thread: Re: meanings of code in MASM
- Index(es):
Relevant Pages
|