How do I 'tell' the toolset (not using uVision but .BAT) to address all 23 bits without invoking bankswitching or other such slowdowns? Erik
This is an MX device and you should therefore read Application Note 160 Programming the Philips 51MX Architecture with the Keil PK51 http://www.keil.com/appnotes/docs/apnt_160.asp Basically the device is programmed with the CX51 Compiler and the LX51 Linker/Locater.
thanx, but what about (not using uVision but .BAT) Erik
All the options discussed in this document can be accessed from the command line. For example, the rom(huge) compiler directive can be specified on the command line or in a pragma (just like rom(small) and rom(large)). Jon
Does ROM(HUGE) automatically make the compiler compile in "MX mode". I guess I think there must be a compiler switch other than ROM/RAM size to tell the compiler to use the MX mode. Erik
For the MX, you must use CX51.EXE. The MX is a different instruction set and requires a different compiler. The CX51.EXE only compiles in MX mode. The C51.EXE NEVER compiles in MX mode (only in 8051 mode). Jon