We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In one of my project I am talking with MX909 Driver IC with C51 ucontroller. To initialize MX909 if I write module in Assembly language it's working fine. Once I replaced with C same module it's not working.
The only difference I can make for both assembly and C languages is NOP and _nop_() instruction. Is both instructions will take same number of machine cycles?
Thanks, Suresh Kumar Kavula
Lots of complaints and arguments.
I read the comment
My guess is that you suffer from some fallacy that e.g. a for loop is the same as a djnz loop and nothing could be farther from the truth.
as
Don't think that a for loop is equivalent with a djnz loop.
Any people who read it as:
The compiler will never make use of a djnz in a for loop.
should maybe be a bit more careful about complaining, since Erik did not claim any such foolish thing.
maybe be a bit more careful about complaining, since Erik did not claim any such foolish thing.
Maybe, if he'd been a little more correct with his punctuation, people might have been able to understand it more easily.
Hope he doesn't write his code in the same manner.