This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NOP Vs _nop_()?

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

Parents
  • Is there something wrong or difficult about maybe asking the OP for further information?

    Eriks first line. Oh, I know. Not gentle enough for you.

    His guesses were as useful as a chocolate teapot!

    And you know that because ... ?

    Oh right, you don't. You're just guessing, like Erik. Unless you're the OP posting under another name and have since then figured out where the bug in your code was. I'd assume this to be fairly unlikely, though.

    Or you're "Jack Sprat" posting under yet another pseudonym (or even your real name), and don't really care about the contents of this thread as long as you're getting attention and can flame Erik.

    What about recognising a post as unuseful (and rude and demeaning) ?

    If you think Eriks post was not useful, then, I'm sorry to say this, you're suffering from a fallacy.

    What do you demeaning about this ? "Fallacy" is a perfectly normal term for something that is easily assumed to be right, while it is, in fact, wrong.

Reply
  • Is there something wrong or difficult about maybe asking the OP for further information?

    Eriks first line. Oh, I know. Not gentle enough for you.

    His guesses were as useful as a chocolate teapot!

    And you know that because ... ?

    Oh right, you don't. You're just guessing, like Erik. Unless you're the OP posting under another name and have since then figured out where the bug in your code was. I'd assume this to be fairly unlikely, though.

    Or you're "Jack Sprat" posting under yet another pseudonym (or even your real name), and don't really care about the contents of this thread as long as you're getting attention and can flame Erik.

    What about recognising a post as unuseful (and rude and demeaning) ?

    If you think Eriks post was not useful, then, I'm sorry to say this, you're suffering from a fallacy.

    What do you demeaning about this ? "Fallacy" is a perfectly normal term for something that is easily assumed to be right, while it is, in fact, wrong.

Children
  • you're suffering from a fallacy.

    Hmmm ... It's sounding like you're a member of the Erik luv-fest brigade!

    I'm not going to bother responding to your individual points because - Well, what's the point!?

    But, by the way, I am not the original poster, I am not "Jack Sprat" and I am not even the alter ego of "Christoph Franck".

    I would expect professionals to be a bit more professional. Experience is not directly proportional to superiority!