<< Chapter < Page | Chapter >> Page > |
The purpose of this lab is to help you become familiar with the internal CPU of the 'C6713 processor. Programs are written in assembly. The first program is very simple so that you can make sure you know how to write an assembly program and debug it. The other two programs are a little more involved and help you understand the multiply and sum algorithm, delay slots and parallel instructions.
MVK
and
MPY
instructions.
MVK
is used to put the constants in a register and the
MPY
is used to multiply them. Save this in a file called
lab1p1.asm
.a
and
b
should be stored in memory).a = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30]
b = [30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1]
Use the
ADD
command to add the data,
SUB
to update a counter and a conditional
B
to perform the loop.
lab1p2.asm
and swap it for the other file in your project.lab1p3.asm
and swap it for the other file in your project.Notification Switch
Would you like to follow the 'Dsp lab with ti c6x dsp and c6713 dsk' conversation and receive update notifications?