DIGITAL SIGNAL PROCESSING
R.Prabhu
132912
EEE
3/22/2016 Prabhu Mike
Addressing modes
• The addressing modes in TMS32050 are
1. Immediate addressing
2. Indirect addressing
3. Register addressing
4. Memory mapped register addressing
5. Direct addressing
6. circular addressing mode.
3/22/2016 Prabhu Mike
Immediate addressing
• Immediate addressing is used to handle
constant data.
• It allows the programmer to operate on an
actual value.
• Depending on the length of the data, the
addressing mode is referred to as long
immediate or short immediate addressing
mode.
3/22/2016 Prabhu Mike
Cont….
• In long immediate addressing the data is
contained in a portion of the bits in a single
word instruction.
• EXAMPLE
LD #80h, A : The instruction loads an
immediate value 80h into the accumlator.
3/22/2016 Prabhu Mike
Indirect addressing
• The indirect address mode uses the auxiliary
register (ARs) to hold the addresses of
operands in memory.
• In indirect addressing, any location in the 64K-
word data memory space can be accessed
using a 16- bit address contained in AR.
• Each auxiliary register (AR0-AR7) provide
flexible and powerful indirect addressing.
3/22/2016 Prabhu Mike
• There are seven types of indirect addressing
1. Auto increment
2. Auto decrement
3. Post indexing by adding the contents
4. Post indexing by subtract the contents
5. single indirect addressing with no
increment
6. single indirect addressing with no
decrement
3/22/2016 Prabhu Mike
Register addressing
• The register addressing mode uses operands
in CPU register.
• Here two memory mapped register in CPU are
Block move address register (BMAR)
Dynamic bit manipulation register (DBMR)
3/22/2016 Prabhu Mike
Memory mapped register addressing
• Memory mapped register addressing is used
to access efficiently the CPU and on chip
peripheral registers.
• It operates like the direct addressing.
LAMM-load accumulator
LMMR-load memory
SAMM-store accumulator
SMMR- store memory
3/22/2016 Prabhu Mike
Circular addressing mode
• Circular addressing is the most complex
addressing mode.
• Such as convolution, correctional and FIR
filtering can use circular buffer in memory to
implement a sliding window.
• CBSR 1, CBSR 2, CBER 1, CBER 2, CBCR
3/22/2016 Prabhu Mike
Thankyou
2/18/2015 Prabhu Mike

Digital signal processing

  • 1.
  • 2.
    Addressing modes • Theaddressing modes in TMS32050 are 1. Immediate addressing 2. Indirect addressing 3. Register addressing 4. Memory mapped register addressing 5. Direct addressing 6. circular addressing mode. 3/22/2016 Prabhu Mike
  • 3.
    Immediate addressing • Immediateaddressing is used to handle constant data. • It allows the programmer to operate on an actual value. • Depending on the length of the data, the addressing mode is referred to as long immediate or short immediate addressing mode. 3/22/2016 Prabhu Mike
  • 4.
    Cont…. • In longimmediate addressing the data is contained in a portion of the bits in a single word instruction. • EXAMPLE LD #80h, A : The instruction loads an immediate value 80h into the accumlator. 3/22/2016 Prabhu Mike
  • 5.
    Indirect addressing • Theindirect address mode uses the auxiliary register (ARs) to hold the addresses of operands in memory. • In indirect addressing, any location in the 64K- word data memory space can be accessed using a 16- bit address contained in AR. • Each auxiliary register (AR0-AR7) provide flexible and powerful indirect addressing. 3/22/2016 Prabhu Mike
  • 6.
    • There areseven types of indirect addressing 1. Auto increment 2. Auto decrement 3. Post indexing by adding the contents 4. Post indexing by subtract the contents 5. single indirect addressing with no increment 6. single indirect addressing with no decrement 3/22/2016 Prabhu Mike
  • 7.
    Register addressing • Theregister addressing mode uses operands in CPU register. • Here two memory mapped register in CPU are Block move address register (BMAR) Dynamic bit manipulation register (DBMR) 3/22/2016 Prabhu Mike
  • 8.
    Memory mapped registeraddressing • Memory mapped register addressing is used to access efficiently the CPU and on chip peripheral registers. • It operates like the direct addressing. LAMM-load accumulator LMMR-load memory SAMM-store accumulator SMMR- store memory 3/22/2016 Prabhu Mike
  • 9.
    Circular addressing mode •Circular addressing is the most complex addressing mode. • Such as convolution, correctional and FIR filtering can use circular buffer in memory to implement a sliding window. • CBSR 1, CBSR 2, CBER 1, CBER 2, CBCR 3/22/2016 Prabhu Mike
  • 10.