??? 04/04/07 07:16 Read: times |
#136564 - Code Comments Responding to: ???'s previous message |
The comments in your code could do with focussing on the purpose of its action, rather than just describing the operation of individual instructions; eg,
Asif Ali said:
LCALL READ ;Calling the Read Routine MOV A,DYTA ;Copy the DYTA to ACC We know (or can look-up in the 8051 Instruction Set manual) that "MOV A,DYTA" copies the content of DYTA into ACC - so simply re-stating that in a comment adds nopthing. The comment needs to explain why you are copying DYTA into ACC at this point - what is the purpose of it? |