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: into one of the registers identified in part a above?
d What is the meaning of: movff PREINC PORTC?
e What is the meaning of: movwf POSTINCwa
f Write an assembly language program to copy the values stored sequentially at addresses to to PORTC using indirect addressing mode. There should be a delay of between each copy action. Assume you have the LoopTime subroutine, which implements a delay of Hint: write a subroutine called "delay to implement your delay.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
