English
Language : 

GMS30C2116 Datasheet, PDF (294/322 Pages) Hynix Semiconductor – USERS MANUAL
A-120
Shift Right (Unsigned Single Word)
Appendix A. Instruction Set Details
SHR
Format:
LL format
15
OP-code
1000 0011
87
43
0
Ld-code
Ls-code
Ld-code encodes L0..L15 for Ld
Ls-code encodes L0..L15 for Ls
Notation:
SHR Ld, Ls
Description:
The destination operand is shifted right by a number of bit positions specified by bits 4..0
of the source operand as a shift by 0..31. The higher-order bits of the source operand are
ignored. The destination operand is interpreted as a unsigned integer.
The Shift Right instruction inserts zeros in the vacated bit positions at the left.
Operation:
Ld := Ld >> by Ls(4..0);
Z := Ld =0;
N := Ld(31);
C := last bit shifted out is "one"
Exceptions:
None.