Download "TMS320C2x Fixed-Point DSP User's Guide"
Transcript
Memory Addressing Modes Table 4–2 shows the bit fields, notation, and operation used for indirect addressing. For some instructions, the notation in Table 4–2 includes a shift code: for example, *0+,8,3 where 8 is the shift code and Y = 3. Table 4–2. Bit Fields for Indirect Addressing Instruction Field Bits 15 – 8 7 6 5 4 3 2 1 0 Notation Operation ← Opcode → 1 0 0 0 0 ← Y → * No manipulation of ARs/ARP ← Opcode → 1 0 0 0 1 ← Y → *,Y Y → ARP ← Opcode → 1 0 0 1 0 ← Y → *– AR(ARP) –1 → AR(ARP) ← Opcode → 1 0 0 1 1 ← Y → *–,Y AR(ARP) –1 → AR(ARP) Y → ARP ← Opcode → 1 0 1 0 0 ← Y → *+ AR(ARP) +1 → AR(ARP) ← Opcode → 1 0 1 0 1 ← Y → *+,Y AR(ARP)+1 → AR(ARP) Y → ARP ← Opcode → 1 1 0 0 0 ← Y → *BR0– AR(ARP)–rcAR0 → AR(ARP) ← Opcode → 1 1 0 0 1 ← Y → *BR0–,Y AR(ARP)–rcAR0 → AR(ARP) Y → ARP ← Opcode → 1 1 0 1 0 ← Y → *0– AR(ARP)–AR0 → AR(ARP) ← Opcode → 1 1 0 1 1 ← Y → *0–,Y AR(ARP)–AR0 → AR(ARP) Y → RP ← Opcode → 1 1 1 0 0 ← Y → *0+ AR(ARP)+AR0 → AR(ARP) ← Opcode → 1 1 1 0 1 ← Y → *0+,Y AR(ARP)+AR0 → AR(ARP) Y → ARP ← Opcode → 1 1 1 1 0 ← Y → *BR0+ AR(ARP)+rcAR0 → AR(ARP) ← Opcode → 1 1 1 1 1 ← Y → *BR0+,Y AR(ARP)+rcAR0 → AR(ARP) Y → ARP The CMPR (compare auxiliary register with AR0), and BBZ/BBNZ (branch if TC bit equal/not equal to zero) instructions facilitate conditional branches based on comparisons between the contents of AR0 and the contents of AR(ARP). The auxiliary registers may also be used for temporary storage via the load and store auxiliary register instructions, LAR and SAR, respectively. 4-7
Related documents
"TMS320C2x Fixed-Point DSP User's Guide"
TMS320C2X FIXED-POINT DSP USER'S GUIDE
"TMS320C3x DSP Starter Kit User's Guide"
User Manual
TMS320C3x GENERAL-PURPOSE APPLICATIONS USER'S GUIDE
54200A/D ディジタイジング・オシロスコープ 取扱説明書
manual tecnico
TMS320C31 Embedded Control Technical Brief
Dataman 48XP Manual - Dataman Programmers Ltd.
Manual - Sycard Technology
"Fixed-Point DSP Assembly Language Tools User's Guide"
Implementing Field-Oriented Control of AC Motors with the