Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/17/02 12:15
Read: times


 
#25929 - RE: C and Assembly code interfacing
Also Eric my Ride software for 8051 generates the following code for the function you mention earlier.

You MUST disable ALL optimization to make it work. If the particular compiler you use does not allow that, you must make the internal active such as:

GLOBAL:
int TempToMakeProto

void hello (int avalue)
{
TempToMakeProto = avalue;
}

This will result in code that will not be optimized out. When you have the assembler template, you can then delete TempToMakeProto.

Erik




List of 9 messages in thread
TopicAuthorDate
C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfaci            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      

Back to Subject List