Question: Create an assembly language program of microprocessors in CW using the following as a guide: 1) Create 16 buffers in FLASH memory using the sample

Create an assembly language program of microprocessors in CW using the following as a guide:

1) Create 16 buffers in FLASH memory using the sample data on the next page. Just cut and paste.

2) Create an array using dc.w, called INDEX_TBL which includes the labels of the start addresses of the 16 buffers.

3) Set one index register to point to this table. 4) Set another index register to point to a 16-byte output array in RAM.

5) Using indexed indirect mode with your index register pointing to INDEX_TBL, load the first bytes of each line of data and assemble them in an output buffer in RAM pointed to by the other index register. (The whole program can be as small as ten lines!)

6) Assemble and run the program in the simulator.

7) Step the program by using the F11 key to confirm the operation.

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!