l: ExcVecs \ -- addr ; start of vector table
The exception vector table is /ExcVecs
bytes long. The
equate is defined in the control file.
: SetExcVec \ addr exc# --
Set the given exception vector number to the given address.
Note that for vectors other than 0, the Thumb bit is forced
to 1.
: StartCortex \ -- ; never exits
Set up the Forth registers and start Forth. Other primary
hardware initialisation can also be performed here.