When I create a hex file for a C file the addresses are not in order. Is there an option in uVision to make sure they are in order? The addresses are fine when I use an assembly file.
As Jon said, the Intel Hex format makes no requirement about the ordering of records. You might want to review this discussion: http://www.8052.com/forum/read.phtml?id=12160
If you want to sort a HEX file, take a look at the following knowledgebase article: http://www.keil.com/support/docs/1236.htm Jon
View all questions in Keil forum