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.
Hi, I've got a project containing a c source file and an a51 assembler file. I need to be able to call some of the asm routines from the C file. I'm after a tutorial describing what you need to do to export the required routines from the asm file and to make the call from the C source. I'd also like an example of how to cope with function arguments, too! And any other relevant stuff. I'm using the uVision/51 environment which comprises a Keil 8051 C complier (V5.20) which is 2K limited, and doesn't allow embedded ASM. Thanks for any advice. David