D950-Core
5.4.2 ALU Instructions
One-word Operand (oper_1)
CLR
Clear Accumulator (AiE:AiH:AiL = 0)
CLRH Clear 24 MSBs of Accumulator (AiE:AiH = 0)
CLRL Clear 16 LSBs of Accumulator (AiL = 0)
CLRE Clear 8 Extension bits of Accumulator (AiE = 0)
SET
Set Accumulator (AiE:AiH:AiL = 0xFF FFFF FFFF)
SETH Set 24 MSBs of Accumulator (AiE:AiH = 0xFF FFFF)
SETL Set 16 LSBs of Accumulator (AiL = 0xFFFF)
SEXT Accumulator is sign extended (AiE loaded with 8 times the MSB of AiH:AiL)
ROUND Rounds the 40-bit accumulator value
Figure 5.5 ALU One-word Operand
Ai = Lj ASR #value
Rj LSR
Aj ROL
P ASL
*AXm + IXs= AkH
*AYn + IYr= AkH
,
Ai = oper_1 Ai
Note:
value=1...32 for ASR, value=0...32 for ROL,
value=1...32 for LSR and value=0...31 for ASL
VR02018D
45/89
6