News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

convertion asm to c

Started by karim, August 25, 2005, 12:24:09 AM

Previous topic - Next topic

karim

i want to tranlate this asm code to c code
somebody can help me ?

I removed the posted code because it was so large that it would not display properly and was truncated. Please re-attach the code as a zipped text file. It would also help if you just posted a small amount of the code and a description of what it is writen with.

MusicalMike

When someone writes a c compile, that person has to program the compiler to emit specific asm instructions based on the c code it sees. You need to do the opposite. for instance, when you see


cmp bla, 0
je someLbl


you can replace it with


if (bla == 0)
{
//what ever someLbl does goes here
}


get what I mean.
}