Texas Instruments TMS320C28x Reference Manual page 349

Dsp cpu and instruction set
Table of Contents

Advertisement

MOVB AX.MSB, loc16
MOVB AX.MSB, loc16
SYNTAX OPTIONS
MOVB AX.MSB, loc16
Operands
AX.MS
B
loc16
Description
Flags and
N
Modes
Z
6-192
0011 100A LLLL LLLL
Most significant byte of accumulator high (AH.MSB) or accumulator low
(AL.MSB) register
Addressing mode (see Chapter 5)
Load the most significant byte of the specified AX register (AH.MSB or
AH.LSB) with 8 bits from the location pointed to by the "loc16" addressing
mode. The least significant byte of AX is left unchanged. The form of the
"loc16" operand determines which of its 8 bits are used to load AX.MSB
if(loc16 = *+XARn[offset])
{
if(offset is an even value)
AX.MSB = [loc16.LSB];
if(offset is an odd value)
AX.MSB = [loc16.MSB];
}
else
AX.MSB = [loc16.LSB];
AX.LSB = unchanged;
Note:
offset = 3-bit immediate or AR0 or AR1 indexed addressing modes only.
For the following address modes, the returned result is undefined:
*AR6%++
*0++
*0−−
*BR0++
*BR0−−
*0++, ARPn
*0−−, ARPn
*BR0++, ARPn
*BR0−−, ARPn
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.
After the move, AX is tested for a zero condition. The zero flag bit is set if
AX = 0; otherwise it is cleared.
OPCODE
OBJMODE
(AMODE = 0)
(AMODE = x)
(AMODE = x)
(AMODE = x)
(AMODE = x)
(AMODE = 1)
(AMODE = 1)
(AMODE = 1)
(AMODE = 1)
Load Byte Value
RPT
CYC
X
1

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