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?
Read the section "Interfacing C Programs to Assembler" in the manual