English
Language : 

GMS30C2116 Datasheet, PDF (297/322 Pages) Hynix Semiconductor – USERS MANUAL
Appendix A. Instruction Set Details
Shift Right Immediate (Unsigned Single Word)
A-123
SHRI
Format:
Rn format
15
OP-code
1010 00
9 87
43
0
dn
Rd-code
n
d = 0: Rd-code encodes G0..G15 for Rd
d = 1: Rd-code encodes L0..L15 for Rd
n: Bit 8//bit 3..0 encode n = 0..31
Notation:
SHRI Ld, n
Description:
The destination operand is shifted right by a number of bit positions specified by n = 0..31
as a shift by 0..31. 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 n;
Z := Ld/ = 0;
N := Ld(31);
C := last bit shifted out is "one"
Exceptions:
None.