SETC Mode
6-320
SETC Mode
Set Multiple Status Bits
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
SETC Mode
0011 1011 CCCC CCCC
X
−
1,2
SETC SXM
0011 1011 0000 0001
X
−
1
SETC OVM
0011 1011 0000 0010
X
−
1
SETC TC
0011 1011 0000 0100
X
−
1
SETC C
0011 1011 0000 1000
X
−
1
SETC INTM
0011 1011 0001 0000
X
−
2
SETC DBGM
0011 1011 0010 0000
X
−
2
SETC PAGE0
0011 1011 0100 0000
X
−
1
SETC VMAP
0011 1011 1000 0000
X
−
1
Operands
mode
8-bit immediate mask (0x00 to 0xFF)
Description
Set the specified status bits. The ”mode” operand is a mask value that relates
to the status bits in this way:
“Mode” bit
Status Register
Flag
Cycles
0
ST0
SXM
1
1
ST0
OVM
1
2
ST0
TC
1
3
ST0
C
1
4
ST1
INTM
2
5
ST1
DBGM
2
6
ST1
PAGE0
1
7
ST1
VMAP
1
Note:
The assembler will accept any number of flag names in any order. For example:
SETC INTM,TC ; Set INTM and TC bits to 1
SETC TC,INTM,OVM,C ; Set TC, INTM, OVM, C bits to 1
Flags and
M d
SXM
Any of the specified bits can be set by the instruction.
g
Modes
OVM
TC
C
INTM
DBGM
PAGE0
VMAP
Repeat
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...