C28MAP
6-65
C28MAP Set the M0M1MAP Bit
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
C28MAP 0101 0110 0001 1010 X − 5
Note: This instruction is an alias for the “SETC M0M1MAP” instruction.
Operands None
Description Set the M0M1MAP status bit in Status register ST1, configuring the
mapping of the M0 and M1 memory blocks for C28x operation. The
memory blocks are mapped as follows:
M0 M0
M1
C28 at Reset
(M0M1MAP = 1)
Program Space
Data Space
00 0000
00 0400
00 07FF
C27x Compatible Mapping
(M0M1MAP = 0)
M1 M0
M1
Program Space
Data Space
00 0000
00 0400
00 07FF
M0M1
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 mode:
Reset:
C28OBJ ; Enable C28x Object Mode
C28ADDR ; Enable C28x Address Mode
.c28_amode ; Tell assembler we are in C28x address mode
C28MAP ; Enable C28x Mapping Of M0 and M1 blocks
.
.