HELP-Can somebody explain how to do this?

Thread Starter

Paloma

Joined Jul 19, 2014
2
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.
 

crutschow

Joined Mar 14, 2008
34,286
Have you studied and understood the assembly commands available for that processor? If you haven't then you need to start there.
 
Top