C28MAP
SYNTAX OPTIONS
C28MAP
Note:
This instruction is an alias for the "SETC M0M1MAP" instruction.
Operands
Description
C28 at Reset
(M0M1MAP = 1)
Program Space
M0
M1
Note:
The pipeline is flushed when this instruction is executed.
Flags and
M0M1MAP
Modes
Repeat
Example
; Set the device mode from reset to C28x mode:
Reset:
C28OBJ
C28ADDR
.c28_amode
C28MAP
.
.
0101 0110 0001 1010
None
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:
Data Space
00 0000
M0
00 0400
M1
00 07FF
The M0M1MAP bit is set.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
; Enable C28x Object Mode
; Enable C28x Address Mode
; Tell assembler we are in C28x address mode
; Enable C28x Mapping Of M0 and M1 blocks
OPCODE
OBJMODE
C27x Compatible Mapping
(M0M1MAP = 0)
Program Space
M1
M0
C28MAP
Set the M0M1MAP Bit
RPT
CYC
X
−
5
Data Space
00 0000
M0
00 0400
M1
00 07FF
6-65
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?