SETC M0M1MAP
6-322
SETC M0M1MAP Set the M0M1MAP Status Bit
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
SETC M0M1MAP 0101 0110 0001 1010 X − 5
Operands
M0M1MAP
Status bit
Description Set the M0M1MAP status bit, configuring the mapping of the M0 and M1
memory blocks for C28x/C2XLP operation. The memory blocks are
mapped as follows:
M0M1MAP bit Data Space Program Space
0
M0: 0x000 to 0x3FF M0: 0x400 to 0x7FF
(C27x)
M1: 0x400 to 0x7FF M1: 0x000 to 0x3FF
1
M0: 0x000 to 0x3FF
(C28x/C2XLP)
M1: 0x400 to 0x7FF
Note: The pipeline is flushed when this instruction is executed.
Flags and
Modes
M0M1MAP
The M0M1MAP bit is set.
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Example ; Set the device mode from reset to C28x:
Reset:
SETC OBJMODE ; Enable C28x Object Mode
CLRC AMODE ; Enable C28x Address Mode
.c28_amode ; Tell assembler we are in C28x address mode
SETC M0M1MAP ; Enable C28x Mapping Of M0 and M1 blocks
.
.