HELP-Can somebody explain how to do this?

Discussion in 'Homework Help' started by Paloma, Jul 19, 2014.

  1. Paloma

    Thread Starter New Member

    Jul 19, 2014
    2
    0
    New to PIC Microcontrollers and embedded systems programming. This assignment is using MPLAB.
    Part 1:
    Write a program to transfer a string of data from code space starting at address 200H to RAM locations inside the CPU starting at 40H. The data representing your last name and first name is as shown below:
    MYDATA: DB "ALEX YOUNG",0
    Using the simulator, single-step through the program and examine the data transfer and registers.

    Part 2:
    Add the following subroutine to the program in Activity 1, single-step through the subroutine and examine the RAM locations.
    After data has been transferred from ROM space into RAM, the subroutine should copy the data from RAM locations starting at 40H to RAM locations starting at 60H.
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,505
    2,367
    What series of Pic is this aimed at?
    Max.
     
  3. Paloma

    Thread Starter New Member

    Jul 19, 2014
    2
    0
    PIC18F452, my second laboratory and the book is not helping at all.
     
  4. MrChips

    Moderator

    Oct 2, 2009
    12,418
    3,355
    Sounds like homework to me so I moved this to Homework Help.
     
  5. crutschow

    Expert

    Mar 14, 2008
    12,981
    3,221
    Have you studied and understood the assembly commands available for that processor? If you haven't then you need to start there.
     
Loading...