Fujitsu mb91192 Home Theater Server User Manual


 
317
Shift Instruction
Value Move Operation of Value Sets/16 Bits/32 Bits Immediately
Table E-8 Shift instruction
Mnemonic Type OP CYCLE NZVC Operation Remark
LSL Rj, Ri
*LSL #u5, Ri(u5:0 to 31)
LSL #u4, Ri
LSL2 #u4, Ri
A
C'
C
C
B6
B4
B4
B5
1
1
1
1
CC-C
CC-C
CC-C
CC-C
Ri < <Rj
Ri
Ri < <u5
Ri
Ri < <u4
Ri
Ri < <(u4+16)
Ri
Logical shift
LSR Rj, Ri
*LSR #u5, Ri(u5:0 to 31)
LSR #u4, Ri
LSR2 #u4, Ri
A
C'
C
C
B2
B0
B0
B1
1
1
1
1
CC-C
CC-C
CC-C
CC-C
Ri > >Rj
Ri
Ri > >u5
Ri
Ri > >u4
Ri
Ri > >(u4+16)
Ri
Logical shift
ASR Rj, Ri
*ASR #u5, Ri(u5:0 to 31)
ASR #u4, Ri
ASR2 #u4, Ri
A
C'
C
C
BA
B8
B8
B9
1
1
1
1
CC-C
CC-C
CC-C
CC-C
Ri > >Rj
Ri
Ri > >u5
Ri
Ri > >u4
Ri
Ri > >(u4+16)
Ri
Arithmetic shift
Table E-9 Value move operation of value sets/16 bits/32 bits immediately
Mnemonic Type OP CYCLE NZVC Operation Remark
LDI:32 #i32,Ri
LDI:20 #i20,Ri
LDI:8 #i8,Ri
*LDI# {i8 | i20 | i32}, Ri
*
E
C
B
9F-8
9B
C0
3
2
1
----
----
----
i32
Ri
i20
Ri
i8
Ri
{i8 | i20 | i32}
Ri
0 expansions of high rank 12bit.
0 expansions of high rank 24 bit.
*: When the immediate value is an absolute value, i8, i20, or i32 is automatically selected by the assembler.
When the immediate value is a relative value, or includes an external reference symbol, i32 is automatically selected.