i want to multiply 24bit value which i get from spi ,i stored it in an array of 3byte & i want to multiply with a constant of 8bit,the result i get which is a 32bit has to be divided with a constant of 32bit i want a c code for this procedure so pls help me
"i am interested in knowing what the following code do"
It was only intended to illustrate my interpretation of what part of your assembly code was doing and how one might go about translating assembly to C. The ':' characters indicate that more follows but is left as an exercise for the reader (you) to complete.
"how to divide 32bit/32bit "
unsigned long dividend, divisor, quotient, remainder; quotient = dividend / divisor; remainder = dividend % divisor;
This is basic C stuff. You should try to get your hands on a C tutorial and/or reference book.