1.3 Explanation of Memory Areas
1-65
Modification of values of constants specified by high−level instructions
Constant = Base value + value in I0 through ID
Example 1: Modifying 16-bit constant K100
I0K100
Base value I0 value 16-bit constant
K100 + K0 = K100
K100 + K10 = K110
K100 + K−10 = K90
Example 2: Modifying 16-bit constant H10
I0H10
Base value I0 value 16-bit constant
H10 + HA = H1A
H10 + H10 = H20
Example 3: Modifying 32-bit constant K0
I0K 0
Base value I1 and I0 value 32-bit constant
K0 + K10000 = K10000
K0 + K60000 = K60000
K0 + K999999 = K999999