Hi all,
I am programming a basic multiplication function using asm language which is to calculate the product of the first element of two arrays. I first tried to program it by C and see what is the code after compiling, and the asm instructions and corresponding C instruction is shown below:
1. In the "TMS320C28x CPU and Instruction Set Reference Guide", I saw addressing mode with sign "@" is all used with register name like "@ACC", "@ARn", and I don't know what does it mean by "@" followed by an immediate number. In line 0083c2 what register T wants to get is the content in address 0x08c13, and T got the content from address 0x008c00+0x000013=0x008c13 which is correct(0x008c00 is the start address of my RAML2). I don't quite understand how does T addressed offset from the right memory location "0x008c00"?
2. In line 0083c0, DP was loaded with #0x231 of data page. However after I watched the value and in the memory location, there's no value defined by me mapped to 0x0230 of my data page. I don't quite understand what does this #0x231 mean here therefore. My data page memory location in cmd file and memory content is shown below. Can somebody tell me about it? :)
Any help is appreciated!
Doris