| |||||
Technical Support Support Resources
Product Information | C51: BANK SWITCHING USING ASSEMBLYQUESTIONIs bankswitching only usable in C or can I also use assembler? ANSWERIt is physically possible to do bankswitching in assembler, although it is not at all advisable. The naming conventions used by the compiler must be followed explicitly at all times. Perhaps the easiest way to go about this is to write a sample program in C. Once completed, add the following to the top of the source file: #PRAGMA SRC. This will generate a .SRC file which contains the comparable assembler source to your C program. Use this to base your application on. Last Reviewed: Sunday, May 16, 2004 | ||||
| |||||