Re: Ping Juergen - bit.e functions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:

> I was just looking at bit.e and noticed that there were several
> opcodes not supported by asm.e, so I coded some example lines
> up and then disassembled them with OllyDebug (although that does
> not understand bts or btr). Anyway, I thought this partial listing
> may be of interest, no worries if not:
>
> --00402E7A   8B4424 04	MOV EAX,DWORD PTR SS:[ESP+4]
> --00402E7E   58 		POP EAX
> --00402E7F   8B4C24 08	MOV ECX,DWORD PTR SS:[ESP+8]
> --00402E83   59 		POP ECX
> --00402E84   0FABC8 		bts eax,ecx
> --00402E87   0FB3C8		btr eax,ecx
> --00402E8A   0FA3C8 		BT EAX,ECX
> --00402E8D   0F92C0 		SETB AL
> --00402E90   25 01000000	AND EAX,1
> --00402E95   31C0		XOR EAX,EAX
> --00402E97   0FBCC1 		BSF EAX,ECX
> --00402E9A   0FBDC1 		BSR EAX,ECX
> --00402E9D   C2 0800		RETN 8
> --00402EA0   C3 		RETN

Very much appreciated, I'll try it out as soon as possible.
Thank you very much, Pete!

Regards,
   Juergen

-- 
A: Because it considerably reduces the readability of the text.
Q: Why?
A: Top posting.
Q: What is annoying in e-mail and news?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu