Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28377S: About Indirect Addressing Modes.

Part Number: TMS320F28377S

Hi all,

I have a question in the description of the following trailing material.

http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/c28x28377/C28x_Microcontroller_MDW_6-1.pdf

I think that description of "AND *XAR2,#1234h" can not be done with C28x, is it correct? 

In the following manual, indirect addressing mode does not support "AND" instruction.

TMS320C28x CPU and Instruction Set Reference Guide

http://www.ti.com/lit/ug/spru430f/spru430f.pdf

5.9 Program Space Indirect Addressing Modes(p.104)

Best regards,

Sasaki

  • Hi Sasaki,

    This is a legal instruction for logical AND between a specified integer and a data memory location, identified by *XAR2.  The assembler should take it.  The instruction is shown on p.154 of the manual, where in our case "loc16" is determined by XAR2.  Are you experiencing any issues with this instruction?

    The chapter on p.104 refers to operations on program space.  Indirect addressing on data space begins on p.86. 

    Best regards,

    Richard

  • Hi Richard-san,

    Thank you for your support.
    I had overlooked it and checked it.

    Best regards,
    Sasaki