Texas Instruments TMS320C28x Reference Manual page 351

Dsp cpu and instruction set
Table of Contents

Advertisement

MOVB loc16,#8bit,COND
MOVB loc16,#8bit,COND
SYNTAX OPTIONS
MOVB loc16,#8bit,COND
Operands
loc16
#8bit
COND
Description
Flags and
N
Modes
Z
V
6-194
0101 0110 1011 COND
CCCC CCCC LLLL LLLL
Addressing mode (see Chapter 5)
8-bit immediate constant value
Conditional codes:
COND
Syntax
0000
NEQ
Not Equal To
0001
EQ
Equal To
0010
GT
Greater Then
0011
GEQ
Greater Then Or Equal To
0100
LT
Less Then
0101
LEQ
Less Then Or Equal To
0110
HI
Higher
0111
HIS, C
Higher Or Same, Carry Set
1000
LO, NC
Lower, Carry Clear
1001
LOS
Lower Or Same
1010
NOV
No Overflow
1011
OV
Overflow
1100
NTC
Test Bit Not Set
1101
TC
Test Bit Set
1110
NBIO
BIO Input Equal To Zero
1111
UNC
Unconditional
If the specified condition being tested is true, then the 8-bit zero extended
constant is stored in the location pointed to by the "loc16" addressing mode:
if(COND = true)
[loc16] = 0:8bit;
Note:
Addressing modes are not conditionally executed; therefore, if an addressing mode
performs a pre- or post-modification, it will execute regardless of whether the condition
is true or not.
If (COND = true AND loc16 = @AX), then after the move AX is tested for a
negative condition. The negative flag bit is set if bit 15 of AX is 1, otherwise it
is cleared.
If (COND = true AND loc16 = @AX), then after the move, AX is tested for a
zero condition. The zero flag bit is set if AX = 0, otherwise it is cleared.
If the V flag is tested by the condition, then V is cleared.
Conditionally Save 8-bit Constant
OPCODE
OBJMODE
Description
RPT
CYC
1
1
Flags Tested
Z = 0
Z = 1
Z = 0 AND N = 0
N = 0
N = 1
Z = 1 OR N = 1
C = 1 AND Z = 0
C = 1
C = 0
C = 0 OR Z = 1
V = 0
V = 1
TC = 0
TC = 1
BIO = 0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF