Question: Indirect addressing mode in assembly language is similar to pointers in C . Answer the following questions: a ) What are the names of the

Indirect addressing mode in assembly language is similar to pointers in C. Answer the following questions:
a) What are the names of the three special indirect addressing mode registers used to store the addresses of variables in RAM?
b) What is the logical size in bits of each of the registers identified in part a) above?
c) Write the assembly language command to load the address of the variable with name: PVal into one of the registers identified in part a) above?
d) What is the meaning of: movff PREINC1, PORTC?
e) What is the meaning of: movwf POSTINC2,w,a?
f) Write an assembly language program to copy the values stored sequentially at addresses 036 to 03F to PORTC using indirect addressing mode. There should be a delay of 100ms between each copy action. Assume you have the LoopTime subroutine, which implements a delay of 10ms. Hint: write a subroutine called "delay 100ms" to implement your delay.
 Indirect addressing mode in assembly language is similar to pointers in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!