blob: ceb69018bb1b2859f354e60e542ca41e34327735 [file] [log] [blame]
zongqiang.zhang0c6a0882019-08-07 14:48:21 +08001FUNC void Setup (void) {
2
3 SP = _RDWORD(0x08000000); // Setup Stack Pointer
4
5 PC = _RDWORD(0x08000004); // Setup Program Counter
6
7 _WDWORD(0xE000ED08, 0x08004000); // Setup Vector Table Offset Register
8
9}
10
11
12LOAD CSC105.axf INCREMENTAL // Download
13
14Setup(); // Setup for Running
15
16
17g, main