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
  • 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

Reply
  • 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

Children