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
"IS my procedure of calling inline function is correct"
NO!
You aren't calling anything!
The entire body of the function is pure assembler - what on earth is the point in that?!
It is an assembler funcion - so put it in an Assembler file and don't mess about with the inline nonsense!
"also suggest me to receive values store in k1,k2,k3,k4 in c function"
You didn't listen last time - why should I say it again?!