This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question about C call assemble function

I have a function written in assemble,e.g. _MyFunc,which gets two paramenters and store something in the buffer.
The prototype in C is : void MyFunc(unsigned char*,unsigned char);

In c, I call it like this:
unsigned char databuf[10];
MyFunc(databuf,10);


The question is: Is my code responsible for the handling with different memory mode,such as small mode or large mode? If so,how can I do?

0