i recently study the 8051EW with bank switch and can not find the bank switch user guideline or document with respect to the keil uVision setting up . I have search and read the articles about bank switch in "keil website" and on-line user guideline keilc software , but i can not still know ex : variable in XBANKING.A51 can not fully understand to configre my project Are there documents available to teach me for bank switch .... thanx. in advance
How about http://www.keil.com/support/man/docs/lx51/lx51_banking.htm ? XBANKING.A51 contains code for xdata banking (far memory). L51_BANK.A51 contains code for code banking, and also data banking as with XBANKING.A51. There are example programs in the example directory. Can you give us more details on the problem you are running into?
i found that there are two files. one is xbanking.a51 in keil c51 lib. , the other is L51IBank.a51 in example of keil c51. what different are two files(xbanking.a51 & L51IBank.a51) ?
hello, i know the 8051EW uses sfr "MEX1,MEX2,MEX3" for banking switch. after tracing the context in xbanking.a51 and L51IBank.a51 , the MEX1,MEX2,MEX3 has been defined at L51IBank.a51 and likely to fit 8051EW while those have no existed in xbanking.a51.
here,i carefully study L51IBank.a51 and testing some code finding some problem, declared as following: (1)const char far * far text0 []={...} (2)const char far * const far text0 []={...} using Dissablemly window, i found before LCALL C?PLDPTR ,assemblely code is "MOV R3,B_CB" by declaring above item(1) "MOV R3,#0xff" by declaring above item(2) what different are they and mean what???