help in qustion

Discussion in 'Homework Help' started by bleach118, Dec 20, 2008.

  1. bleach118

    Thread Starter Member

    Dec 4, 2008
    15
    0
    can someone help me in this program (exchange the contents of sp and psw)
    assume sp = 22h and psw = 55h

    thanks
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Read through the instruction set to see what instructions affect those registers.

    You might be less mysterious in the future and let us in on the microprocessor you're using. Instructions set are not necessarily universal.
     
  3. bleach118

    Thread Starter Member

    Dec 4, 2008
    15
    0
    am using μc 8051

    thanks
     
Loading...