6.10 Compiling for 20-Bit MSP430X Devices
The MSP430 tools support compiling and linking code for MSP430 and MSP430X (MSP430X) devices. See the following for more information on options and topics that apply to compiling for the MSP430X devices:
- Use the --silicon_version=mspx option to compile for MSP430X devices. See Section 2.3.4.
- Function pointers are 20-bits. See Section 5.6 and Table 6-2.
- The compiler supports a large-code memory model while generating code for MSP430X devices. See Section 6.1.1.
- The compiler supports a large-data memory model while generating code for MSP430X devices. See Section 6.1.2.
- Any assembly routines that interface with MSP430X C programs must fit the large code model. See Section 6.6.1.
- Interrupt service routines must be placed into low memory. See Section 6.7.4.
- Link with the rts430x.lib or rts430x_eh.lib run-time-support library.