(int l1, int l2)
| 136 | } |
| 137 | |
| 138 | int append(int l1, int l2) { |
| 139 | if (l1 == 0) { |
| 140 | return l2; |
| 141 | } |
| 142 | if (l2 == 0) { |
| 143 | return l1; |
| 144 | } |
| 145 | int last = l1; |
| 146 | for (; ; ) { |
| 147 | int next = next(last); |
| 148 | if (next == 0) { |
| 149 | break; |
| 150 | } |
| 151 | last = next; |
| 152 | } |
| 153 | Inst i = inst[last >> 1]; |
| 154 | if ((last & 1) == 0) { |
| 155 | i.out = l2; |
| 156 | } else { |
| 157 | i.arg = l2; |
| 158 | } |
| 159 | return l1; |
| 160 | } |
| 161 | |
| 162 | // --- |
| 163 |