The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: AgentSmithers on June 24, 2009, 09:00:48 PM

Title: ror Missing Operator In Expression
Post by: AgentSmithers on June 24, 2009, 09:00:48 PM
.486
.model flat, stdcall
option casemap :none
.const
LL db "LoadLibraryA"
.code
start:

compute_hash_again:
lodsb
test al, al
jz compute_hash_finished
ror edi, 0xd
add edi, eax
jmp compute_hash_again
compute_hash_finished:


Im trying to compute a hash for DLL Symbles just like PE does when it loads up the export table but when it hits ror it gives me the Operator In Expression Missing error =(

I needed 0Dh aswell!

Edit: NVM i got it, When I was saving it wasent making the changed to the correct file!
Thank!

==================

Please drop the habit of changing the post title with [solved]. This forum is not a paid help desk, its a forum of members who help other members.

hutch--
Title: Re: ror Missing Operator In Expression
Post by: Slugsnack on June 24, 2009, 09:06:27 PM
write 0dh instead of 0xd