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