assembly - Indirect addressing with + and [] -


im bit new asm stuff. looking through asm generated c ti's c28x cpu , have instruction

movl *+xar4[0],acc 

i know long operand move instruction takes value in accumulator , puts in location pointed @ by.... what?

xar4 auxiliary register 4 '+' , '[0]' do? take cycles?

from section 5.6 "indirect addressing modes" of "tms320c28x dsp cpu , instruction set reference guide":

*+xarn[3bit] 32bitdataaddr(31:0) = xarn + 3bit note: immediate value treated unsigned 3-bit value. 

so store acc @ memory location pointed xar4 (xar4+0 specific).

when 3-bit offset 0 it's possible leave out:

the assembler accepts ”*xarn” addressing mode. same encoding ”*+xarn[0]” mode 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -