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

How to use movc in keil?

Hi,
Using at89c51 i want some data to copy from program memory to external Data memory..
without using memcopy()...
any idea ?

Parents Reply Children
  • "Do I need to copy the entire page?"

    No, not at all. You just need to explain how it is relevant to the PUSH instruction.

  • No, not at all. You just need to explain how it is relevant to the PUSH instruction.

    Its relavent because "PUSH P2" doesn't necessarily push the value that's presently in the P2 output latch.

    Should I put up a short code example?

  • As stated earlier, PUSH P2 is unreliable.
    It is not "unreliable" it is completely reliable, it does what the book says.

    "PUSH P2" doesn't necessarily push the value that's presently in the P2 output latch.
    NOT "doesn't necessarily" It never does.
    It is clearly documented that a READ operation reads the port pins. and a PUSh is READ operand, then write to stack.

    Erik

  • By this point in this thread, it should be clear what I'm trying to convey, yet here you go again nitt-picking at semantics and details.

    And you expect me or anyone else to believe this isn't about your victory?

    Right. LOL.

  • semantics and details

    Never, always accuracy.

    Erik

  • accuracy is good, but when one insist on it to the point where you lose focus of the original point, then its nothing but anal-retentiveness.

  • Who lost focus and started attacking ? Not me.

    Who kicked in a discussion about INC p2 with incorrect statements such as "INC P2 is a read/modify/write instruction. Just because you last wrote a 0x2F (for example) to P2, doesn't mean that's necessarily what its going to read on the next read cycle of the read/modify/write of "INC P2"." Not me.

    Of course, you may consider it "losing focus" that I do not sit back and let it ride when you attack my integrity, that is your problem.

    A proverb come to mind : Thief think everyone steal

    Erik

  • And once again you fail to acknowlege I admitted I was confused and attempted to correct it.

    Its pretty obvious the reason you keep ignoring this is that if you would acknowlege it, it renders the majority of what you've said as frivolous drivel.

    Because of that, I don't consider later statements I made "attacks", rather their just observations about the way you operate. You don't care to discuss the point I was trying to convey, you simply get your jollies by picking at details. Every technical forum has one of you.

  • Since Robert Wey has stopped addressing technical issues, and resorted to attacking me in order to get his way, I will end this by saying:

    Please ignore all entries from Robert Wey, they have no technical merit, they only express that he can not accept his mistakes being corrected

    This will, of course result in another attack from Robert, which i shall choose to ignore.

    Erik

  • Kiddies...

    Let's not let this decline into a personal standards slanging match... It *is* supposed to be the "season to be jolly" and all...

    8)

  • Since Robert Wey has stopped addressing technical issues, and resorted to attacking me in order to get his way, I will end this by saying:

    Please ignore all entries from Robert Wey, they have no technical merit, they only express that he can not accept his mistakes being corrected

    This will, of course result in another attack from Robert, which i shall choose to ignore.


    I accepted my mistake being corrected several posts back when I admitted you were correct about the read-modify-write.

    By continually refusing to acknowlege that I admitted my confusion and attempted to corrected it, however, you're only confirming my assessment that you don't really care about the topic I was trying to convey and, as I said, this is nothing more than "victory" challenge.

    Congratualations: You've succeeded in making quite an ass of yourself.

  • Kiddies...

    Let's not let this decline into a personal standards slanging match... It *is* supposed to be the "season to be jolly" and all...


    Oh...he's probably having as much fun as I am :)

  • another attack from Robert, which i shall choose to ignore.

  • Wow! You're doing a fantastic job ignoring my "attacks" (LOL, try to integrate the word "hate" next time. That's pretty trendy these days).

    Lets see how long it takes you to "ignore" this reply.

  • Tune in tomorrow for another thrilling episode of the "As the C51 Turns". Will Erik respond to Robert's dastardly attack? Will Robert demand satisfaction? What will happen to that pesky P2 port when some crazy fool try to INC it? All this and much much more right here on KEIL.COM.