beautypg.com

Texas Instruments TMS320C2XX User Manual

Page 466

background image

Instruction Set Comparison Table

B-17

TMS320C1x/C2x/C2xx/C5x Instruction Set Comparison

Syntax

Description

5x

2xx

2x

1x

CNFP

Configure Block as Program Memory

Configure on-chip RAM block B0 as program memory.
Block B0 is mapped into program-memory locations
65280h–65535h.

TMS320C5x devices: Block B0 is mapped into data-
memory locations 65024h–65535h.

CONF

2-bit constant

Configure Block as Program Memory

Configure on-chip RAM block B0/B1/B2/B3 as
program memory. For information on the memory
mapping of B0/B1/B2/B3, see the

TMS320C2x User’s

Guide.

CPL

[

#lk,] dma

CPL

[

#lk,] {ind} [, next ARP]

Compare DBMR or Immediate With Data Value

Compare two quantities: If the two quantities are
equal, set the TC bit to 1; otherwise, clear the TC bit.

CRGT

Test for ACC > ACCB

Compare the contents of the ACC with the contents of
the ACCB, then load the larger signed value into both
registers and modify the carry bit according to the com-
parison result. If the contents of ACC are greater than
or equal to the contents of ACCB, set the carry bit to 1.

CRLT

Test for ACC < ACCB

Compare the contents of the ACC with the contents of
the ACCB, then load the smaller signed value into both
registers and modify the carry bit according to the com-
parison result. If the contents of ACC are less than the
contents of ACCB, clear the carry bit.

DINT

Disable Interrupts

Disable all interrupts; set the INTM to 1. Maskable in-
terrupts are disabled immediately after the DINT in-
struction executes. DINT does not disable the un-
maskable interrupt RS; DINT does not affect the IMR

.

DMOV

dma

DMOV {

ind} [, next ARP]

Data Move in Data Memory

Copy the contents of the addressed data-memory lo-
cation into the next higher address. DMOV moves data
only within on-chip RAM blocks.

TMS320C2x, TMS320C2xx, and TMS320C5x de-
vices: The on-chip RAM blocks are B0 (when config-
ured as data memory), B1, and B2.