 | Discussion Forum |  |
|
|
Question about C call assemble functionNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Ricky Lee Posted 6-Jun-2002 10:44 GMT Toolset None |  Question about C call assemble function Ricky Lee 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-Only Author Andrew Neil Posted 6-Jun-2002 11:16 GMT Toolset None |  RE: Question about C call assemble function Andrew Neil Read the section "Interfacing C Programs to Assembler" in the manual | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|