如图:
HI-TECH C PRO for the PIC18 MCU Family V9.63PL2
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Sun, 04 Aug 2013
Advisory[1233] Employing 18F4680 errata work-arounds:
Advisory[1234] * Corrupted fast interrupt shadow registers
HEX File Usage Map:
Legend:
- = Unused memory
F = Filled ROM
S = Stored serial code
A = Stored ASCII string
R = Reserved for checksum
C = Stored checksum result
T = Trailing code
& = Find & replace opcode
X = Find & delete opcode
1 = Host.hex
00000000: 11111111111111111111111111111111111111111111111111111111--------
0000F9C0: ------------1111111111111111111111111111111111111111111111111111
0000FA00: 1111111111111111111111111111111111111111111111111111111111111111
0000FA40: 1111111111111111111111111111111111111111111111111111111111111111
0000FA80: 1111111111111111111111111111111111111111111111111111111111111111
0000FAC0: 1111111111111111111111111111111111111111111111111111111111111111
flash地址0x0000部分的代码应该是初始化代码
接着跳转到0xF9C0, 才是main函数的入口. 奇怪, 怎么会链接到flash最后呢.
以前用PICC18 v8.35时或者用mcc18都是从下往上的, 很多编译器也是这样的. 但这个版本的编译器居然来这一出, 让我怎么搞boot嘛.
|