??? 12/07/06 15:08 Read: times |
#129131 - intuitive Responding to: ???'s previous message |
OK, so you want the labels to be "self-commenting"?
Isn't that YOU who speak against the "self-commenting code" idea? There is no such thing as "self-commenting code". However, if you see an operand that refer to a label 5 pages ahead, it is a whole lot easier to remember "done" than xzxx_47. My 'prefixing' is done for two purposes: a) when doing a global search b) if you have two identically named local variables, the ICE can "play mind games" with you. I recall a VERY LONG session, before I got wise to this, where a watch in the the ICE (my mistake) referred to 'index' in routine x and I looked at it while debugging routine y. Erik PS to the assembler phanatics: If you have a main() in C which can be as simple as void main (void) { AssemblerCode(); ) you can, in Keil, use the OVERLAYABLE keyword and 'gain' an awful lot of RAM. |