 | Discussion Forum |  |
|
|
locating code constants in bank1Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Haribabi Pathipati Posted 14-Jan-2005 09:22 GMT Toolset C51 |  locating code constants in bank1 Haribabi Pathipati i am trying to locate code constants in bank1 (Cygnal F124). but it is always placed in common area only.
i have also writen "bank1(?co?table)" in L51 dialog box in uVision2.
in common area it is showing "gap" equivalent to contant data. that area is going un usable. how to avoid this. | | Read-Only Author Keil Reinhard Posted 14-Jan-2005 12:55 GMT Toolset C51 |  RE: locating code constants in bank1 Keil Reinhard When you are using the classic BL51, you need to do bank switching manually. See: http://www.keil.com/support/docs/1615.htm
When you are using the LX51 Linker/Locater, you may use the 'far' memory type for bank switching. For an example see: Keil\c51\Examples\FarMemory\1MB Constants on Classic 8051.
Reinhard | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|