??? 11/22/06 07:00 Read: times |
#128399 - Lost communication? Responding to: ???'s previous message |
Mohammed, I think you've mis-interpreted what I've said. At no point did I wish to suggest that you are stupid or ignorant. I'm sorry if you have interpreted my words this way.
I'm trying to give you hints to solve your problem. If there is something specific you don't understand, then state it. I asked two questions: 1/confirm the byte order your assembler uses. This is either mentioned in the documentation for the assembler or you can deduce it by looking at the values the assembler outputs for a specific .DCW value. For example: 3125 decimal is represented by two bytes: 0cH (high) and 35h (low). The assembler may choose to store these bytes low byte first or high byte first. I've assumed low byte first. If it stores high byte first, then the code that reads the two bytes from code memory needs to be changed. You need to check this. 2/ confirm the byte order that you read and write the CCAP0L & CCAP0H registers. This should be described in the PCA documentation. In future, if you think someone has insulted you on a forum - don't bother writing all those words like you did. I read them and I was left wondering what it all meant. If I wrote "are you stupid?" then that would be very clear as to my meaning. If you are in doubt, it is best to ignore any perceived insult as there was probably none intended. |