Question: 5. Write a PIC18F assembly code that copies the contents of Data Register block between 0100 to 0130 to Data Register between 0200 to 0230.

5. Write a PIC18F assembly code that copies the contents of Data Register block" between 0100 to 0130 to Data Register between 0200 to 0230. (20p) (Note: Address 0100 and 0130 are included.) You must use Indirect Addressing Mode You must use POSTINCX (X: 0,1,2 example: POSTINC1;) - Tip: You may use two FSR for example FSR1, FSR2 in your program. Data Data Registers Registers 0100 0101 : 0130 F2 A3 : 0100 0101 : 0130 F2 A3 : F2 0200 : 0230 0200 : 0230
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
