English
Language : 

GMS30C2116 Datasheet, PDF (53/322 Pages) Hynix Semiconductor – USERS MANUAL
INSTRUCTIONS GENERAL
2-5
2.3.1 Table of Immediate Values
n immediate value imm
0..16
0..16
17
imm1//imm2
18
16 zeros//imm1
19
16 ones//imm1
20
32
21
64
22
128
23
231
24
-8
25
-7
26
-6
27
-5
28
-4
29
-3
30
-2
31
231-1
31
-1
Comment
at CMPBI, n = 0 encodes ANYBZ
at ADDI and ADDSI n = 0 encodes CZ
range = 0..232-1 or -231..231-1
range = 0..65 535
range = -65 536..-1
bit 5 = 1, all other bits = 0
bit 6 = 1, all other bits = 0
bit 7 = 1, all other bits = 0
bit 31 = 1, all other bits = 0
at CMPBI and ANDNI
bit 31 = 0, all other bits = 1
at all other instructions using imm
Table 2.3: Encoding of Immediate Values
Note: 231 provides clear, set and invert of the floating-point sign bit at ANDNI, ORI and
XORI respectively.
231-1 provides a test for floating-point zero at CMPBI and extraction of the sign bit at
ANDNI.
See CMPBI for ANYBZ and ADDI, ADDSI for CZ.