IMPORT Main?
IMPORT Main?
Where is it defined what user start-up function is called by the import "main()" ?
-
- Site Admin
- Posts: 534
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: IMPORT Main?
Main is not documented separately. It's a 140-line module which performs the following startup actions:
- Copies the interrupt area to mapped memory
- Installs the Trap Handler
- Sets Memory mapping control to User RAM Mode
- Enables the Memory Accelerator Module
- Initialises UART0 at 38400 baud for runtime error trapping