Jump to content
Tuts 4 You

dl help asmcom


magicrain@hotmail.com

Recommended Posts

magicrain@hotmail.com

Hey folks i need some help with a asm line...how i could do that in delphi ?

SAR EAX,1
ROL EAX,3
XCHG EAX,ESI

< i need that in delphi but how :S?

Link to comment
Hey folks i need some help with a asm line...how i could do that in delphi ?
SAR EAX,1
ROL EAX,3
XCHG EAX,ESI

< i need that in delphi but how :S?

Why do you need XCHG?

All it is, is

"Exchanges contents of source and destination."

Either way it is a simple

(C++ but you get the idea...)

int eax = x;

int esi = x;

int holder;

holder = eax;

eax = esi;

esi = holder;

Link to comment
magicrain@hotmail.com

Its for a algo thx for the idea i will see to get it work. SOLVED :)

Edited by war
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...