We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Two funtiom. One is char A(char *str1,char *str1),this funtion is in BANK 6. main() is in bank 1; Now main() call A(Astr1,Astr2) have some error. Seem as some parameter has't been pass OK. How do I can solve it?
First, if you are using NOREGPARAMS as a compiler directive, all parameters will be passed in fixed memory locations, not registers. If there are more than three parameters, the remaining parameters are passed in fixed memory locations. In the SMALL memory model, this memory may be either internal or external. In COMPACT or LARGE, the parameters are passed in external memory only. By using a combination of the listing file(s) and the .M51 map file, you should be able to see where the linker is putting the parameters.