MOVB loc16, AX.LSB
6-196
MOVB loc16, AX.LSB
Store LSB of AX Register
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
MOVB loc16, AX.LSB
0011 110A LLLL LLLL
X
−
1
Operands
loc16
Addressing mode (see Chapter 5)
AX.LS
B
Least significant byte of accumulator high (AH.LSB) or accumulator low
(AL.LSB) register
Description
Load 8 bits of the location pointed to by the “loc16” addressing mode with the
least significant byte of the specified AX register (AH.LSB or AL.LSB). The
form of the “loc16” operand determines which of its 8 bits are loaded and
which of its 8 bits are left unchanged:
if(loc16 = *+XARn[offset])
{
if(offset is an even value)
[loc16.LSB] = AX.LSB;
[loc16.MSB] = unchanged;
if(offset is an odd value)
[loc16.LSB] = unchanged;
[loc16.MSB] = AX.LSB;
}
else
[loc16.LSB] = AX.LSB;
[loc16.MSB] = unchanged;
Note:
offset = 3-bit immediate or AR0 or AR1 indexed addressing modes only.
This is a read-modify-write operation.
For the following address modes, the returned result is undefined:
*AR6%++
(AMODE = 0)
*0++
(AMODE = x)
*0
−−
(AMODE = x)
*BR0++
(AMODE = x)
*BR0
−−
(AMODE = x)
*0++, ARPn
(AMODE = 1)
*0
−−
, ARPn
(AMODE = 1)
*BR0++, ARPn
(AMODE = 1)
*BR0
−−
, ARPn
(AMODE = 1)
Flags and
Modes
N
If (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.
Z
If (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.
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 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...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...