Analog Devices ADSP-2106x SHARC User Manual page 453

Table of Contents

Advertisement

Instruction Set Reference
Memory Addressing in Instructions
Direct:
Absolute
Instruction Types 8, 12, 13, 14
Examples:
dm(0x000015F0) = astat;
if ne jump label2;
PC-relative
Instruction Types 8, 9, 10, 12, 13
Examples:
call(pc,10), r0=r6+r3;
do(pc,length) until sz;
Register Indirect (using DAG registers):
Post-modify with M register, update I register
Instruction Types 1, 3, 6, 16
Examples:
f5=pm(i9,m12);
dm(i0,m3)=r3, r1=pm(i15,m10);
Pre-modify with M register, no update
Instruction Types 3, 9, 10
Examples:
r1=pm(m10,i15);
jump(m13,i11);
Post-modify with immediate value, update I register
Instruction Type 4
Examples:
f15=dm(i0,6);
if av r1=pm(i15,0x11);
Pre-modify with immediate value, no update
Instruction Types 4, 15
Examples:
if av r1=pm(0x11,i15);
dm(127,i5)=laddr;
www.BDTIC.com/ADI
{'label2' is an address label}
{'length' is a variable}
A
A – 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?

Questions and answers

Table of Contents