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

MOVX

Hello,

I want to check if there is an equivalent instruction of the MOVX at the C language.

I tried doing in-line assembly with no luck.

Any assistance is appreciated

Parents
  • You asked, "... I intend to interface IDE HDD and it deals with 16-bits. How can I do that? because as far as I know xbyte is for 8-bit data."

    Then you said, "AT89C51SND1C ... has a feature to interface the IDE after enabling this option it uses DAT16H register for transferring the higher byte."

    Doesn't that answer your own question?

    Doesn't the Atmel documentation show you how to use these things?

Reply
  • You asked, "... I intend to interface IDE HDD and it deals with 16-bits. How can I do that? because as far as I know xbyte is for 8-bit data."

    Then you said, "AT89C51SND1C ... has a feature to interface the IDE after enabling this option it uses DAT16H register for transferring the higher byte."

    Doesn't that answer your own question?

    Doesn't the Atmel documentation show you how to use these things?

Children