??? 04/02/05 12:28 Modified: 04/02/05 12:29 Read: times |
#90867 - why you post wrong code ? Responding to: ???'s previous message |
Raghunathan said:
Not to worry. It worked fine... Not true on your example code ! Raghunathan said:
MOV MIRHEX1, 0FFH is made alright in the second statement in the CHKLUP routine with a INC MIRHEX1. Please explain ! "INC MIRHEX1" and "MOV MIRHEX1, 0FFH" are fully different ! Maybe, if MIRHEX1 = 0FEh prior "INC MIRHEX1", then it change to 0FFh. But the result of "MOV MIRHEX1, 0FFH" was always undefined, because 0FFh was no valid SFR location. Why you post a different wrong working code ??? if you not used "MOV MIRHEX1, 0FFH", then write it not ! In general, write not such devilish example code, which has no defined results ! Peter |