??? 07/23/08 08:35 Read: times Msg Score: -1 -1 Answer is Wrong |
#156965 - read mov data, data instruction Responding to: ???'s previous message |
Dear Alan,
Please read mov data, data instruction for 8051. All other instructions are as mov dest, src but this perticular instruction is mov src, dest hence take a good care while using this instruction. Also read assembleres manual if it takes care of this situation(there are assemblers that treat this instruction as mov dest, src instead of mov src, dest) If above is the problem then mov sbuf, 44h will move [sbuf] -> 44h and then program will wait for TI to set; which will never set as SBUF is never been loaded Ofcourse read the assembler manual and generated code to see if same is the problem. Regards, Mahesh |