English
Language : 

GMS30C2216 Datasheet, PDF (53/320 Pages) Hynix Semiconductor – 16/32 BIT RISC/DSP
Instruction General
2-5
2.3.1 Table of Immediate Values
n immediate value Comment
imm
0..1
0..16
6
at CMPBI, n = 0 encodes ANYBZ
at ADDI and ADDSI n = 0 encodes CZ
17
imm1//imm2
range = 0..232-1 or -231..231-1
18
16 zeros//imm1 range = 0..65 535
19
16 ones//imm1 range = -65 536..-1
20
32
bit 5 = 1, all other bits = 0
21
64
bit 6 = 1, all other bits = 0
22
128
bit 7 = 1, all other bits = 0
23
231
bit 31 = 1, all other bits = 0
24
-8
25
-7
26
-6
27
-5
28
-4
29
-3
30
-2
31
231-1
at CMPBI and ANDNI
bit 31 = 0, all other bits = 1
31
-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.