ISO/IEC 12207 (1995) 5.3.7.5 e) states: "Appropriateness of coding methods and standards used;". The generally accepted commercial practices recommend using mnemonics instead of numeric values. The pflash.a66 violates this principle. In addition, 12207, Annex B, "Guidance on tailoring" provides for tailoring. Recommendation(s): (1) If Keil has tailored its software development plan to eliminate the use of mnemonics from its coding standards, they should explicitly state so in appropriate areas such as: an application note, headers of example files, etc. (2) If Keil has not explicitly tailored their development plan to eliminate the use of coding standards, they should review their coding standard and publish it for us, the users. (3) Keil should change the constants to mnemonics in pflash.a66.
Well, I'm sure Keil would welcome your contribution if you'd like to re-write it for them! ;-)