| 1 | # vl2mv elevator.v |
|---|
| 2 | # version: 0.2 |
|---|
| 3 | # date: 17:49:14 11/22/96 (PST) |
|---|
| 4 | .model main |
|---|
| 5 | # I/O ports |
|---|
| 6 | |
|---|
| 7 | # assign init11 = $NDset ( 0,1,2,3 ) |
|---|
| 8 | .names -> init11<0> init11<1> |
|---|
| 9 | 0 0 |
|---|
| 10 | 1 0 |
|---|
| 11 | 0 1 |
|---|
| 12 | 1 1 |
|---|
| 13 | # assign init22 = $NDset ( 0,1,2,3 ) |
|---|
| 14 | .names -> init22<0> init22<1> |
|---|
| 15 | 0 0 |
|---|
| 16 | 1 0 |
|---|
| 17 | 0 1 |
|---|
| 18 | 1 1 |
|---|
| 19 | # assign init1 = init11 == 3 ? 2 : init11 |
|---|
| 20 | .names _n6<0> |
|---|
| 21 | 1 |
|---|
| 22 | .names _n6<1> |
|---|
| 23 | 1 |
|---|
| 24 | # init11 == 3 |
|---|
| 25 | .names init11<0> _n6<0> _n7<0> |
|---|
| 26 | .def 0 |
|---|
| 27 | 0 1 1 |
|---|
| 28 | 1 0 1 |
|---|
| 29 | .names init11<1> _n6<1> _n7<1> |
|---|
| 30 | .def 0 |
|---|
| 31 | 0 1 1 |
|---|
| 32 | 1 0 1 |
|---|
| 33 | .names _n7<0> _n7<1> _n8 |
|---|
| 34 | .def 1 |
|---|
| 35 | 0 0 0 |
|---|
| 36 | .names _n8 _n5 |
|---|
| 37 | 0 1 |
|---|
| 38 | 1 0 |
|---|
| 39 | .names _n9<0> |
|---|
| 40 | 0 |
|---|
| 41 | .names _n9<1> |
|---|
| 42 | 1 |
|---|
| 43 | # init11 == 3 ? 2 : init11 |
|---|
| 44 | .names _n9<0> init11<0> _n5 _na<0> |
|---|
| 45 | 0 - 1 0 |
|---|
| 46 | 1 - 1 1 |
|---|
| 47 | - 0 0 0 |
|---|
| 48 | - 1 0 1 |
|---|
| 49 | .names _n9<1> init11<1> _n5 _na<1> |
|---|
| 50 | 0 - 1 0 |
|---|
| 51 | 1 - 1 1 |
|---|
| 52 | - 0 0 0 |
|---|
| 53 | - 1 0 1 |
|---|
| 54 | .names _na<0> init1$raw_n4<0> |
|---|
| 55 | - =_na<0> |
|---|
| 56 | .names _na<1> init1$raw_n4<1> |
|---|
| 57 | - =_na<1> |
|---|
| 58 | # assign init2 = init22 == 3 ? 2 : init22 |
|---|
| 59 | .names _nf<0> |
|---|
| 60 | 1 |
|---|
| 61 | .names _nf<1> |
|---|
| 62 | 1 |
|---|
| 63 | # init22 == 3 |
|---|
| 64 | .names init22<0> _nf<0> _n10<0> |
|---|
| 65 | .def 0 |
|---|
| 66 | 0 1 1 |
|---|
| 67 | 1 0 1 |
|---|
| 68 | .names init22<1> _nf<1> _n10<1> |
|---|
| 69 | .def 0 |
|---|
| 70 | 0 1 1 |
|---|
| 71 | 1 0 1 |
|---|
| 72 | .names _n10<0> _n10<1> _n11 |
|---|
| 73 | .def 1 |
|---|
| 74 | 0 0 0 |
|---|
| 75 | .names _n11 _ne |
|---|
| 76 | 0 1 |
|---|
| 77 | 1 0 |
|---|
| 78 | .names _n12<0> |
|---|
| 79 | 0 |
|---|
| 80 | .names _n12<1> |
|---|
| 81 | 1 |
|---|
| 82 | # init22 == 3 ? 2 : init22 |
|---|
| 83 | .names _n12<0> init22<0> _ne _n13<0> |
|---|
| 84 | 0 - 1 0 |
|---|
| 85 | 1 - 1 1 |
|---|
| 86 | - 0 0 0 |
|---|
| 87 | - 1 0 1 |
|---|
| 88 | .names _n12<1> init22<1> _ne _n13<1> |
|---|
| 89 | 0 - 1 0 |
|---|
| 90 | 1 - 1 1 |
|---|
| 91 | - 0 0 0 |
|---|
| 92 | - 1 0 1 |
|---|
| 93 | .names _n13<0> init2$raw_nd<0> |
|---|
| 94 | - =_n13<0> |
|---|
| 95 | .names _n13<1> init2$raw_nd<1> |
|---|
| 96 | - =_n13<1> |
|---|
| 97 | .subckt elevator e1 stop_next=stop_next<1> inc=inc<1> dec=dec<1> continue=continue<1> init<0>=init1<0> init<1>=init1<1> |
|---|
| 98 | .subckt elevator e2 stop_next=stop_next<2> inc=inc<2> dec=dec<2> continue=continue<2> init<0>=init2<0> init<1>=init2<1> |
|---|
| 99 | .subckt main_control main_control inc<1>=inc<1> inc<2>=inc<2> dec<1>=dec<1> dec<2>=dec<2> stop_next<1>=stop_next<1> stop_next<2>=stop_next<2> continue<1>=continue<1> continue<2>=continue<2> init1<0>=init1<0> init1<1>=init1<1> init2<0>=init2<0> init2<1>=init2<1> |
|---|
| 100 | # conflict arbitrators |
|---|
| 101 | .names init2$raw_nd<0> init2<0> |
|---|
| 102 | - =init2$raw_nd<0> |
|---|
| 103 | .names init2$raw_nd<1> init2<1> |
|---|
| 104 | - =init2$raw_nd<1> |
|---|
| 105 | .names init1$raw_n4<0> init1<0> |
|---|
| 106 | - =init1$raw_n4<0> |
|---|
| 107 | .names init1$raw_n4<1> init1<1> |
|---|
| 108 | - =init1$raw_n4<1> |
|---|
| 109 | # non-blocking assignments |
|---|
| 110 | # latches |
|---|
| 111 | # quasi-continuous assignment |
|---|
| 112 | .end |
|---|
| 113 | |
|---|
| 114 | |
|---|
| 115 | .model elevator |
|---|
| 116 | # I/O ports |
|---|
| 117 | .outputs dec |
|---|
| 118 | .outputs inc |
|---|
| 119 | .inputs init<0> init<1> |
|---|
| 120 | .inputs stop_next |
|---|
| 121 | .inputs continue |
|---|
| 122 | |
|---|
| 123 | .mv movement 2 STOPPED MOVING |
|---|
| 124 | .mv buttons<*0*> 2 ON OFF |
|---|
| 125 | .mv buttons<*1*> 2 ON OFF |
|---|
| 126 | .mv buttons<*2*> 2 ON OFF |
|---|
| 127 | .mv door 4 OPEN OPENING CLOSED CLOSING |
|---|
| 128 | .mv direction 2 UP DOWN |
|---|
| 129 | # open_next = 0 |
|---|
| 130 | .names open_next$raw_n16 |
|---|
| 131 | 0 |
|---|
| 132 | # non-blocking assignments for initial |
|---|
| 133 | # location = init |
|---|
| 134 | .names init<0> location$raw_n17<0> |
|---|
| 135 | - =init<0> |
|---|
| 136 | .names init<1> location$raw_n17<1> |
|---|
| 137 | - =init<1> |
|---|
| 138 | # non-blocking assignments for initial |
|---|
| 139 | # direction = 0 |
|---|
| 140 | .mv direction$raw_n18 2 UP DOWN |
|---|
| 141 | .names direction$raw_n18 |
|---|
| 142 | UP |
|---|
| 143 | # non-blocking assignments for initial |
|---|
| 144 | # door = 0 |
|---|
| 145 | .mv door$raw_n19 4 OPEN OPENING CLOSED CLOSING |
|---|
| 146 | .names door$raw_n19 |
|---|
| 147 | OPEN |
|---|
| 148 | # non-blocking assignments for initial |
|---|
| 149 | # movement = 0 |
|---|
| 150 | .mv movement$raw_n1a 2 STOPPED MOVING |
|---|
| 151 | .names movement$raw_n1a |
|---|
| 152 | STOPPED |
|---|
| 153 | # non-blocking assignments for initial |
|---|
| 154 | # buttons [0] = 1 |
|---|
| 155 | .mv buttons$raw_n1b<*0*> 2 ON OFF |
|---|
| 156 | .mv buttons$raw_n1b<*1*> 2 ON OFF |
|---|
| 157 | .mv buttons$raw_n1b<*2*> 2 ON OFF |
|---|
| 158 | .mv _n1c 2 ON OFF |
|---|
| 159 | .names _n1d<0> |
|---|
| 160 | 0 |
|---|
| 161 | .names _n1d<1> |
|---|
| 162 | 0 |
|---|
| 163 | .names _n1e<0> |
|---|
| 164 | 0 |
|---|
| 165 | .names _n1e<1> |
|---|
| 166 | 0 |
|---|
| 167 | .names _n1e<0> _n1d<0> _n20<0> |
|---|
| 168 | .def 0 |
|---|
| 169 | 0 1 1 |
|---|
| 170 | 1 0 1 |
|---|
| 171 | .names _n1e<1> _n1d<1> _n20<1> |
|---|
| 172 | .def 0 |
|---|
| 173 | 0 1 1 |
|---|
| 174 | 1 0 1 |
|---|
| 175 | .names _n20<0> _n20<1> _n21 |
|---|
| 176 | .def 1 |
|---|
| 177 | 0 0 0 |
|---|
| 178 | .names _n21 _n1f |
|---|
| 179 | 0 1 |
|---|
| 180 | 1 0 |
|---|
| 181 | .mv _n22 2 ON OFF |
|---|
| 182 | .names _n22 |
|---|
| 183 | ON |
|---|
| 184 | .names _n1c _n22 _n1f buttons$raw_n1b<*0*> |
|---|
| 185 | - - 0 =_n22 |
|---|
| 186 | - - 1 =_n1c |
|---|
| 187 | .names _n23<0> |
|---|
| 188 | 1 |
|---|
| 189 | .names _n23<1> |
|---|
| 190 | 0 |
|---|
| 191 | .names _n23<0> _n1d<0> _n25<0> |
|---|
| 192 | .def 0 |
|---|
| 193 | 0 1 1 |
|---|
| 194 | 1 0 1 |
|---|
| 195 | .names _n23<1> _n1d<1> _n25<1> |
|---|
| 196 | .def 0 |
|---|
| 197 | 0 1 1 |
|---|
| 198 | 1 0 1 |
|---|
| 199 | .names _n25<0> _n25<1> _n26 |
|---|
| 200 | .def 1 |
|---|
| 201 | 0 0 0 |
|---|
| 202 | .names _n26 _n24 |
|---|
| 203 | 0 1 |
|---|
| 204 | 1 0 |
|---|
| 205 | .mv _n27 2 ON OFF |
|---|
| 206 | .names _n27 |
|---|
| 207 | ON |
|---|
| 208 | .names _n1c _n27 _n24 buttons$raw_n1b<*1*> |
|---|
| 209 | - - 0 =_n27 |
|---|
| 210 | - - 1 =_n1c |
|---|
| 211 | .names _n28<0> |
|---|
| 212 | 0 |
|---|
| 213 | .names _n28<1> |
|---|
| 214 | 1 |
|---|
| 215 | .names _n28<0> _n1d<0> _n2a<0> |
|---|
| 216 | .def 0 |
|---|
| 217 | 0 1 1 |
|---|
| 218 | 1 0 1 |
|---|
| 219 | .names _n28<1> _n1d<1> _n2a<1> |
|---|
| 220 | .def 0 |
|---|
| 221 | 0 1 1 |
|---|
| 222 | 1 0 1 |
|---|
| 223 | .names _n2a<0> _n2a<1> _n2b |
|---|
| 224 | .def 1 |
|---|
| 225 | 0 0 0 |
|---|
| 226 | .names _n2b _n29 |
|---|
| 227 | 0 1 |
|---|
| 228 | 1 0 |
|---|
| 229 | .mv _n2c 2 ON OFF |
|---|
| 230 | .names _n2c |
|---|
| 231 | ON |
|---|
| 232 | .names _n1c _n2c _n29 buttons$raw_n1b<*2*> |
|---|
| 233 | - - 0 =_n2c |
|---|
| 234 | - - 1 =_n1c |
|---|
| 235 | .names _n1c |
|---|
| 236 | OFF |
|---|
| 237 | # non-blocking assignments for initial |
|---|
| 238 | # buttons [1] = 1 |
|---|
| 239 | .mv buttons$raw_n2d<*0*> 2 ON OFF |
|---|
| 240 | .mv buttons$raw_n2d<*1*> 2 ON OFF |
|---|
| 241 | .mv buttons$raw_n2d<*2*> 2 ON OFF |
|---|
| 242 | .mv _n2e 2 ON OFF |
|---|
| 243 | .names _n2f<0> |
|---|
| 244 | 1 |
|---|
| 245 | .names _n2f<1> |
|---|
| 246 | 0 |
|---|
| 247 | .names _n30<0> |
|---|
| 248 | 0 |
|---|
| 249 | .names _n30<1> |
|---|
| 250 | 0 |
|---|
| 251 | .names _n30<0> _n2f<0> _n32<0> |
|---|
| 252 | .def 0 |
|---|
| 253 | 0 1 1 |
|---|
| 254 | 1 0 1 |
|---|
| 255 | .names _n30<1> _n2f<1> _n32<1> |
|---|
| 256 | .def 0 |
|---|
| 257 | 0 1 1 |
|---|
| 258 | 1 0 1 |
|---|
| 259 | .names _n32<0> _n32<1> _n33 |
|---|
| 260 | .def 1 |
|---|
| 261 | 0 0 0 |
|---|
| 262 | .names _n33 _n31 |
|---|
| 263 | 0 1 |
|---|
| 264 | 1 0 |
|---|
| 265 | .mv _n34 2 ON OFF |
|---|
| 266 | .names _n34 |
|---|
| 267 | ON |
|---|
| 268 | .names _n2e _n34 _n31 buttons$raw_n2d<*0*> |
|---|
| 269 | - - 0 =_n34 |
|---|
| 270 | - - 1 =_n2e |
|---|
| 271 | .names _n35<0> |
|---|
| 272 | 1 |
|---|
| 273 | .names _n35<1> |
|---|
| 274 | 0 |
|---|
| 275 | .names _n35<0> _n2f<0> _n37<0> |
|---|
| 276 | .def 0 |
|---|
| 277 | 0 1 1 |
|---|
| 278 | 1 0 1 |
|---|
| 279 | .names _n35<1> _n2f<1> _n37<1> |
|---|
| 280 | .def 0 |
|---|
| 281 | 0 1 1 |
|---|
| 282 | 1 0 1 |
|---|
| 283 | .names _n37<0> _n37<1> _n38 |
|---|
| 284 | .def 1 |
|---|
| 285 | 0 0 0 |
|---|
| 286 | .names _n38 _n36 |
|---|
| 287 | 0 1 |
|---|
| 288 | 1 0 |
|---|
| 289 | .mv _n39 2 ON OFF |
|---|
| 290 | .names _n39 |
|---|
| 291 | ON |
|---|
| 292 | .names _n2e _n39 _n36 buttons$raw_n2d<*1*> |
|---|
| 293 | - - 0 =_n39 |
|---|
| 294 | - - 1 =_n2e |
|---|
| 295 | .names _n3a<0> |
|---|
| 296 | 0 |
|---|
| 297 | .names _n3a<1> |
|---|
| 298 | 1 |
|---|
| 299 | .names _n3a<0> _n2f<0> _n3c<0> |
|---|
| 300 | .def 0 |
|---|
| 301 | 0 1 1 |
|---|
| 302 | 1 0 1 |
|---|
| 303 | .names _n3a<1> _n2f<1> _n3c<1> |
|---|
| 304 | .def 0 |
|---|
| 305 | 0 1 1 |
|---|
| 306 | 1 0 1 |
|---|
| 307 | .names _n3c<0> _n3c<1> _n3d |
|---|
| 308 | .def 1 |
|---|
| 309 | 0 0 0 |
|---|
| 310 | .names _n3d _n3b |
|---|
| 311 | 0 1 |
|---|
| 312 | 1 0 |
|---|
| 313 | .mv _n3e 2 ON OFF |
|---|
| 314 | .names _n3e |
|---|
| 315 | ON |
|---|
| 316 | .names _n2e _n3e _n3b buttons$raw_n2d<*2*> |
|---|
| 317 | - - 0 =_n3e |
|---|
| 318 | - - 1 =_n2e |
|---|
| 319 | .names _n2e |
|---|
| 320 | OFF |
|---|
| 321 | # non-blocking assignments for initial |
|---|
| 322 | # buttons [2] = 1 |
|---|
| 323 | .mv buttons$raw_n3f<*0*> 2 ON OFF |
|---|
| 324 | .mv buttons$raw_n3f<*1*> 2 ON OFF |
|---|
| 325 | .mv buttons$raw_n3f<*2*> 2 ON OFF |
|---|
| 326 | .mv _n40 2 ON OFF |
|---|
| 327 | .names _n41<0> |
|---|
| 328 | 0 |
|---|
| 329 | .names _n41<1> |
|---|
| 330 | 1 |
|---|
| 331 | .names _n42<0> |
|---|
| 332 | 0 |
|---|
| 333 | .names _n42<1> |
|---|
| 334 | 0 |
|---|
| 335 | .names _n42<0> _n41<0> _n44<0> |
|---|
| 336 | .def 0 |
|---|
| 337 | 0 1 1 |
|---|
| 338 | 1 0 1 |
|---|
| 339 | .names _n42<1> _n41<1> _n44<1> |
|---|
| 340 | .def 0 |
|---|
| 341 | 0 1 1 |
|---|
| 342 | 1 0 1 |
|---|
| 343 | .names _n44<0> _n44<1> _n45 |
|---|
| 344 | .def 1 |
|---|
| 345 | 0 0 0 |
|---|
| 346 | .names _n45 _n43 |
|---|
| 347 | 0 1 |
|---|
| 348 | 1 0 |
|---|
| 349 | .mv _n46 2 ON OFF |
|---|
| 350 | .names _n46 |
|---|
| 351 | ON |
|---|
| 352 | .names _n40 _n46 _n43 buttons$raw_n3f<*0*> |
|---|
| 353 | - - 0 =_n46 |
|---|
| 354 | - - 1 =_n40 |
|---|
| 355 | .names _n47<0> |
|---|
| 356 | 1 |
|---|
| 357 | .names _n47<1> |
|---|
| 358 | 0 |
|---|
| 359 | .names _n47<0> _n41<0> _n49<0> |
|---|
| 360 | .def 0 |
|---|
| 361 | 0 1 1 |
|---|
| 362 | 1 0 1 |
|---|
| 363 | .names _n47<1> _n41<1> _n49<1> |
|---|
| 364 | .def 0 |
|---|
| 365 | 0 1 1 |
|---|
| 366 | 1 0 1 |
|---|
| 367 | .names _n49<0> _n49<1> _n4a |
|---|
| 368 | .def 1 |
|---|
| 369 | 0 0 0 |
|---|
| 370 | .names _n4a _n48 |
|---|
| 371 | 0 1 |
|---|
| 372 | 1 0 |
|---|
| 373 | .mv _n4b 2 ON OFF |
|---|
| 374 | .names _n4b |
|---|
| 375 | ON |
|---|
| 376 | .names _n40 _n4b _n48 buttons$raw_n3f<*1*> |
|---|
| 377 | - - 0 =_n4b |
|---|
| 378 | - - 1 =_n40 |
|---|
| 379 | .names _n4c<0> |
|---|
| 380 | 0 |
|---|
| 381 | .names _n4c<1> |
|---|
| 382 | 1 |
|---|
| 383 | .names _n4c<0> _n41<0> _n4e<0> |
|---|
| 384 | .def 0 |
|---|
| 385 | 0 1 1 |
|---|
| 386 | 1 0 1 |
|---|
| 387 | .names _n4c<1> _n41<1> _n4e<1> |
|---|
| 388 | .def 0 |
|---|
| 389 | 0 1 1 |
|---|
| 390 | 1 0 1 |
|---|
| 391 | .names _n4e<0> _n4e<1> _n4f |
|---|
| 392 | .def 1 |
|---|
| 393 | 0 0 0 |
|---|
| 394 | .names _n4f _n4d |
|---|
| 395 | 0 1 |
|---|
| 396 | 1 0 |
|---|
| 397 | .mv _n50 2 ON OFF |
|---|
| 398 | .names _n50 |
|---|
| 399 | ON |
|---|
| 400 | .names _n40 _n50 _n4d buttons$raw_n3f<*2*> |
|---|
| 401 | - - 0 =_n50 |
|---|
| 402 | - - 1 =_n40 |
|---|
| 403 | .names _n40 |
|---|
| 404 | OFF |
|---|
| 405 | # non-blocking assignments for initial |
|---|
| 406 | # assign random_push = $NDset ( 0,1,2,3,4,5,6,7 ) |
|---|
| 407 | .names -> random_push<0> random_push<1> random_push<2> |
|---|
| 408 | 0 0 0 |
|---|
| 409 | 1 0 0 |
|---|
| 410 | 0 1 0 |
|---|
| 411 | 1 1 0 |
|---|
| 412 | 0 0 1 |
|---|
| 413 | 1 0 1 |
|---|
| 414 | 0 1 1 |
|---|
| 415 | 1 1 1 |
|---|
| 416 | # assign button_below = ((location == 2) && (buttons [1] == ON || buttons [0] == ON )) || ((location == 1) && buttons [0] == ON ) |
|---|
| 417 | .names _n55<0> |
|---|
| 418 | 0 |
|---|
| 419 | .names _n55<1> |
|---|
| 420 | 1 |
|---|
| 421 | # location == 2 |
|---|
| 422 | .names location<0> _n55<0> _n56<0> |
|---|
| 423 | .def 0 |
|---|
| 424 | 0 1 1 |
|---|
| 425 | 1 0 1 |
|---|
| 426 | .names location<1> _n55<1> _n56<1> |
|---|
| 427 | .def 0 |
|---|
| 428 | 0 1 1 |
|---|
| 429 | 1 0 1 |
|---|
| 430 | .names _n56<0> _n56<1> _n57 |
|---|
| 431 | .def 1 |
|---|
| 432 | 0 0 0 |
|---|
| 433 | .names _n57 _n54 |
|---|
| 434 | 0 1 |
|---|
| 435 | 1 0 |
|---|
| 436 | .names _n59<0> |
|---|
| 437 | 1 |
|---|
| 438 | .names _n59<1> |
|---|
| 439 | 0 |
|---|
| 440 | .mv _n5a 2 ON OFF |
|---|
| 441 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n59<1> _n59<0> _n5a |
|---|
| 442 | - - - 0 0 =buttons<*0*> |
|---|
| 443 | - - - 0 1 =buttons<*1*> |
|---|
| 444 | - - - 1 0 =buttons<*2*> |
|---|
| 445 | - - - 1 1 ON |
|---|
| 446 | .mv _n5b 2 ON OFF |
|---|
| 447 | .names _n5b |
|---|
| 448 | ON |
|---|
| 449 | # buttons [1] == 0 |
|---|
| 450 | .names _n5a _n5b _n58 |
|---|
| 451 | .def 0 |
|---|
| 452 | - =_n5a 1 |
|---|
| 453 | .names _n5d<0> |
|---|
| 454 | 0 |
|---|
| 455 | .names _n5d<1> |
|---|
| 456 | 0 |
|---|
| 457 | .mv _n5e 2 ON OFF |
|---|
| 458 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n5d<1> _n5d<0> _n5e |
|---|
| 459 | - - - 0 0 =buttons<*0*> |
|---|
| 460 | - - - 0 1 =buttons<*1*> |
|---|
| 461 | - - - 1 0 =buttons<*2*> |
|---|
| 462 | - - - 1 1 ON |
|---|
| 463 | .mv _n5f 2 ON OFF |
|---|
| 464 | .names _n5f |
|---|
| 465 | ON |
|---|
| 466 | # buttons [0] == 0 |
|---|
| 467 | .names _n5e _n5f _n5c |
|---|
| 468 | .def 0 |
|---|
| 469 | - =_n5e 1 |
|---|
| 470 | # buttons [1] == 0 || buttons [0] == 0 |
|---|
| 471 | .names _n58 _n5c _n60 |
|---|
| 472 | .def 1 |
|---|
| 473 | 0 0 0 |
|---|
| 474 | # (location == 2) && (buttons [1] == 0 || buttons [0] == 0) |
|---|
| 475 | .names _n54 _n60 _n61 |
|---|
| 476 | .def 0 |
|---|
| 477 | 1 1 1 |
|---|
| 478 | .names _n63<0> |
|---|
| 479 | 1 |
|---|
| 480 | .names _n63<1> |
|---|
| 481 | 0 |
|---|
| 482 | # location == 1 |
|---|
| 483 | .names location<0> _n63<0> _n64<0> |
|---|
| 484 | .def 0 |
|---|
| 485 | 0 1 1 |
|---|
| 486 | 1 0 1 |
|---|
| 487 | .names location<1> _n63<1> _n64<1> |
|---|
| 488 | .def 0 |
|---|
| 489 | 0 1 1 |
|---|
| 490 | 1 0 1 |
|---|
| 491 | .names _n64<0> _n64<1> _n65 |
|---|
| 492 | .def 1 |
|---|
| 493 | 0 0 0 |
|---|
| 494 | .names _n65 _n62 |
|---|
| 495 | 0 1 |
|---|
| 496 | 1 0 |
|---|
| 497 | .names _n67<0> |
|---|
| 498 | 0 |
|---|
| 499 | .names _n67<1> |
|---|
| 500 | 0 |
|---|
| 501 | .mv _n68 2 ON OFF |
|---|
| 502 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n67<1> _n67<0> _n68 |
|---|
| 503 | - - - 0 0 =buttons<*0*> |
|---|
| 504 | - - - 0 1 =buttons<*1*> |
|---|
| 505 | - - - 1 0 =buttons<*2*> |
|---|
| 506 | - - - 1 1 ON |
|---|
| 507 | .mv _n69 2 ON OFF |
|---|
| 508 | .names _n69 |
|---|
| 509 | ON |
|---|
| 510 | # buttons [0] == 0 |
|---|
| 511 | .names _n68 _n69 _n66 |
|---|
| 512 | .def 0 |
|---|
| 513 | - =_n68 1 |
|---|
| 514 | # (location == 1) && buttons [0] == 0 |
|---|
| 515 | .names _n62 _n66 _n6a |
|---|
| 516 | .def 0 |
|---|
| 517 | 1 1 1 |
|---|
| 518 | # ((location == 2) && (buttons [1] == 0 || buttons [0] == 0)) || ((location == 1) && buttons [0] == 0) |
|---|
| 519 | .names _n61 _n6a _n6b |
|---|
| 520 | .def 1 |
|---|
| 521 | 0 0 0 |
|---|
| 522 | .names _n6b button_below$raw_n53 |
|---|
| 523 | - =_n6b |
|---|
| 524 | # assign button_above = ((location == 0) && (buttons [2] == ON || buttons [1] == ON )) || ((location == 1) && (buttons [2] == ON )) |
|---|
| 525 | .names _n6e<0> |
|---|
| 526 | 0 |
|---|
| 527 | .names _n6e<1> |
|---|
| 528 | 0 |
|---|
| 529 | # location == 0 |
|---|
| 530 | .names location<0> _n6e<0> _n6f<0> |
|---|
| 531 | .def 0 |
|---|
| 532 | 0 1 1 |
|---|
| 533 | 1 0 1 |
|---|
| 534 | .names location<1> _n6e<1> _n6f<1> |
|---|
| 535 | .def 0 |
|---|
| 536 | 0 1 1 |
|---|
| 537 | 1 0 1 |
|---|
| 538 | .names _n6f<0> _n6f<1> _n70 |
|---|
| 539 | .def 1 |
|---|
| 540 | 0 0 0 |
|---|
| 541 | .names _n70 _n6d |
|---|
| 542 | 0 1 |
|---|
| 543 | 1 0 |
|---|
| 544 | .names _n72<0> |
|---|
| 545 | 0 |
|---|
| 546 | .names _n72<1> |
|---|
| 547 | 1 |
|---|
| 548 | .mv _n73 2 ON OFF |
|---|
| 549 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n72<1> _n72<0> _n73 |
|---|
| 550 | - - - 0 0 =buttons<*0*> |
|---|
| 551 | - - - 0 1 =buttons<*1*> |
|---|
| 552 | - - - 1 0 =buttons<*2*> |
|---|
| 553 | - - - 1 1 ON |
|---|
| 554 | .mv _n74 2 ON OFF |
|---|
| 555 | .names _n74 |
|---|
| 556 | ON |
|---|
| 557 | # buttons [2] == 0 |
|---|
| 558 | .names _n73 _n74 _n71 |
|---|
| 559 | .def 0 |
|---|
| 560 | - =_n73 1 |
|---|
| 561 | .names _n76<0> |
|---|
| 562 | 1 |
|---|
| 563 | .names _n76<1> |
|---|
| 564 | 0 |
|---|
| 565 | .mv _n77 2 ON OFF |
|---|
| 566 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n76<1> _n76<0> _n77 |
|---|
| 567 | - - - 0 0 =buttons<*0*> |
|---|
| 568 | - - - 0 1 =buttons<*1*> |
|---|
| 569 | - - - 1 0 =buttons<*2*> |
|---|
| 570 | - - - 1 1 ON |
|---|
| 571 | .mv _n78 2 ON OFF |
|---|
| 572 | .names _n78 |
|---|
| 573 | ON |
|---|
| 574 | # buttons [1] == 0 |
|---|
| 575 | .names _n77 _n78 _n75 |
|---|
| 576 | .def 0 |
|---|
| 577 | - =_n77 1 |
|---|
| 578 | # buttons [2] == 0 || buttons [1] == 0 |
|---|
| 579 | .names _n71 _n75 _n79 |
|---|
| 580 | .def 1 |
|---|
| 581 | 0 0 0 |
|---|
| 582 | # (location == 0) && (buttons [2] == 0 || buttons [1] == 0) |
|---|
| 583 | .names _n6d _n79 _n7a |
|---|
| 584 | .def 0 |
|---|
| 585 | 1 1 1 |
|---|
| 586 | .names _n7c<0> |
|---|
| 587 | 1 |
|---|
| 588 | .names _n7c<1> |
|---|
| 589 | 0 |
|---|
| 590 | # location == 1 |
|---|
| 591 | .names location<0> _n7c<0> _n7d<0> |
|---|
| 592 | .def 0 |
|---|
| 593 | 0 1 1 |
|---|
| 594 | 1 0 1 |
|---|
| 595 | .names location<1> _n7c<1> _n7d<1> |
|---|
| 596 | .def 0 |
|---|
| 597 | 0 1 1 |
|---|
| 598 | 1 0 1 |
|---|
| 599 | .names _n7d<0> _n7d<1> _n7e |
|---|
| 600 | .def 1 |
|---|
| 601 | 0 0 0 |
|---|
| 602 | .names _n7e _n7b |
|---|
| 603 | 0 1 |
|---|
| 604 | 1 0 |
|---|
| 605 | .names _n80<0> |
|---|
| 606 | 0 |
|---|
| 607 | .names _n80<1> |
|---|
| 608 | 1 |
|---|
| 609 | .mv _n81 2 ON OFF |
|---|
| 610 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n80<1> _n80<0> _n81 |
|---|
| 611 | - - - 0 0 =buttons<*0*> |
|---|
| 612 | - - - 0 1 =buttons<*1*> |
|---|
| 613 | - - - 1 0 =buttons<*2*> |
|---|
| 614 | - - - 1 1 ON |
|---|
| 615 | .mv _n82 2 ON OFF |
|---|
| 616 | .names _n82 |
|---|
| 617 | ON |
|---|
| 618 | # buttons [2] == 0 |
|---|
| 619 | .names _n81 _n82 _n7f |
|---|
| 620 | .def 0 |
|---|
| 621 | - =_n81 1 |
|---|
| 622 | # (location == 1) && (buttons [2] == 0) |
|---|
| 623 | .names _n7b _n7f _n83 |
|---|
| 624 | .def 0 |
|---|
| 625 | 1 1 1 |
|---|
| 626 | # ((location == 0) && (buttons [2] == 0 || buttons [1] == 0)) || ((location == 1) && (buttons [2] == 0)) |
|---|
| 627 | .names _n7a _n83 _n84 |
|---|
| 628 | .def 1 |
|---|
| 629 | 0 0 0 |
|---|
| 630 | .names _n84 button_above$raw_n6c |
|---|
| 631 | - =_n84 |
|---|
| 632 | .names _n86<0> |
|---|
| 633 | 0 |
|---|
| 634 | .names _n86<1> |
|---|
| 635 | 0 |
|---|
| 636 | # 0 == location |
|---|
| 637 | .names _n86<0> location<0> _n87<0> |
|---|
| 638 | .def 0 |
|---|
| 639 | 0 1 1 |
|---|
| 640 | 1 0 1 |
|---|
| 641 | .names _n86<1> location<1> _n87<1> |
|---|
| 642 | .def 0 |
|---|
| 643 | 0 1 1 |
|---|
| 644 | 1 0 1 |
|---|
| 645 | .names _n87<0> _n87<1> _n88 |
|---|
| 646 | .def 1 |
|---|
| 647 | 0 0 0 |
|---|
| 648 | .names _n88 _n85 |
|---|
| 649 | 0 1 |
|---|
| 650 | 1 0 |
|---|
| 651 | .names _n85 _n89 |
|---|
| 652 | - =_n85 |
|---|
| 653 | # buttons [0] = 1 |
|---|
| 654 | .mv buttons$_n85_n8a$true<*0*> 2 ON OFF |
|---|
| 655 | .mv buttons$_n85_n8a$true<*1*> 2 ON OFF |
|---|
| 656 | .mv buttons$_n85_n8a$true<*2*> 2 ON OFF |
|---|
| 657 | .mv _n8b 2 ON OFF |
|---|
| 658 | .names _n8c<0> |
|---|
| 659 | 0 |
|---|
| 660 | .names _n8c<1> |
|---|
| 661 | 0 |
|---|
| 662 | .names _n8d<0> |
|---|
| 663 | 0 |
|---|
| 664 | .names _n8d<1> |
|---|
| 665 | 0 |
|---|
| 666 | .names _n8d<0> _n8c<0> _n8f<0> |
|---|
| 667 | .def 0 |
|---|
| 668 | 0 1 1 |
|---|
| 669 | 1 0 1 |
|---|
| 670 | .names _n8d<1> _n8c<1> _n8f<1> |
|---|
| 671 | .def 0 |
|---|
| 672 | 0 1 1 |
|---|
| 673 | 1 0 1 |
|---|
| 674 | .names _n8f<0> _n8f<1> _n90 |
|---|
| 675 | .def 1 |
|---|
| 676 | 0 0 0 |
|---|
| 677 | .names _n90 _n8e |
|---|
| 678 | 0 1 |
|---|
| 679 | 1 0 |
|---|
| 680 | .names _n8b buttons<*0*> _n8e buttons$_n85_n8a$true<*0*> |
|---|
| 681 | - - 0 =buttons<*0*> |
|---|
| 682 | - - 1 =_n8b |
|---|
| 683 | .names _n91<0> |
|---|
| 684 | 1 |
|---|
| 685 | .names _n91<1> |
|---|
| 686 | 0 |
|---|
| 687 | .names _n91<0> _n8c<0> _n93<0> |
|---|
| 688 | .def 0 |
|---|
| 689 | 0 1 1 |
|---|
| 690 | 1 0 1 |
|---|
| 691 | .names _n91<1> _n8c<1> _n93<1> |
|---|
| 692 | .def 0 |
|---|
| 693 | 0 1 1 |
|---|
| 694 | 1 0 1 |
|---|
| 695 | .names _n93<0> _n93<1> _n94 |
|---|
| 696 | .def 1 |
|---|
| 697 | 0 0 0 |
|---|
| 698 | .names _n94 _n92 |
|---|
| 699 | 0 1 |
|---|
| 700 | 1 0 |
|---|
| 701 | .names _n8b buttons<*1*> _n92 buttons$_n85_n8a$true<*1*> |
|---|
| 702 | - - 0 =buttons<*1*> |
|---|
| 703 | - - 1 =_n8b |
|---|
| 704 | .names _n95<0> |
|---|
| 705 | 0 |
|---|
| 706 | .names _n95<1> |
|---|
| 707 | 1 |
|---|
| 708 | .names _n95<0> _n8c<0> _n97<0> |
|---|
| 709 | .def 0 |
|---|
| 710 | 0 1 1 |
|---|
| 711 | 1 0 1 |
|---|
| 712 | .names _n95<1> _n8c<1> _n97<1> |
|---|
| 713 | .def 0 |
|---|
| 714 | 0 1 1 |
|---|
| 715 | 1 0 1 |
|---|
| 716 | .names _n97<0> _n97<1> _n98 |
|---|
| 717 | .def 1 |
|---|
| 718 | 0 0 0 |
|---|
| 719 | .names _n98 _n96 |
|---|
| 720 | 0 1 |
|---|
| 721 | 1 0 |
|---|
| 722 | .names _n8b buttons<*2*> _n96 buttons$_n85_n8a$true<*2*> |
|---|
| 723 | - - 0 =buttons<*2*> |
|---|
| 724 | - - 1 =_n8b |
|---|
| 725 | .names _n8b |
|---|
| 726 | OFF |
|---|
| 727 | .names random_push<0> _n9a |
|---|
| 728 | .def 1 |
|---|
| 729 | 0 0 |
|---|
| 730 | .names _n9a _n99 |
|---|
| 731 | - =_n9a |
|---|
| 732 | # buttons [0] = 0 |
|---|
| 733 | .mv buttons$random_push_n9b$true<*0*> 2 ON OFF |
|---|
| 734 | .mv buttons$random_push_n9b$true<*1*> 2 ON OFF |
|---|
| 735 | .mv buttons$random_push_n9b$true<*2*> 2 ON OFF |
|---|
| 736 | .mv _n9c 2 ON OFF |
|---|
| 737 | .names _n9d<0> |
|---|
| 738 | 0 |
|---|
| 739 | .names _n9d<1> |
|---|
| 740 | 0 |
|---|
| 741 | .names _n9e<0> |
|---|
| 742 | 0 |
|---|
| 743 | .names _n9e<1> |
|---|
| 744 | 0 |
|---|
| 745 | .names _n9e<0> _n9d<0> _na0<0> |
|---|
| 746 | .def 0 |
|---|
| 747 | 0 1 1 |
|---|
| 748 | 1 0 1 |
|---|
| 749 | .names _n9e<1> _n9d<1> _na0<1> |
|---|
| 750 | .def 0 |
|---|
| 751 | 0 1 1 |
|---|
| 752 | 1 0 1 |
|---|
| 753 | .names _na0<0> _na0<1> _na1 |
|---|
| 754 | .def 1 |
|---|
| 755 | 0 0 0 |
|---|
| 756 | .names _na1 _n9f |
|---|
| 757 | 0 1 |
|---|
| 758 | 1 0 |
|---|
| 759 | .names _n9c buttons<*0*> _n9f buttons$random_push_n9b$true<*0*> |
|---|
| 760 | - - 0 =buttons<*0*> |
|---|
| 761 | - - 1 =_n9c |
|---|
| 762 | .names _na2<0> |
|---|
| 763 | 1 |
|---|
| 764 | .names _na2<1> |
|---|
| 765 | 0 |
|---|
| 766 | .names _na2<0> _n9d<0> _na4<0> |
|---|
| 767 | .def 0 |
|---|
| 768 | 0 1 1 |
|---|
| 769 | 1 0 1 |
|---|
| 770 | .names _na2<1> _n9d<1> _na4<1> |
|---|
| 771 | .def 0 |
|---|
| 772 | 0 1 1 |
|---|
| 773 | 1 0 1 |
|---|
| 774 | .names _na4<0> _na4<1> _na5 |
|---|
| 775 | .def 1 |
|---|
| 776 | 0 0 0 |
|---|
| 777 | .names _na5 _na3 |
|---|
| 778 | 0 1 |
|---|
| 779 | 1 0 |
|---|
| 780 | .names _n9c buttons<*1*> _na3 buttons$random_push_n9b$true<*1*> |
|---|
| 781 | - - 0 =buttons<*1*> |
|---|
| 782 | - - 1 =_n9c |
|---|
| 783 | .names _na6<0> |
|---|
| 784 | 0 |
|---|
| 785 | .names _na6<1> |
|---|
| 786 | 1 |
|---|
| 787 | .names _na6<0> _n9d<0> _na8<0> |
|---|
| 788 | .def 0 |
|---|
| 789 | 0 1 1 |
|---|
| 790 | 1 0 1 |
|---|
| 791 | .names _na6<1> _n9d<1> _na8<1> |
|---|
| 792 | .def 0 |
|---|
| 793 | 0 1 1 |
|---|
| 794 | 1 0 1 |
|---|
| 795 | .names _na8<0> _na8<1> _na9 |
|---|
| 796 | .def 1 |
|---|
| 797 | 0 0 0 |
|---|
| 798 | .names _na9 _na7 |
|---|
| 799 | 0 1 |
|---|
| 800 | 1 0 |
|---|
| 801 | .names _n9c buttons<*2*> _na7 buttons$random_push_n9b$true<*2*> |
|---|
| 802 | - - 0 =buttons<*2*> |
|---|
| 803 | - - 1 =_n9c |
|---|
| 804 | .names _n9c |
|---|
| 805 | ON |
|---|
| 806 | # if/else (random_push [0]) |
|---|
| 807 | .mv buttons$random_push$raw_nac<*0*> 2 ON OFF |
|---|
| 808 | .mv buttons$random_push$raw_nac<*1*> 2 ON OFF |
|---|
| 809 | .mv buttons$random_push$raw_nac<*2*> 2 ON OFF |
|---|
| 810 | .names random_push<0> _nad |
|---|
| 811 | .def 1 |
|---|
| 812 | 0 0 |
|---|
| 813 | .names buttons$random_push_n9b$true<*0*> buttons<*0*> _nad buttons$random_push$raw_nac<*0*> |
|---|
| 814 | - - 0 =buttons<*0*> |
|---|
| 815 | - - 1 =buttons$random_push_n9b$true<*0*> |
|---|
| 816 | .names buttons$random_push_n9b$true<*1*> buttons<*1*> _nad buttons$random_push$raw_nac<*1*> |
|---|
| 817 | - - 0 =buttons<*1*> |
|---|
| 818 | - - 1 =buttons$random_push_n9b$true<*1*> |
|---|
| 819 | .names buttons$random_push_n9b$true<*2*> buttons<*2*> _nad buttons$random_push$raw_nac<*2*> |
|---|
| 820 | - - 0 =buttons<*2*> |
|---|
| 821 | - - 1 =buttons$random_push_n9b$true<*2*> |
|---|
| 822 | # if/else (0 == location ) |
|---|
| 823 | .mv buttons$_n85$raw_naf<*0*> 2 ON OFF |
|---|
| 824 | .mv buttons$_n85$raw_naf<*1*> 2 ON OFF |
|---|
| 825 | .mv buttons$_n85$raw_naf<*2*> 2 ON OFF |
|---|
| 826 | .names buttons$_n85_n8a$true<*0*> buttons$random_push$raw_nac<*0*> _n85 buttons$_n85$raw_naf<*0*> |
|---|
| 827 | - - 0 =buttons$random_push$raw_nac<*0*> |
|---|
| 828 | - - 1 =buttons$_n85_n8a$true<*0*> |
|---|
| 829 | .names buttons$_n85_n8a$true<*1*> buttons$random_push$raw_nac<*1*> _n85 buttons$_n85$raw_naf<*1*> |
|---|
| 830 | - - 0 =buttons$random_push$raw_nac<*1*> |
|---|
| 831 | - - 1 =buttons$_n85_n8a$true<*1*> |
|---|
| 832 | .names buttons$_n85_n8a$true<*2*> buttons$random_push$raw_nac<*2*> _n85 buttons$_n85$raw_naf<*2*> |
|---|
| 833 | - - 0 =buttons$random_push$raw_nac<*2*> |
|---|
| 834 | - - 1 =buttons$_n85_n8a$true<*2*> |
|---|
| 835 | .names _nb3<0> |
|---|
| 836 | 1 |
|---|
| 837 | .names _nb3<1> |
|---|
| 838 | 0 |
|---|
| 839 | # 1 == location |
|---|
| 840 | .names _nb3<0> location<0> _nb4<0> |
|---|
| 841 | .def 0 |
|---|
| 842 | 0 1 1 |
|---|
| 843 | 1 0 1 |
|---|
| 844 | .names _nb3<1> location<1> _nb4<1> |
|---|
| 845 | .def 0 |
|---|
| 846 | 0 1 1 |
|---|
| 847 | 1 0 1 |
|---|
| 848 | .names _nb4<0> _nb4<1> _nb5 |
|---|
| 849 | .def 1 |
|---|
| 850 | 0 0 0 |
|---|
| 851 | .names _nb5 _nb2 |
|---|
| 852 | 0 1 |
|---|
| 853 | 1 0 |
|---|
| 854 | .names _nb2 _nb6 |
|---|
| 855 | - =_nb2 |
|---|
| 856 | # buttons [1] = 1 |
|---|
| 857 | .mv buttons$_nb2_nb7$true<*0*> 2 ON OFF |
|---|
| 858 | .mv buttons$_nb2_nb7$true<*1*> 2 ON OFF |
|---|
| 859 | .mv buttons$_nb2_nb7$true<*2*> 2 ON OFF |
|---|
| 860 | .mv _nb8 2 ON OFF |
|---|
| 861 | .names _nb9<0> |
|---|
| 862 | 1 |
|---|
| 863 | .names _nb9<1> |
|---|
| 864 | 0 |
|---|
| 865 | .names _nba<0> |
|---|
| 866 | 0 |
|---|
| 867 | .names _nba<1> |
|---|
| 868 | 0 |
|---|
| 869 | .names _nba<0> _nb9<0> _nbc<0> |
|---|
| 870 | .def 0 |
|---|
| 871 | 0 1 1 |
|---|
| 872 | 1 0 1 |
|---|
| 873 | .names _nba<1> _nb9<1> _nbc<1> |
|---|
| 874 | .def 0 |
|---|
| 875 | 0 1 1 |
|---|
| 876 | 1 0 1 |
|---|
| 877 | .names _nbc<0> _nbc<1> _nbd |
|---|
| 878 | .def 1 |
|---|
| 879 | 0 0 0 |
|---|
| 880 | .names _nbd _nbb |
|---|
| 881 | 0 1 |
|---|
| 882 | 1 0 |
|---|
| 883 | .names _nb8 buttons$_n85$raw_naf<*0*> _nbb buttons$_nb2_nb7$true<*0*> |
|---|
| 884 | - - 0 =buttons$_n85$raw_naf<*0*> |
|---|
| 885 | - - 1 =_nb8 |
|---|
| 886 | .names _nbe<0> |
|---|
| 887 | 1 |
|---|
| 888 | .names _nbe<1> |
|---|
| 889 | 0 |
|---|
| 890 | .names _nbe<0> _nb9<0> _nc0<0> |
|---|
| 891 | .def 0 |
|---|
| 892 | 0 1 1 |
|---|
| 893 | 1 0 1 |
|---|
| 894 | .names _nbe<1> _nb9<1> _nc0<1> |
|---|
| 895 | .def 0 |
|---|
| 896 | 0 1 1 |
|---|
| 897 | 1 0 1 |
|---|
| 898 | .names _nc0<0> _nc0<1> _nc1 |
|---|
| 899 | .def 1 |
|---|
| 900 | 0 0 0 |
|---|
| 901 | .names _nc1 _nbf |
|---|
| 902 | 0 1 |
|---|
| 903 | 1 0 |
|---|
| 904 | .names _nb8 buttons$_n85$raw_naf<*1*> _nbf buttons$_nb2_nb7$true<*1*> |
|---|
| 905 | - - 0 =buttons$_n85$raw_naf<*1*> |
|---|
| 906 | - - 1 =_nb8 |
|---|
| 907 | .names _nc2<0> |
|---|
| 908 | 0 |
|---|
| 909 | .names _nc2<1> |
|---|
| 910 | 1 |
|---|
| 911 | .names _nc2<0> _nb9<0> _nc4<0> |
|---|
| 912 | .def 0 |
|---|
| 913 | 0 1 1 |
|---|
| 914 | 1 0 1 |
|---|
| 915 | .names _nc2<1> _nb9<1> _nc4<1> |
|---|
| 916 | .def 0 |
|---|
| 917 | 0 1 1 |
|---|
| 918 | 1 0 1 |
|---|
| 919 | .names _nc4<0> _nc4<1> _nc5 |
|---|
| 920 | .def 1 |
|---|
| 921 | 0 0 0 |
|---|
| 922 | .names _nc5 _nc3 |
|---|
| 923 | 0 1 |
|---|
| 924 | 1 0 |
|---|
| 925 | .names _nb8 buttons$_n85$raw_naf<*2*> _nc3 buttons$_nb2_nb7$true<*2*> |
|---|
| 926 | - - 0 =buttons$_n85$raw_naf<*2*> |
|---|
| 927 | - - 1 =_nb8 |
|---|
| 928 | .names _nb8 |
|---|
| 929 | OFF |
|---|
| 930 | .names random_push<1> _nc7 |
|---|
| 931 | .def 1 |
|---|
| 932 | 0 0 |
|---|
| 933 | .names _nc7 _nc6 |
|---|
| 934 | - =_nc7 |
|---|
| 935 | # buttons [1] = 0 |
|---|
| 936 | .mv buttons$random_push_nc8$true<*0*> 2 ON OFF |
|---|
| 937 | .mv buttons$random_push_nc8$true<*1*> 2 ON OFF |
|---|
| 938 | .mv buttons$random_push_nc8$true<*2*> 2 ON OFF |
|---|
| 939 | .mv _nc9 2 ON OFF |
|---|
| 940 | .names _nca<0> |
|---|
| 941 | 1 |
|---|
| 942 | .names _nca<1> |
|---|
| 943 | 0 |
|---|
| 944 | .names _ncb<0> |
|---|
| 945 | 0 |
|---|
| 946 | .names _ncb<1> |
|---|
| 947 | 0 |
|---|
| 948 | .names _ncb<0> _nca<0> _ncd<0> |
|---|
| 949 | .def 0 |
|---|
| 950 | 0 1 1 |
|---|
| 951 | 1 0 1 |
|---|
| 952 | .names _ncb<1> _nca<1> _ncd<1> |
|---|
| 953 | .def 0 |
|---|
| 954 | 0 1 1 |
|---|
| 955 | 1 0 1 |
|---|
| 956 | .names _ncd<0> _ncd<1> _nce |
|---|
| 957 | .def 1 |
|---|
| 958 | 0 0 0 |
|---|
| 959 | .names _nce _ncc |
|---|
| 960 | 0 1 |
|---|
| 961 | 1 0 |
|---|
| 962 | .names _nc9 buttons$_n85$raw_naf<*0*> _ncc buttons$random_push_nc8$true<*0*> |
|---|
| 963 | - - 0 =buttons$_n85$raw_naf<*0*> |
|---|
| 964 | - - 1 =_nc9 |
|---|
| 965 | .names _ncf<0> |
|---|
| 966 | 1 |
|---|
| 967 | .names _ncf<1> |
|---|
| 968 | 0 |
|---|
| 969 | .names _ncf<0> _nca<0> _nd1<0> |
|---|
| 970 | .def 0 |
|---|
| 971 | 0 1 1 |
|---|
| 972 | 1 0 1 |
|---|
| 973 | .names _ncf<1> _nca<1> _nd1<1> |
|---|
| 974 | .def 0 |
|---|
| 975 | 0 1 1 |
|---|
| 976 | 1 0 1 |
|---|
| 977 | .names _nd1<0> _nd1<1> _nd2 |
|---|
| 978 | .def 1 |
|---|
| 979 | 0 0 0 |
|---|
| 980 | .names _nd2 _nd0 |
|---|
| 981 | 0 1 |
|---|
| 982 | 1 0 |
|---|
| 983 | .names _nc9 buttons$_n85$raw_naf<*1*> _nd0 buttons$random_push_nc8$true<*1*> |
|---|
| 984 | - - 0 =buttons$_n85$raw_naf<*1*> |
|---|
| 985 | - - 1 =_nc9 |
|---|
| 986 | .names _nd3<0> |
|---|
| 987 | 0 |
|---|
| 988 | .names _nd3<1> |
|---|
| 989 | 1 |
|---|
| 990 | .names _nd3<0> _nca<0> _nd5<0> |
|---|
| 991 | .def 0 |
|---|
| 992 | 0 1 1 |
|---|
| 993 | 1 0 1 |
|---|
| 994 | .names _nd3<1> _nca<1> _nd5<1> |
|---|
| 995 | .def 0 |
|---|
| 996 | 0 1 1 |
|---|
| 997 | 1 0 1 |
|---|
| 998 | .names _nd5<0> _nd5<1> _nd6 |
|---|
| 999 | .def 1 |
|---|
| 1000 | 0 0 0 |
|---|
| 1001 | .names _nd6 _nd4 |
|---|
| 1002 | 0 1 |
|---|
| 1003 | 1 0 |
|---|
| 1004 | .names _nc9 buttons$_n85$raw_naf<*2*> _nd4 buttons$random_push_nc8$true<*2*> |
|---|
| 1005 | - - 0 =buttons$_n85$raw_naf<*2*> |
|---|
| 1006 | - - 1 =_nc9 |
|---|
| 1007 | .names _nc9 |
|---|
| 1008 | ON |
|---|
| 1009 | # if/else (random_push [1]) |
|---|
| 1010 | .mv buttons$random_push$raw_nd7<*0*> 2 ON OFF |
|---|
| 1011 | .mv buttons$random_push$raw_nd7<*1*> 2 ON OFF |
|---|
| 1012 | .mv buttons$random_push$raw_nd7<*2*> 2 ON OFF |
|---|
| 1013 | .names random_push<1> _nd8 |
|---|
| 1014 | .def 1 |
|---|
| 1015 | 0 0 |
|---|
| 1016 | .names buttons$random_push_nc8$true<*0*> buttons$_n85$raw_naf<*0*> _nd8 buttons$random_push$raw_nd7<*0*> |
|---|
| 1017 | - - 0 =buttons$_n85$raw_naf<*0*> |
|---|
| 1018 | - - 1 =buttons$random_push_nc8$true<*0*> |
|---|
| 1019 | .names buttons$random_push_nc8$true<*1*> buttons$_n85$raw_naf<*1*> _nd8 buttons$random_push$raw_nd7<*1*> |
|---|
| 1020 | - - 0 =buttons$_n85$raw_naf<*1*> |
|---|
| 1021 | - - 1 =buttons$random_push_nc8$true<*1*> |
|---|
| 1022 | .names buttons$random_push_nc8$true<*2*> buttons$_n85$raw_naf<*2*> _nd8 buttons$random_push$raw_nd7<*2*> |
|---|
| 1023 | - - 0 =buttons$_n85$raw_naf<*2*> |
|---|
| 1024 | - - 1 =buttons$random_push_nc8$true<*2*> |
|---|
| 1025 | # if/else (1 == location ) |
|---|
| 1026 | .mv buttons$_nb2$raw_ndc<*0*> 2 ON OFF |
|---|
| 1027 | .mv buttons$_nb2$raw_ndc<*1*> 2 ON OFF |
|---|
| 1028 | .mv buttons$_nb2$raw_ndc<*2*> 2 ON OFF |
|---|
| 1029 | .names buttons$_nb2_nb7$true<*0*> buttons$random_push$raw_nd7<*0*> _nb2 buttons$_nb2$raw_ndc<*0*> |
|---|
| 1030 | - - 0 =buttons$random_push$raw_nd7<*0*> |
|---|
| 1031 | - - 1 =buttons$_nb2_nb7$true<*0*> |
|---|
| 1032 | .names buttons$_nb2_nb7$true<*1*> buttons$random_push$raw_nd7<*1*> _nb2 buttons$_nb2$raw_ndc<*1*> |
|---|
| 1033 | - - 0 =buttons$random_push$raw_nd7<*1*> |
|---|
| 1034 | - - 1 =buttons$_nb2_nb7$true<*1*> |
|---|
| 1035 | .names buttons$_nb2_nb7$true<*2*> buttons$random_push$raw_nd7<*2*> _nb2 buttons$_nb2$raw_ndc<*2*> |
|---|
| 1036 | - - 0 =buttons$random_push$raw_nd7<*2*> |
|---|
| 1037 | - - 1 =buttons$_nb2_nb7$true<*2*> |
|---|
| 1038 | .names _ne1<0> |
|---|
| 1039 | 0 |
|---|
| 1040 | .names _ne1<1> |
|---|
| 1041 | 1 |
|---|
| 1042 | # 2 == location |
|---|
| 1043 | .names _ne1<0> location<0> _ne2<0> |
|---|
| 1044 | .def 0 |
|---|
| 1045 | 0 1 1 |
|---|
| 1046 | 1 0 1 |
|---|
| 1047 | .names _ne1<1> location<1> _ne2<1> |
|---|
| 1048 | .def 0 |
|---|
| 1049 | 0 1 1 |
|---|
| 1050 | 1 0 1 |
|---|
| 1051 | .names _ne2<0> _ne2<1> _ne3 |
|---|
| 1052 | .def 1 |
|---|
| 1053 | 0 0 0 |
|---|
| 1054 | .names _ne3 _ne0 |
|---|
| 1055 | 0 1 |
|---|
| 1056 | 1 0 |
|---|
| 1057 | .names _ne0 _ne4 |
|---|
| 1058 | - =_ne0 |
|---|
| 1059 | # buttons [2] = 1 |
|---|
| 1060 | .mv buttons$_ne0_ne5$true<*0*> 2 ON OFF |
|---|
| 1061 | .mv buttons$_ne0_ne5$true<*1*> 2 ON OFF |
|---|
| 1062 | .mv buttons$_ne0_ne5$true<*2*> 2 ON OFF |
|---|
| 1063 | .mv _ne6 2 ON OFF |
|---|
| 1064 | .names _ne7<0> |
|---|
| 1065 | 0 |
|---|
| 1066 | .names _ne7<1> |
|---|
| 1067 | 1 |
|---|
| 1068 | .names _ne8<0> |
|---|
| 1069 | 0 |
|---|
| 1070 | .names _ne8<1> |
|---|
| 1071 | 0 |
|---|
| 1072 | .names _ne8<0> _ne7<0> _nea<0> |
|---|
| 1073 | .def 0 |
|---|
| 1074 | 0 1 1 |
|---|
| 1075 | 1 0 1 |
|---|
| 1076 | .names _ne8<1> _ne7<1> _nea<1> |
|---|
| 1077 | .def 0 |
|---|
| 1078 | 0 1 1 |
|---|
| 1079 | 1 0 1 |
|---|
| 1080 | .names _nea<0> _nea<1> _neb |
|---|
| 1081 | .def 1 |
|---|
| 1082 | 0 0 0 |
|---|
| 1083 | .names _neb _ne9 |
|---|
| 1084 | 0 1 |
|---|
| 1085 | 1 0 |
|---|
| 1086 | .names _ne6 buttons$_nb2$raw_ndc<*0*> _ne9 buttons$_ne0_ne5$true<*0*> |
|---|
| 1087 | - - 0 =buttons$_nb2$raw_ndc<*0*> |
|---|
| 1088 | - - 1 =_ne6 |
|---|
| 1089 | .names _nec<0> |
|---|
| 1090 | 1 |
|---|
| 1091 | .names _nec<1> |
|---|
| 1092 | 0 |
|---|
| 1093 | .names _nec<0> _ne7<0> _nee<0> |
|---|
| 1094 | .def 0 |
|---|
| 1095 | 0 1 1 |
|---|
| 1096 | 1 0 1 |
|---|
| 1097 | .names _nec<1> _ne7<1> _nee<1> |
|---|
| 1098 | .def 0 |
|---|
| 1099 | 0 1 1 |
|---|
| 1100 | 1 0 1 |
|---|
| 1101 | .names _nee<0> _nee<1> _nef |
|---|
| 1102 | .def 1 |
|---|
| 1103 | 0 0 0 |
|---|
| 1104 | .names _nef _ned |
|---|
| 1105 | 0 1 |
|---|
| 1106 | 1 0 |
|---|
| 1107 | .names _ne6 buttons$_nb2$raw_ndc<*1*> _ned buttons$_ne0_ne5$true<*1*> |
|---|
| 1108 | - - 0 =buttons$_nb2$raw_ndc<*1*> |
|---|
| 1109 | - - 1 =_ne6 |
|---|
| 1110 | .names _nf0<0> |
|---|
| 1111 | 0 |
|---|
| 1112 | .names _nf0<1> |
|---|
| 1113 | 1 |
|---|
| 1114 | .names _nf0<0> _ne7<0> _nf2<0> |
|---|
| 1115 | .def 0 |
|---|
| 1116 | 0 1 1 |
|---|
| 1117 | 1 0 1 |
|---|
| 1118 | .names _nf0<1> _ne7<1> _nf2<1> |
|---|
| 1119 | .def 0 |
|---|
| 1120 | 0 1 1 |
|---|
| 1121 | 1 0 1 |
|---|
| 1122 | .names _nf2<0> _nf2<1> _nf3 |
|---|
| 1123 | .def 1 |
|---|
| 1124 | 0 0 0 |
|---|
| 1125 | .names _nf3 _nf1 |
|---|
| 1126 | 0 1 |
|---|
| 1127 | 1 0 |
|---|
| 1128 | .names _ne6 buttons$_nb2$raw_ndc<*2*> _nf1 buttons$_ne0_ne5$true<*2*> |
|---|
| 1129 | - - 0 =buttons$_nb2$raw_ndc<*2*> |
|---|
| 1130 | - - 1 =_ne6 |
|---|
| 1131 | .names _ne6 |
|---|
| 1132 | OFF |
|---|
| 1133 | .names random_push<2> _nf5 |
|---|
| 1134 | .def 1 |
|---|
| 1135 | 0 0 |
|---|
| 1136 | .names _nf5 _nf4 |
|---|
| 1137 | - =_nf5 |
|---|
| 1138 | # buttons [2] = 0 |
|---|
| 1139 | .mv buttons$random_push_nf6$true<*0*> 2 ON OFF |
|---|
| 1140 | .mv buttons$random_push_nf6$true<*1*> 2 ON OFF |
|---|
| 1141 | .mv buttons$random_push_nf6$true<*2*> 2 ON OFF |
|---|
| 1142 | .mv _nf7 2 ON OFF |
|---|
| 1143 | .names _nf8<0> |
|---|
| 1144 | 0 |
|---|
| 1145 | .names _nf8<1> |
|---|
| 1146 | 1 |
|---|
| 1147 | .names _nf9<0> |
|---|
| 1148 | 0 |
|---|
| 1149 | .names _nf9<1> |
|---|
| 1150 | 0 |
|---|
| 1151 | .names _nf9<0> _nf8<0> _nfb<0> |
|---|
| 1152 | .def 0 |
|---|
| 1153 | 0 1 1 |
|---|
| 1154 | 1 0 1 |
|---|
| 1155 | .names _nf9<1> _nf8<1> _nfb<1> |
|---|
| 1156 | .def 0 |
|---|
| 1157 | 0 1 1 |
|---|
| 1158 | 1 0 1 |
|---|
| 1159 | .names _nfb<0> _nfb<1> _nfc |
|---|
| 1160 | .def 1 |
|---|
| 1161 | 0 0 0 |
|---|
| 1162 | .names _nfc _nfa |
|---|
| 1163 | 0 1 |
|---|
| 1164 | 1 0 |
|---|
| 1165 | .names _nf7 buttons$_nb2$raw_ndc<*0*> _nfa buttons$random_push_nf6$true<*0*> |
|---|
| 1166 | - - 0 =buttons$_nb2$raw_ndc<*0*> |
|---|
| 1167 | - - 1 =_nf7 |
|---|
| 1168 | .names _nfd<0> |
|---|
| 1169 | 1 |
|---|
| 1170 | .names _nfd<1> |
|---|
| 1171 | 0 |
|---|
| 1172 | .names _nfd<0> _nf8<0> _nff<0> |
|---|
| 1173 | .def 0 |
|---|
| 1174 | 0 1 1 |
|---|
| 1175 | 1 0 1 |
|---|
| 1176 | .names _nfd<1> _nf8<1> _nff<1> |
|---|
| 1177 | .def 0 |
|---|
| 1178 | 0 1 1 |
|---|
| 1179 | 1 0 1 |
|---|
| 1180 | .names _nff<0> _nff<1> _n100 |
|---|
| 1181 | .def 1 |
|---|
| 1182 | 0 0 0 |
|---|
| 1183 | .names _n100 _nfe |
|---|
| 1184 | 0 1 |
|---|
| 1185 | 1 0 |
|---|
| 1186 | .names _nf7 buttons$_nb2$raw_ndc<*1*> _nfe buttons$random_push_nf6$true<*1*> |
|---|
| 1187 | - - 0 =buttons$_nb2$raw_ndc<*1*> |
|---|
| 1188 | - - 1 =_nf7 |
|---|
| 1189 | .names _n101<0> |
|---|
| 1190 | 0 |
|---|
| 1191 | .names _n101<1> |
|---|
| 1192 | 1 |
|---|
| 1193 | .names _n101<0> _nf8<0> _n103<0> |
|---|
| 1194 | .def 0 |
|---|
| 1195 | 0 1 1 |
|---|
| 1196 | 1 0 1 |
|---|
| 1197 | .names _n101<1> _nf8<1> _n103<1> |
|---|
| 1198 | .def 0 |
|---|
| 1199 | 0 1 1 |
|---|
| 1200 | 1 0 1 |
|---|
| 1201 | .names _n103<0> _n103<1> _n104 |
|---|
| 1202 | .def 1 |
|---|
| 1203 | 0 0 0 |
|---|
| 1204 | .names _n104 _n102 |
|---|
| 1205 | 0 1 |
|---|
| 1206 | 1 0 |
|---|
| 1207 | .names _nf7 buttons$_nb2$raw_ndc<*2*> _n102 buttons$random_push_nf6$true<*2*> |
|---|
| 1208 | - - 0 =buttons$_nb2$raw_ndc<*2*> |
|---|
| 1209 | - - 1 =_nf7 |
|---|
| 1210 | .names _nf7 |
|---|
| 1211 | ON |
|---|
| 1212 | # if/else (random_push [2]) |
|---|
| 1213 | .mv buttons$random_push$raw_n105<*0*> 2 ON OFF |
|---|
| 1214 | .mv buttons$random_push$raw_n105<*1*> 2 ON OFF |
|---|
| 1215 | .mv buttons$random_push$raw_n105<*2*> 2 ON OFF |
|---|
| 1216 | .names random_push<2> _n106 |
|---|
| 1217 | .def 1 |
|---|
| 1218 | 0 0 |
|---|
| 1219 | .names buttons$random_push_nf6$true<*0*> buttons$_nb2$raw_ndc<*0*> _n106 buttons$random_push$raw_n105<*0*> |
|---|
| 1220 | - - 0 =buttons$_nb2$raw_ndc<*0*> |
|---|
| 1221 | - - 1 =buttons$random_push_nf6$true<*0*> |
|---|
| 1222 | .names buttons$random_push_nf6$true<*1*> buttons$_nb2$raw_ndc<*1*> _n106 buttons$random_push$raw_n105<*1*> |
|---|
| 1223 | - - 0 =buttons$_nb2$raw_ndc<*1*> |
|---|
| 1224 | - - 1 =buttons$random_push_nf6$true<*1*> |
|---|
| 1225 | .names buttons$random_push_nf6$true<*2*> buttons$_nb2$raw_ndc<*2*> _n106 buttons$random_push$raw_n105<*2*> |
|---|
| 1226 | - - 0 =buttons$_nb2$raw_ndc<*2*> |
|---|
| 1227 | - - 1 =buttons$random_push_nf6$true<*2*> |
|---|
| 1228 | # if/else (2 == location ) |
|---|
| 1229 | .mv buttons$_ne0$raw_n10a<*0*> 2 ON OFF |
|---|
| 1230 | .mv buttons$_ne0$raw_n10a<*1*> 2 ON OFF |
|---|
| 1231 | .mv buttons$_ne0$raw_n10a<*2*> 2 ON OFF |
|---|
| 1232 | .names buttons$_ne0_ne5$true<*0*> buttons$random_push$raw_n105<*0*> _ne0 buttons$_ne0$raw_n10a<*0*> |
|---|
| 1233 | - - 0 =buttons$random_push$raw_n105<*0*> |
|---|
| 1234 | - - 1 =buttons$_ne0_ne5$true<*0*> |
|---|
| 1235 | .names buttons$_ne0_ne5$true<*1*> buttons$random_push$raw_n105<*1*> _ne0 buttons$_ne0$raw_n10a<*1*> |
|---|
| 1236 | - - 0 =buttons$random_push$raw_n105<*1*> |
|---|
| 1237 | - - 1 =buttons$_ne0_ne5$true<*1*> |
|---|
| 1238 | .names buttons$_ne0_ne5$true<*2*> buttons$random_push$raw_n105<*2*> _ne0 buttons$_ne0$raw_n10a<*2*> |
|---|
| 1239 | - - 0 =buttons$random_push$raw_n105<*2*> |
|---|
| 1240 | - - 1 =buttons$_ne0_ne5$true<*2*> |
|---|
| 1241 | .names stop_next _n10e |
|---|
| 1242 | - =stop_next |
|---|
| 1243 | .mv _n110 2 UP DOWN |
|---|
| 1244 | .names _n110 |
|---|
| 1245 | UP |
|---|
| 1246 | # direction == 0 |
|---|
| 1247 | .names direction _n110 _n10f |
|---|
| 1248 | .def 0 |
|---|
| 1249 | - =direction 1 |
|---|
| 1250 | .names _n10f _n111 |
|---|
| 1251 | - =_n10f |
|---|
| 1252 | # buttons [location + 1] = 0 |
|---|
| 1253 | .mv buttons$_n10f_n112$true<*0*> 2 ON OFF |
|---|
| 1254 | .mv buttons$_n10f_n112$true<*1*> 2 ON OFF |
|---|
| 1255 | .mv buttons$_n10f_n112$true<*2*> 2 ON OFF |
|---|
| 1256 | .names _n113<0> |
|---|
| 1257 | 1 |
|---|
| 1258 | .names _n113<1> |
|---|
| 1259 | 0 |
|---|
| 1260 | # location + 1 |
|---|
| 1261 | .names _n115 |
|---|
| 1262 | 0 |
|---|
| 1263 | .names location<0> _n113<0> _n115 _n114<0> |
|---|
| 1264 | .def 0 |
|---|
| 1265 | 0 0 1 1 |
|---|
| 1266 | 0 1 0 1 |
|---|
| 1267 | 1 0 0 1 |
|---|
| 1268 | 1 1 1 1 |
|---|
| 1269 | # carry/borrow |
|---|
| 1270 | .names _n117 |
|---|
| 1271 | 0 |
|---|
| 1272 | .names location<0> _n113<0> _n117 _n116 |
|---|
| 1273 | .def 0 |
|---|
| 1274 | 0 1 1 1 |
|---|
| 1275 | 1 0 1 1 |
|---|
| 1276 | 1 1 0 1 |
|---|
| 1277 | 1 1 1 1 |
|---|
| 1278 | .names location<1> _n113<1> _n116 _n114<1> |
|---|
| 1279 | .def 0 |
|---|
| 1280 | 0 0 1 1 |
|---|
| 1281 | 0 1 0 1 |
|---|
| 1282 | 1 0 0 1 |
|---|
| 1283 | 1 1 1 1 |
|---|
| 1284 | .mv _n118 2 ON OFF |
|---|
| 1285 | .names _n119<0> |
|---|
| 1286 | 0 |
|---|
| 1287 | .names _n119<1> |
|---|
| 1288 | 0 |
|---|
| 1289 | .names _n119<0> _n114<0> _n11b<0> |
|---|
| 1290 | .def 0 |
|---|
| 1291 | 0 1 1 |
|---|
| 1292 | 1 0 1 |
|---|
| 1293 | .names _n119<1> _n114<1> _n11b<1> |
|---|
| 1294 | .def 0 |
|---|
| 1295 | 0 1 1 |
|---|
| 1296 | 1 0 1 |
|---|
| 1297 | .names _n11b<0> _n11b<1> _n11c |
|---|
| 1298 | .def 1 |
|---|
| 1299 | 0 0 0 |
|---|
| 1300 | .names _n11c _n11a |
|---|
| 1301 | 0 1 |
|---|
| 1302 | 1 0 |
|---|
| 1303 | .names _n118 buttons$_ne0$raw_n10a<*0*> _n11a buttons$_n10f_n112$true<*0*> |
|---|
| 1304 | - - 0 =buttons$_ne0$raw_n10a<*0*> |
|---|
| 1305 | - - 1 =_n118 |
|---|
| 1306 | .names _n11d<0> |
|---|
| 1307 | 1 |
|---|
| 1308 | .names _n11d<1> |
|---|
| 1309 | 0 |
|---|
| 1310 | .names _n11d<0> _n114<0> _n11f<0> |
|---|
| 1311 | .def 0 |
|---|
| 1312 | 0 1 1 |
|---|
| 1313 | 1 0 1 |
|---|
| 1314 | .names _n11d<1> _n114<1> _n11f<1> |
|---|
| 1315 | .def 0 |
|---|
| 1316 | 0 1 1 |
|---|
| 1317 | 1 0 1 |
|---|
| 1318 | .names _n11f<0> _n11f<1> _n120 |
|---|
| 1319 | .def 1 |
|---|
| 1320 | 0 0 0 |
|---|
| 1321 | .names _n120 _n11e |
|---|
| 1322 | 0 1 |
|---|
| 1323 | 1 0 |
|---|
| 1324 | .names _n118 buttons$_ne0$raw_n10a<*1*> _n11e buttons$_n10f_n112$true<*1*> |
|---|
| 1325 | - - 0 =buttons$_ne0$raw_n10a<*1*> |
|---|
| 1326 | - - 1 =_n118 |
|---|
| 1327 | .names _n121<0> |
|---|
| 1328 | 0 |
|---|
| 1329 | .names _n121<1> |
|---|
| 1330 | 1 |
|---|
| 1331 | .names _n121<0> _n114<0> _n123<0> |
|---|
| 1332 | .def 0 |
|---|
| 1333 | 0 1 1 |
|---|
| 1334 | 1 0 1 |
|---|
| 1335 | .names _n121<1> _n114<1> _n123<1> |
|---|
| 1336 | .def 0 |
|---|
| 1337 | 0 1 1 |
|---|
| 1338 | 1 0 1 |
|---|
| 1339 | .names _n123<0> _n123<1> _n124 |
|---|
| 1340 | .def 1 |
|---|
| 1341 | 0 0 0 |
|---|
| 1342 | .names _n124 _n122 |
|---|
| 1343 | 0 1 |
|---|
| 1344 | 1 0 |
|---|
| 1345 | .names _n118 buttons$_ne0$raw_n10a<*2*> _n122 buttons$_n10f_n112$true<*2*> |
|---|
| 1346 | - - 0 =buttons$_ne0$raw_n10a<*2*> |
|---|
| 1347 | - - 1 =_n118 |
|---|
| 1348 | .names _n118 |
|---|
| 1349 | ON |
|---|
| 1350 | # buttons [location - 1] = 0 |
|---|
| 1351 | .mv buttons$_n10f_n125$false<*0*> 2 ON OFF |
|---|
| 1352 | .mv buttons$_n10f_n125$false<*1*> 2 ON OFF |
|---|
| 1353 | .mv buttons$_n10f_n125$false<*2*> 2 ON OFF |
|---|
| 1354 | .names _n126<0> |
|---|
| 1355 | 1 |
|---|
| 1356 | .names _n126<1> |
|---|
| 1357 | 0 |
|---|
| 1358 | # location - 1 |
|---|
| 1359 | .names _n128 |
|---|
| 1360 | 0 |
|---|
| 1361 | .names location<0> _n126<0> _n128 _n127<0> |
|---|
| 1362 | .def 0 |
|---|
| 1363 | 0 0 1 1 |
|---|
| 1364 | 0 1 0 1 |
|---|
| 1365 | 1 0 0 1 |
|---|
| 1366 | 1 1 1 1 |
|---|
| 1367 | # carry/borrow |
|---|
| 1368 | .names _n12a |
|---|
| 1369 | 0 |
|---|
| 1370 | .names location<0> _n126<0> _n12a _n129 |
|---|
| 1371 | .def 0 |
|---|
| 1372 | 0 0 1 1 |
|---|
| 1373 | 0 1 0 1 |
|---|
| 1374 | 0 1 1 1 |
|---|
| 1375 | 1 1 1 1 |
|---|
| 1376 | .names location<1> _n126<1> _n129 _n127<1> |
|---|
| 1377 | .def 0 |
|---|
| 1378 | 0 0 1 1 |
|---|
| 1379 | 0 1 0 1 |
|---|
| 1380 | 1 0 0 1 |
|---|
| 1381 | 1 1 1 1 |
|---|
| 1382 | .mv _n12b 2 ON OFF |
|---|
| 1383 | .names _n12c<0> |
|---|
| 1384 | 0 |
|---|
| 1385 | .names _n12c<1> |
|---|
| 1386 | 0 |
|---|
| 1387 | .names _n12c<0> _n127<0> _n12e<0> |
|---|
| 1388 | .def 0 |
|---|
| 1389 | 0 1 1 |
|---|
| 1390 | 1 0 1 |
|---|
| 1391 | .names _n12c<1> _n127<1> _n12e<1> |
|---|
| 1392 | .def 0 |
|---|
| 1393 | 0 1 1 |
|---|
| 1394 | 1 0 1 |
|---|
| 1395 | .names _n12e<0> _n12e<1> _n12f |
|---|
| 1396 | .def 1 |
|---|
| 1397 | 0 0 0 |
|---|
| 1398 | .names _n12f _n12d |
|---|
| 1399 | 0 1 |
|---|
| 1400 | 1 0 |
|---|
| 1401 | .names _n12b buttons$_ne0$raw_n10a<*0*> _n12d buttons$_n10f_n125$false<*0*> |
|---|
| 1402 | - - 0 =buttons$_ne0$raw_n10a<*0*> |
|---|
| 1403 | - - 1 =_n12b |
|---|
| 1404 | .names _n130<0> |
|---|
| 1405 | 1 |
|---|
| 1406 | .names _n130<1> |
|---|
| 1407 | 0 |
|---|
| 1408 | .names _n130<0> _n127<0> _n132<0> |
|---|
| 1409 | .def 0 |
|---|
| 1410 | 0 1 1 |
|---|
| 1411 | 1 0 1 |
|---|
| 1412 | .names _n130<1> _n127<1> _n132<1> |
|---|
| 1413 | .def 0 |
|---|
| 1414 | 0 1 1 |
|---|
| 1415 | 1 0 1 |
|---|
| 1416 | .names _n132<0> _n132<1> _n133 |
|---|
| 1417 | .def 1 |
|---|
| 1418 | 0 0 0 |
|---|
| 1419 | .names _n133 _n131 |
|---|
| 1420 | 0 1 |
|---|
| 1421 | 1 0 |
|---|
| 1422 | .names _n12b buttons$_ne0$raw_n10a<*1*> _n131 buttons$_n10f_n125$false<*1*> |
|---|
| 1423 | - - 0 =buttons$_ne0$raw_n10a<*1*> |
|---|
| 1424 | - - 1 =_n12b |
|---|
| 1425 | .names _n134<0> |
|---|
| 1426 | 0 |
|---|
| 1427 | .names _n134<1> |
|---|
| 1428 | 1 |
|---|
| 1429 | .names _n134<0> _n127<0> _n136<0> |
|---|
| 1430 | .def 0 |
|---|
| 1431 | 0 1 1 |
|---|
| 1432 | 1 0 1 |
|---|
| 1433 | .names _n134<1> _n127<1> _n136<1> |
|---|
| 1434 | .def 0 |
|---|
| 1435 | 0 1 1 |
|---|
| 1436 | 1 0 1 |
|---|
| 1437 | .names _n136<0> _n136<1> _n137 |
|---|
| 1438 | .def 1 |
|---|
| 1439 | 0 0 0 |
|---|
| 1440 | .names _n137 _n135 |
|---|
| 1441 | 0 1 |
|---|
| 1442 | 1 0 |
|---|
| 1443 | .names _n12b buttons$_ne0$raw_n10a<*2*> _n135 buttons$_n10f_n125$false<*2*> |
|---|
| 1444 | - - 0 =buttons$_ne0$raw_n10a<*2*> |
|---|
| 1445 | - - 1 =_n12b |
|---|
| 1446 | .names _n12b |
|---|
| 1447 | ON |
|---|
| 1448 | # if/else (direction == 0) |
|---|
| 1449 | .mv buttons$_n10f$raw_n138<*0*> 2 ON OFF |
|---|
| 1450 | .mv buttons$_n10f$raw_n138<*1*> 2 ON OFF |
|---|
| 1451 | .mv buttons$_n10f$raw_n138<*2*> 2 ON OFF |
|---|
| 1452 | .names buttons$_n10f_n112$true<*0*> buttons$_n10f_n125$false<*0*> _n10f buttons$_n10f$raw_n138<*0*> |
|---|
| 1453 | - - 0 =buttons$_n10f_n125$false<*0*> |
|---|
| 1454 | - - 1 =buttons$_n10f_n112$true<*0*> |
|---|
| 1455 | .names buttons$_n10f_n112$true<*1*> buttons$_n10f_n125$false<*1*> _n10f buttons$_n10f$raw_n138<*1*> |
|---|
| 1456 | - - 0 =buttons$_n10f_n125$false<*1*> |
|---|
| 1457 | - - 1 =buttons$_n10f_n112$true<*1*> |
|---|
| 1458 | .names buttons$_n10f_n112$true<*2*> buttons$_n10f_n125$false<*2*> _n10f buttons$_n10f$raw_n138<*2*> |
|---|
| 1459 | - - 0 =buttons$_n10f_n125$false<*2*> |
|---|
| 1460 | - - 1 =buttons$_n10f_n112$true<*2*> |
|---|
| 1461 | # if/else (stop_next ) |
|---|
| 1462 | .mv buttons$stop_next$raw_n13c<*0*> 2 ON OFF |
|---|
| 1463 | .mv buttons$stop_next$raw_n13c<*1*> 2 ON OFF |
|---|
| 1464 | .mv buttons$stop_next$raw_n13c<*2*> 2 ON OFF |
|---|
| 1465 | .names buttons$_n10f$raw_n138<*0*> buttons$_ne0$raw_n10a<*0*> stop_next buttons$stop_next$raw_n13c<*0*> |
|---|
| 1466 | - - 0 =buttons$_ne0$raw_n10a<*0*> |
|---|
| 1467 | - - 1 =buttons$_n10f$raw_n138<*0*> |
|---|
| 1468 | .names buttons$_n10f$raw_n138<*1*> buttons$_ne0$raw_n10a<*1*> stop_next buttons$stop_next$raw_n13c<*1*> |
|---|
| 1469 | - - 0 =buttons$_ne0$raw_n10a<*1*> |
|---|
| 1470 | - - 1 =buttons$_n10f$raw_n138<*1*> |
|---|
| 1471 | .names buttons$_n10f$raw_n138<*2*> buttons$_ne0$raw_n10a<*2*> stop_next buttons$stop_next$raw_n13c<*2*> |
|---|
| 1472 | - - 0 =buttons$_ne0$raw_n10a<*2*> |
|---|
| 1473 | - - 1 =buttons$_n10f$raw_n138<*2*> |
|---|
| 1474 | .mv _n141 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1475 | .names _n141 |
|---|
| 1476 | CLOSED |
|---|
| 1477 | # door != 2 |
|---|
| 1478 | .names door _n141 _n140 |
|---|
| 1479 | .def 1 |
|---|
| 1480 | - =door 0 |
|---|
| 1481 | .names _n140 _n142 |
|---|
| 1482 | - =_n140 |
|---|
| 1483 | # open_next = 0 |
|---|
| 1484 | .names open_next$_n140_n143$true |
|---|
| 1485 | 0 |
|---|
| 1486 | .mv _n145 2 STOPPED MOVING |
|---|
| 1487 | .names _n145 |
|---|
| 1488 | MOVING |
|---|
| 1489 | # movement == 1 |
|---|
| 1490 | .names movement _n145 _n144 |
|---|
| 1491 | .def 0 |
|---|
| 1492 | - =movement 1 |
|---|
| 1493 | .mv _n147 2 UP DOWN |
|---|
| 1494 | .names _n147 |
|---|
| 1495 | UP |
|---|
| 1496 | # direction == 0 |
|---|
| 1497 | .names direction _n147 _n146 |
|---|
| 1498 | .def 0 |
|---|
| 1499 | - =direction 1 |
|---|
| 1500 | .names _n149<0> |
|---|
| 1501 | 1 |
|---|
| 1502 | .names _n149<1> |
|---|
| 1503 | 0 |
|---|
| 1504 | # location + 1 |
|---|
| 1505 | .names _n14b |
|---|
| 1506 | 0 |
|---|
| 1507 | .names location<0> _n149<0> _n14b _n14a<0> |
|---|
| 1508 | .def 0 |
|---|
| 1509 | 0 0 1 1 |
|---|
| 1510 | 0 1 0 1 |
|---|
| 1511 | 1 0 0 1 |
|---|
| 1512 | 1 1 1 1 |
|---|
| 1513 | # carry/borrow |
|---|
| 1514 | .names _n14d |
|---|
| 1515 | 0 |
|---|
| 1516 | .names location<0> _n149<0> _n14d _n14c |
|---|
| 1517 | .def 0 |
|---|
| 1518 | 0 1 1 1 |
|---|
| 1519 | 1 0 1 1 |
|---|
| 1520 | 1 1 0 1 |
|---|
| 1521 | 1 1 1 1 |
|---|
| 1522 | .names location<1> _n149<1> _n14c _n14a<1> |
|---|
| 1523 | .def 0 |
|---|
| 1524 | 0 0 1 1 |
|---|
| 1525 | 0 1 0 1 |
|---|
| 1526 | 1 0 0 1 |
|---|
| 1527 | 1 1 1 1 |
|---|
| 1528 | .mv _n14e 2 ON OFF |
|---|
| 1529 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n14a<1> _n14a<0> _n14e |
|---|
| 1530 | - - - 0 0 =buttons<*0*> |
|---|
| 1531 | - - - 0 1 =buttons<*1*> |
|---|
| 1532 | - - - 1 0 =buttons<*2*> |
|---|
| 1533 | - - - 1 1 ON |
|---|
| 1534 | .mv _n14f 2 ON OFF |
|---|
| 1535 | .names _n14f |
|---|
| 1536 | ON |
|---|
| 1537 | # buttons [location + 1] == 0 |
|---|
| 1538 | .names _n14e _n14f _n148 |
|---|
| 1539 | .def 0 |
|---|
| 1540 | - =_n14e 1 |
|---|
| 1541 | # direction == 0 && buttons [location + 1] == 0 |
|---|
| 1542 | .names _n146 _n148 _n150 |
|---|
| 1543 | .def 0 |
|---|
| 1544 | 1 1 1 |
|---|
| 1545 | # stop_next || (direction == 0 && buttons [location + 1] == 0) |
|---|
| 1546 | .names stop_next _n150 _n151 |
|---|
| 1547 | .def 1 |
|---|
| 1548 | 0 0 0 |
|---|
| 1549 | .mv _n153 2 UP DOWN |
|---|
| 1550 | .names _n153 |
|---|
| 1551 | DOWN |
|---|
| 1552 | # direction == 1 |
|---|
| 1553 | .names direction _n153 _n152 |
|---|
| 1554 | .def 0 |
|---|
| 1555 | - =direction 1 |
|---|
| 1556 | .names _n155<0> |
|---|
| 1557 | 1 |
|---|
| 1558 | .names _n155<1> |
|---|
| 1559 | 0 |
|---|
| 1560 | # location - 1 |
|---|
| 1561 | .names _n157 |
|---|
| 1562 | 0 |
|---|
| 1563 | .names location<0> _n155<0> _n157 _n156<0> |
|---|
| 1564 | .def 0 |
|---|
| 1565 | 0 0 1 1 |
|---|
| 1566 | 0 1 0 1 |
|---|
| 1567 | 1 0 0 1 |
|---|
| 1568 | 1 1 1 1 |
|---|
| 1569 | # carry/borrow |
|---|
| 1570 | .names _n159 |
|---|
| 1571 | 0 |
|---|
| 1572 | .names location<0> _n155<0> _n159 _n158 |
|---|
| 1573 | .def 0 |
|---|
| 1574 | 0 0 1 1 |
|---|
| 1575 | 0 1 0 1 |
|---|
| 1576 | 0 1 1 1 |
|---|
| 1577 | 1 1 1 1 |
|---|
| 1578 | .names location<1> _n155<1> _n158 _n156<1> |
|---|
| 1579 | .def 0 |
|---|
| 1580 | 0 0 1 1 |
|---|
| 1581 | 0 1 0 1 |
|---|
| 1582 | 1 0 0 1 |
|---|
| 1583 | 1 1 1 1 |
|---|
| 1584 | .mv _n15a 2 ON OFF |
|---|
| 1585 | .names buttons<*0*> buttons<*1*> buttons<*2*> _n156<1> _n156<0> _n15a |
|---|
| 1586 | - - - 0 0 =buttons<*0*> |
|---|
| 1587 | - - - 0 1 =buttons<*1*> |
|---|
| 1588 | - - - 1 0 =buttons<*2*> |
|---|
| 1589 | - - - 1 1 ON |
|---|
| 1590 | .mv _n15b 2 ON OFF |
|---|
| 1591 | .names _n15b |
|---|
| 1592 | ON |
|---|
| 1593 | # buttons [location - 1] == 0 |
|---|
| 1594 | .names _n15a _n15b _n154 |
|---|
| 1595 | .def 0 |
|---|
| 1596 | - =_n15a 1 |
|---|
| 1597 | # direction == 1 && buttons [location - 1] == 0 |
|---|
| 1598 | .names _n152 _n154 _n15c |
|---|
| 1599 | .def 0 |
|---|
| 1600 | 1 1 1 |
|---|
| 1601 | # stop_next || (direction == 0 && buttons [location + 1] == 0) || (direction == 1 && buttons [location - 1] == 0) |
|---|
| 1602 | .names _n151 _n15c _n15d |
|---|
| 1603 | .def 1 |
|---|
| 1604 | 0 0 0 |
|---|
| 1605 | # movement == 1 && (stop_next || (direction == 0 && buttons [location + 1] == 0) || (direction == 1 && buttons [location - 1] == 0)) |
|---|
| 1606 | .names _n144 _n15d _n15e |
|---|
| 1607 | .def 0 |
|---|
| 1608 | 1 1 1 |
|---|
| 1609 | .names _n15e _n15f |
|---|
| 1610 | - =_n15e |
|---|
| 1611 | # open_next = 1 |
|---|
| 1612 | .names open_next$_n15e_n160$true |
|---|
| 1613 | 1 |
|---|
| 1614 | # if/else (movement == 1 && (stop_next || (direction == 0 && buttons [location + 1] == 0) || (direction == 1 && buttons [location - 1] == 0))) |
|---|
| 1615 | .names open_next$_n15e_n160$true open_next _n15e open_next$_n15e$raw_n163 |
|---|
| 1616 | 0 - 1 0 |
|---|
| 1617 | 1 - 1 1 |
|---|
| 1618 | - 0 0 0 |
|---|
| 1619 | - 1 0 1 |
|---|
| 1620 | # if/else (door != 2) |
|---|
| 1621 | .names open_next$_n140_n143$true open_next$_n15e$raw_n163 _n140 open_next$_n140$raw_n166 |
|---|
| 1622 | 0 - 1 0 |
|---|
| 1623 | 1 - 1 1 |
|---|
| 1624 | - 0 0 0 |
|---|
| 1625 | - 1 0 1 |
|---|
| 1626 | # assign random = $NDset ( 0,1 ) |
|---|
| 1627 | .names random |
|---|
| 1628 | 0 |
|---|
| 1629 | 1 |
|---|
| 1630 | .mv _n16e 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1631 | .names _n16e |
|---|
| 1632 | CLOSED |
|---|
| 1633 | .names door _n16e _n16d |
|---|
| 1634 | .def 0 |
|---|
| 1635 | - =door 1 |
|---|
| 1636 | .names _n16d _n16c |
|---|
| 1637 | 1 1 |
|---|
| 1638 | 0 0 |
|---|
| 1639 | .mv _n170 2 STOPPED MOVING |
|---|
| 1640 | .names _n170 |
|---|
| 1641 | STOPPED |
|---|
| 1642 | # movement == 0 |
|---|
| 1643 | .names movement _n170 _n16f |
|---|
| 1644 | .def 0 |
|---|
| 1645 | - =movement 1 |
|---|
| 1646 | # open_next && movement == 0 |
|---|
| 1647 | .names open_next _n16f _n171 |
|---|
| 1648 | .def 0 |
|---|
| 1649 | 1 1 1 |
|---|
| 1650 | .names _n171 _n172 |
|---|
| 1651 | - =_n171 |
|---|
| 1652 | # door = 1 |
|---|
| 1653 | .mv door$_n171_n173$true 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1654 | .names door$_n171_n173$true |
|---|
| 1655 | OPENING |
|---|
| 1656 | # if/else (open_next && movement == 0) |
|---|
| 1657 | .mv door$_n171$raw_n176 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1658 | .names door$_n171_n173$true door _n171 door$_n171$raw_n176 |
|---|
| 1659 | - - 0 =door |
|---|
| 1660 | - - 1 =door$_n171_n173$true |
|---|
| 1661 | .mv _n179 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1662 | .names _n179 |
|---|
| 1663 | OPENING |
|---|
| 1664 | .names door _n179 _n178 |
|---|
| 1665 | .def 0 |
|---|
| 1666 | - =door 1 |
|---|
| 1667 | .names _n178 _n177 |
|---|
| 1668 | 1 1 |
|---|
| 1669 | 0 0 |
|---|
| 1670 | .names random _n17a |
|---|
| 1671 | - =random |
|---|
| 1672 | # door = 0 |
|---|
| 1673 | .mv door$random_n17b$true 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1674 | .names door$random_n17b$true |
|---|
| 1675 | OPEN |
|---|
| 1676 | # if/else (random ) |
|---|
| 1677 | .mv door$random$raw_n17e 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1678 | .names door$random_n17b$true door random door$random$raw_n17e |
|---|
| 1679 | - - 0 =door |
|---|
| 1680 | - - 1 =door$random_n17b$true |
|---|
| 1681 | .mv _n181 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1682 | .names _n181 |
|---|
| 1683 | OPEN |
|---|
| 1684 | .names door _n181 _n180 |
|---|
| 1685 | .def 0 |
|---|
| 1686 | - =door 1 |
|---|
| 1687 | .names _n180 _n17f |
|---|
| 1688 | 1 1 |
|---|
| 1689 | 0 0 |
|---|
| 1690 | .names random _n182 |
|---|
| 1691 | - =random |
|---|
| 1692 | # door = 3 |
|---|
| 1693 | .mv door$random_n183$true 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1694 | .names door$random_n183$true |
|---|
| 1695 | CLOSING |
|---|
| 1696 | # if/else (random ) |
|---|
| 1697 | .mv door$random$raw_n186 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1698 | .names door$random_n183$true door random door$random$raw_n186 |
|---|
| 1699 | - - 0 =door |
|---|
| 1700 | - - 1 =door$random_n183$true |
|---|
| 1701 | .mv _n189 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1702 | .names _n189 |
|---|
| 1703 | CLOSING |
|---|
| 1704 | .names door _n189 _n188 |
|---|
| 1705 | .def 0 |
|---|
| 1706 | - =door 1 |
|---|
| 1707 | .names _n188 _n187 |
|---|
| 1708 | 1 1 |
|---|
| 1709 | 0 0 |
|---|
| 1710 | .names random _n18a |
|---|
| 1711 | - =random |
|---|
| 1712 | # door = 2 |
|---|
| 1713 | .mv door$random_n18b$true 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1714 | .names door$random_n18b$true |
|---|
| 1715 | CLOSED |
|---|
| 1716 | # if/else (random ) |
|---|
| 1717 | .mv door$random$raw_n18e 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1718 | .names door$random_n18b$true door random door$random$raw_n18e |
|---|
| 1719 | - - 0 =door |
|---|
| 1720 | - - 1 =door$random_n18b$true |
|---|
| 1721 | # case (door ) |
|---|
| 1722 | .mv door$_n187$raw_n191 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1723 | .names door$random$raw_n18e door _n187 door$_n187$raw_n191 |
|---|
| 1724 | - - 0 =door |
|---|
| 1725 | - - 1 =door$random$raw_n18e |
|---|
| 1726 | .mv door$_n17f$raw_n192 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1727 | .names door$random$raw_n186 door$_n187$raw_n191 _n17f door$_n17f$raw_n192 |
|---|
| 1728 | - - 0 =door$_n187$raw_n191 |
|---|
| 1729 | - - 1 =door$random$raw_n186 |
|---|
| 1730 | .mv door$_n177$raw_n196 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1731 | .names door$random$raw_n17e door$_n17f$raw_n192 _n177 door$_n177$raw_n196 |
|---|
| 1732 | - - 0 =door$_n17f$raw_n192 |
|---|
| 1733 | - - 1 =door$random$raw_n17e |
|---|
| 1734 | .mv door$_n16c$raw_n19a 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1735 | .names door$_n171$raw_n176 door$_n177$raw_n196 _n16c door$_n16c$raw_n19a |
|---|
| 1736 | - - 0 =door$_n177$raw_n196 |
|---|
| 1737 | - - 1 =door$_n171$raw_n176 |
|---|
| 1738 | # assign start_moving = (continue || button_above && direction == UP ) || (button_below && direction == DOWN ) |
|---|
| 1739 | .mv _n1a0 2 UP DOWN |
|---|
| 1740 | .names _n1a0 |
|---|
| 1741 | UP |
|---|
| 1742 | # direction == 0 |
|---|
| 1743 | .names direction _n1a0 _n19f |
|---|
| 1744 | .def 0 |
|---|
| 1745 | - =direction 1 |
|---|
| 1746 | # button_above && direction == 0 |
|---|
| 1747 | .names button_above _n19f _n1a1 |
|---|
| 1748 | .def 0 |
|---|
| 1749 | 1 1 1 |
|---|
| 1750 | # continue || button_above && direction == 0 |
|---|
| 1751 | .names continue _n1a1 _n1a2 |
|---|
| 1752 | .def 1 |
|---|
| 1753 | 0 0 0 |
|---|
| 1754 | .mv _n1a4 2 UP DOWN |
|---|
| 1755 | .names _n1a4 |
|---|
| 1756 | DOWN |
|---|
| 1757 | # direction == 1 |
|---|
| 1758 | .names direction _n1a4 _n1a3 |
|---|
| 1759 | .def 0 |
|---|
| 1760 | - =direction 1 |
|---|
| 1761 | # button_below && direction == 1 |
|---|
| 1762 | .names button_below _n1a3 _n1a5 |
|---|
| 1763 | .def 0 |
|---|
| 1764 | 1 1 1 |
|---|
| 1765 | # (continue || button_above && direction == 0) || (button_below && direction == 1) |
|---|
| 1766 | .names _n1a2 _n1a5 _n1a6 |
|---|
| 1767 | .def 1 |
|---|
| 1768 | 0 0 0 |
|---|
| 1769 | .names _n1a6 start_moving$raw_n19e |
|---|
| 1770 | - =_n1a6 |
|---|
| 1771 | # assign r_stop = $NDset ( 0,1 ) |
|---|
| 1772 | .names r_stop |
|---|
| 1773 | 0 |
|---|
| 1774 | 1 |
|---|
| 1775 | # assign stop_moving = r_stop && (movement == MOVING ) |
|---|
| 1776 | .mv _n1ab 2 STOPPED MOVING |
|---|
| 1777 | .names _n1ab |
|---|
| 1778 | MOVING |
|---|
| 1779 | # movement == 1 |
|---|
| 1780 | .names movement _n1ab _n1aa |
|---|
| 1781 | .def 0 |
|---|
| 1782 | - =movement 1 |
|---|
| 1783 | # r_stop && (movement == 1) |
|---|
| 1784 | .names r_stop _n1aa _n1ac |
|---|
| 1785 | .def 0 |
|---|
| 1786 | 1 1 1 |
|---|
| 1787 | .names _n1ac stop_moving$raw_n1a9 |
|---|
| 1788 | - =_n1ac |
|---|
| 1789 | # assign inc = (stop_moving ) && (direction == UP ) |
|---|
| 1790 | .mv _n1af 2 UP DOWN |
|---|
| 1791 | .names _n1af |
|---|
| 1792 | UP |
|---|
| 1793 | # direction == 0 |
|---|
| 1794 | .names direction _n1af _n1ae |
|---|
| 1795 | .def 0 |
|---|
| 1796 | - =direction 1 |
|---|
| 1797 | # (stop_moving ) && (direction == 0) |
|---|
| 1798 | .names stop_moving _n1ae _n1b0 |
|---|
| 1799 | .def 0 |
|---|
| 1800 | 1 1 1 |
|---|
| 1801 | .names _n1b0 inc$raw_n1ad |
|---|
| 1802 | - =_n1b0 |
|---|
| 1803 | # assign dec = (stop_moving ) && (direction == DOWN ) |
|---|
| 1804 | .mv _n1b3 2 UP DOWN |
|---|
| 1805 | .names _n1b3 |
|---|
| 1806 | DOWN |
|---|
| 1807 | # direction == 1 |
|---|
| 1808 | .names direction _n1b3 _n1b2 |
|---|
| 1809 | .def 0 |
|---|
| 1810 | - =direction 1 |
|---|
| 1811 | # (stop_moving ) && (direction == 1) |
|---|
| 1812 | .names stop_moving _n1b2 _n1b4 |
|---|
| 1813 | .def 0 |
|---|
| 1814 | 1 1 1 |
|---|
| 1815 | .names _n1b4 dec$raw_n1b1 |
|---|
| 1816 | - =_n1b4 |
|---|
| 1817 | .mv _n1b6 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1818 | .names _n1b6 |
|---|
| 1819 | CLOSED |
|---|
| 1820 | # door == 2 |
|---|
| 1821 | .names door _n1b6 _n1b5 |
|---|
| 1822 | .def 0 |
|---|
| 1823 | - =door 1 |
|---|
| 1824 | .names _n1b5 _n1b7 |
|---|
| 1825 | - =_n1b5 |
|---|
| 1826 | .mv _n1ba 2 STOPPED MOVING |
|---|
| 1827 | .names _n1ba |
|---|
| 1828 | STOPPED |
|---|
| 1829 | .names movement _n1ba _n1b9 |
|---|
| 1830 | .def 0 |
|---|
| 1831 | - =movement 1 |
|---|
| 1832 | .names _n1b9 _n1b8 |
|---|
| 1833 | 1 1 |
|---|
| 1834 | 0 0 |
|---|
| 1835 | .mv _n1bc 4 OPEN OPENING CLOSED CLOSING |
|---|
| 1836 | .names _n1bc |
|---|
| 1837 | CLOSED |
|---|
| 1838 | # door == 2 |
|---|
| 1839 | .names door _n1bc _n1bb |
|---|
| 1840 | .def 0 |
|---|
| 1841 | - =door 1 |
|---|
| 1842 | # door == 2 && start_moving |
|---|
| 1843 | .names _n1bb start_moving _n1bd |
|---|
| 1844 | .def 0 |
|---|
| 1845 | 1 1 1 |
|---|
| 1846 | .names open_next _n1be |
|---|
| 1847 | 0 1 |
|---|
| 1848 | 1 0 |
|---|
| 1849 | # door == 2 && start_moving && !open_next |
|---|
| 1850 | .names _n1bd _n1be _n1bf |
|---|
| 1851 | .def 0 |
|---|
| 1852 | 1 1 1 |
|---|
| 1853 | .names _n1bf _n1c0 |
|---|
| 1854 | - =_n1bf |
|---|
| 1855 | # movement = 1 |
|---|
| 1856 | .mv movement$_n1bf_n1c1$true 2 STOPPED MOVING |
|---|
| 1857 | .names movement$_n1bf_n1c1$true |
|---|
| 1858 | MOVING |
|---|
| 1859 | # if/else (door == 2 && start_moving && !open_next ) |
|---|
| 1860 | .mv movement$_n1bf$raw_n1c4 2 STOPPED MOVING |
|---|
| 1861 | .names movement$_n1bf_n1c1$true movement _n1bf movement$_n1bf$raw_n1c4 |
|---|
| 1862 | - - 0 =movement |
|---|
| 1863 | - - 1 =movement$_n1bf_n1c1$true |
|---|
| 1864 | .mv _n1c7 2 STOPPED MOVING |
|---|
| 1865 | .names _n1c7 |
|---|
| 1866 | MOVING |
|---|
| 1867 | .names movement _n1c7 _n1c6 |
|---|
| 1868 | .def 0 |
|---|
| 1869 | - =movement 1 |
|---|
| 1870 | .names _n1c6 _n1c5 |
|---|
| 1871 | 1 1 |
|---|
| 1872 | 0 0 |
|---|
| 1873 | .names stop_moving _n1c8 |
|---|
| 1874 | - =stop_moving |
|---|
| 1875 | # movement = 0 |
|---|
| 1876 | .mv movement$stop_moving_n1c9$true 2 STOPPED MOVING |
|---|
| 1877 | .names movement$stop_moving_n1c9$true |
|---|
| 1878 | STOPPED |
|---|
| 1879 | .mv _n1cb 2 UP DOWN |
|---|
| 1880 | .names _n1cb |
|---|
| 1881 | UP |
|---|
| 1882 | # direction == 0 |
|---|
| 1883 | .names direction _n1cb _n1ca |
|---|
| 1884 | .def 0 |
|---|
| 1885 | - =direction 1 |
|---|
| 1886 | .names _n1ca _n1cc |
|---|
| 1887 | - =_n1ca |
|---|
| 1888 | # location = location + 1 |
|---|
| 1889 | .names _n1ce<0> |
|---|
| 1890 | 1 |
|---|
| 1891 | .names _n1ce<1> |
|---|
| 1892 | 0 |
|---|
| 1893 | # location + 1 |
|---|
| 1894 | .names _n1d0 |
|---|
| 1895 | 0 |
|---|
| 1896 | .names location<0> _n1ce<0> _n1d0 _n1cf<0> |
|---|
| 1897 | .def 0 |
|---|
| 1898 | 0 0 1 1 |
|---|
| 1899 | 0 1 0 1 |
|---|
| 1900 | 1 0 0 1 |
|---|
| 1901 | 1 1 1 1 |
|---|
| 1902 | # carry/borrow |
|---|
| 1903 | .names _n1d2 |
|---|
| 1904 | 0 |
|---|
| 1905 | .names location<0> _n1ce<0> _n1d2 _n1d1 |
|---|
| 1906 | .def 0 |
|---|
| 1907 | 0 1 1 1 |
|---|
| 1908 | 1 0 1 1 |
|---|
| 1909 | 1 1 0 1 |
|---|
| 1910 | 1 1 1 1 |
|---|
| 1911 | .names location<1> _n1ce<1> _n1d1 _n1cf<1> |
|---|
| 1912 | .def 0 |
|---|
| 1913 | 0 0 1 1 |
|---|
| 1914 | 0 1 0 1 |
|---|
| 1915 | 1 0 0 1 |
|---|
| 1916 | 1 1 1 1 |
|---|
| 1917 | .names _n1cf<0> location$_n1ca_n1cd$true<0> |
|---|
| 1918 | - =_n1cf<0> |
|---|
| 1919 | .names _n1cf<1> location$_n1ca_n1cd$true<1> |
|---|
| 1920 | - =_n1cf<1> |
|---|
| 1921 | # if/else (direction == 0) |
|---|
| 1922 | .names location$_n1ca_n1cd$true<0> location<0> _n1ca location$_n1ca$raw_n1d8<0> |
|---|
| 1923 | 0 - 1 0 |
|---|
| 1924 | 1 - 1 1 |
|---|
| 1925 | - 0 0 0 |
|---|
| 1926 | - 1 0 1 |
|---|
| 1927 | .names location$_n1ca_n1cd$true<1> location<1> _n1ca location$_n1ca$raw_n1d8<1> |
|---|
| 1928 | 0 - 1 0 |
|---|
| 1929 | 1 - 1 1 |
|---|
| 1930 | - 0 0 0 |
|---|
| 1931 | - 1 0 1 |
|---|
| 1932 | .mv _n1dd 2 UP DOWN |
|---|
| 1933 | .names _n1dd |
|---|
| 1934 | DOWN |
|---|
| 1935 | # direction == 1 |
|---|
| 1936 | .names direction _n1dd _n1dc |
|---|
| 1937 | .def 0 |
|---|
| 1938 | - =direction 1 |
|---|
| 1939 | .names _n1dc _n1de |
|---|
| 1940 | - =_n1dc |
|---|
| 1941 | # location = location - 1 |
|---|
| 1942 | .names _n1e0<0> |
|---|
| 1943 | 1 |
|---|
| 1944 | .names _n1e0<1> |
|---|
| 1945 | 0 |
|---|
| 1946 | # location - 1 |
|---|
| 1947 | .names _n1e2 |
|---|
| 1948 | 0 |
|---|
| 1949 | .names location$_n1ca$raw_n1d8<0> _n1e0<0> _n1e2 _n1e1<0> |
|---|
| 1950 | .def 0 |
|---|
| 1951 | 0 0 1 1 |
|---|
| 1952 | 0 1 0 1 |
|---|
| 1953 | 1 0 0 1 |
|---|
| 1954 | 1 1 1 1 |
|---|
| 1955 | # carry/borrow |
|---|
| 1956 | .names _n1e4 |
|---|
| 1957 | 0 |
|---|
| 1958 | .names location$_n1ca$raw_n1d8<0> _n1e0<0> _n1e4 _n1e3 |
|---|
| 1959 | .def 0 |
|---|
| 1960 | 0 0 1 1 |
|---|
| 1961 | 0 1 0 1 |
|---|
| 1962 | 0 1 1 1 |
|---|
| 1963 | 1 1 1 1 |
|---|
| 1964 | .names location$_n1ca$raw_n1d8<1> _n1e0<1> _n1e3 _n1e1<1> |
|---|
| 1965 | .def 0 |
|---|
| 1966 | 0 0 1 1 |
|---|
| 1967 | 0 1 0 1 |
|---|
| 1968 | 1 0 0 1 |
|---|
| 1969 | 1 1 1 1 |
|---|
| 1970 | .names _n1e1<0> location$_n1dc_n1df$true<0> |
|---|
| 1971 | - =_n1e1<0> |
|---|
| 1972 | .names _n1e1<1> location$_n1dc_n1df$true<1> |
|---|
| 1973 | - =_n1e1<1> |
|---|
| 1974 | # if/else (direction == 1) |
|---|
| 1975 | .names location$_n1dc_n1df$true<0> location$_n1ca$raw_n1d8<0> _n1dc location$_n1dc$raw_n1e6<0> |
|---|
| 1976 | 0 - 1 0 |
|---|
| 1977 | 1 - 1 1 |
|---|
| 1978 | - 0 0 0 |
|---|
| 1979 | - 1 0 1 |
|---|
| 1980 | .names location$_n1dc_n1df$true<1> location$_n1ca$raw_n1d8<1> _n1dc location$_n1dc$raw_n1e6<1> |
|---|
| 1981 | 0 - 1 0 |
|---|
| 1982 | 1 - 1 1 |
|---|
| 1983 | - 0 0 0 |
|---|
| 1984 | - 1 0 1 |
|---|
| 1985 | # if/else (stop_moving ) |
|---|
| 1986 | .mv movement$stop_moving$raw_n1f3 2 STOPPED MOVING |
|---|
| 1987 | .names movement$stop_moving_n1c9$true movement stop_moving movement$stop_moving$raw_n1f3 |
|---|
| 1988 | - - 0 =movement |
|---|
| 1989 | - - 1 =movement$stop_moving_n1c9$true |
|---|
| 1990 | .names location$_n1dc$raw_n1e6<0> location<0> stop_moving location$stop_moving$raw_n1f4<0> |
|---|
| 1991 | 0 - 1 0 |
|---|
| 1992 | 1 - 1 1 |
|---|
| 1993 | - 0 0 0 |
|---|
| 1994 | - 1 0 1 |
|---|
| 1995 | .names location$_n1dc$raw_n1e6<1> location<1> stop_moving location$stop_moving$raw_n1f4<1> |
|---|
| 1996 | 0 - 1 0 |
|---|
| 1997 | 1 - 1 1 |
|---|
| 1998 | - 0 0 0 |
|---|
| 1999 | - 1 0 1 |
|---|
| 2000 | # case (movement ) |
|---|
| 2001 | .mv movement$_n1c5$raw_n1fb 2 STOPPED MOVING |
|---|
| 2002 | .names movement$stop_moving$raw_n1f3 movement _n1c5 movement$_n1c5$raw_n1fb |
|---|
| 2003 | - - 0 =movement |
|---|
| 2004 | - - 1 =movement$stop_moving$raw_n1f3 |
|---|
| 2005 | .names location$stop_moving$raw_n1f4<0> location<0> _n1c5 location$_n1c5$raw_n1fc<0> |
|---|
| 2006 | 0 - 1 0 |
|---|
| 2007 | 1 - 1 1 |
|---|
| 2008 | - 0 0 0 |
|---|
| 2009 | - 1 0 1 |
|---|
| 2010 | .names location$stop_moving$raw_n1f4<1> location<1> _n1c5 location$_n1c5$raw_n1fc<1> |
|---|
| 2011 | 0 - 1 0 |
|---|
| 2012 | 1 - 1 1 |
|---|
| 2013 | - 0 0 0 |
|---|
| 2014 | - 1 0 1 |
|---|
| 2015 | .mv movement$_n1b8$raw_n1ff 2 STOPPED MOVING |
|---|
| 2016 | .names movement$_n1bf$raw_n1c4 movement$_n1c5$raw_n1fb _n1b8 movement$_n1b8$raw_n1ff |
|---|
| 2017 | - - 0 =movement$_n1c5$raw_n1fb |
|---|
| 2018 | - - 1 =movement$_n1bf$raw_n1c4 |
|---|
| 2019 | .names location<0> location$_n1c5$raw_n1fc<0> _n1b8 location$_n1b8$raw_n203<0> |
|---|
| 2020 | 0 - 1 0 |
|---|
| 2021 | 1 - 1 1 |
|---|
| 2022 | - 0 0 0 |
|---|
| 2023 | - 1 0 1 |
|---|
| 2024 | .names location<1> location$_n1c5$raw_n1fc<1> _n1b8 location$_n1b8$raw_n203<1> |
|---|
| 2025 | 0 - 1 0 |
|---|
| 2026 | 1 - 1 1 |
|---|
| 2027 | - 0 0 0 |
|---|
| 2028 | - 1 0 1 |
|---|
| 2029 | # if/else (door == 2) |
|---|
| 2030 | .mv movement$_n1b5$raw_n20a 2 STOPPED MOVING |
|---|
| 2031 | .names movement$_n1b8$raw_n1ff movement _n1b5 movement$_n1b5$raw_n20a |
|---|
| 2032 | - - 0 =movement |
|---|
| 2033 | - - 1 =movement$_n1b8$raw_n1ff |
|---|
| 2034 | .names location$_n1b8$raw_n203<0> location<0> _n1b5 location$_n1b5$raw_n20b<0> |
|---|
| 2035 | 0 - 1 0 |
|---|
| 2036 | 1 - 1 1 |
|---|
| 2037 | - 0 0 0 |
|---|
| 2038 | - 1 0 1 |
|---|
| 2039 | .names location$_n1b8$raw_n203<1> location<1> _n1b5 location$_n1b5$raw_n20b<1> |
|---|
| 2040 | 0 - 1 0 |
|---|
| 2041 | 1 - 1 1 |
|---|
| 2042 | - 0 0 0 |
|---|
| 2043 | - 1 0 1 |
|---|
| 2044 | .mv _n210 2 UP DOWN |
|---|
| 2045 | .names _n210 |
|---|
| 2046 | UP |
|---|
| 2047 | .names direction _n210 _n20f |
|---|
| 2048 | .def 0 |
|---|
| 2049 | - =direction 1 |
|---|
| 2050 | .names _n20f _n20e |
|---|
| 2051 | 1 1 |
|---|
| 2052 | 0 0 |
|---|
| 2053 | .names button_above _n211 |
|---|
| 2054 | 0 1 |
|---|
| 2055 | 1 0 |
|---|
| 2056 | .names continue _n212 |
|---|
| 2057 | 0 1 |
|---|
| 2058 | 1 0 |
|---|
| 2059 | # (!button_above ) && !continue |
|---|
| 2060 | .names _n211 _n212 _n213 |
|---|
| 2061 | .def 0 |
|---|
| 2062 | 1 1 1 |
|---|
| 2063 | .names _n213 _n214 |
|---|
| 2064 | - =_n213 |
|---|
| 2065 | # direction = 1 |
|---|
| 2066 | .mv direction$_n213_n215$true 2 UP DOWN |
|---|
| 2067 | .names direction$_n213_n215$true |
|---|
| 2068 | DOWN |
|---|
| 2069 | # if/else ((!button_above ) && !continue ) |
|---|
| 2070 | .mv direction$_n213$raw_n218 2 UP DOWN |
|---|
| 2071 | .names direction$_n213_n215$true direction _n213 direction$_n213$raw_n218 |
|---|
| 2072 | - - 0 =direction |
|---|
| 2073 | - - 1 =direction$_n213_n215$true |
|---|
| 2074 | .mv _n21b 2 UP DOWN |
|---|
| 2075 | .names _n21b |
|---|
| 2076 | DOWN |
|---|
| 2077 | .names direction _n21b _n21a |
|---|
| 2078 | .def 0 |
|---|
| 2079 | - =direction 1 |
|---|
| 2080 | .names _n21a _n219 |
|---|
| 2081 | 1 1 |
|---|
| 2082 | 0 0 |
|---|
| 2083 | .names button_below _n21c |
|---|
| 2084 | 0 1 |
|---|
| 2085 | 1 0 |
|---|
| 2086 | .names continue _n21d |
|---|
| 2087 | 0 1 |
|---|
| 2088 | 1 0 |
|---|
| 2089 | # (!button_below ) && !continue |
|---|
| 2090 | .names _n21c _n21d _n21e |
|---|
| 2091 | .def 0 |
|---|
| 2092 | 1 1 1 |
|---|
| 2093 | .names _n21e _n21f |
|---|
| 2094 | - =_n21e |
|---|
| 2095 | # direction = 0 |
|---|
| 2096 | .mv direction$_n21e_n220$true 2 UP DOWN |
|---|
| 2097 | .names direction$_n21e_n220$true |
|---|
| 2098 | UP |
|---|
| 2099 | # if/else ((!button_below ) && !continue ) |
|---|
| 2100 | .mv direction$_n21e$raw_n223 2 UP DOWN |
|---|
| 2101 | .names direction$_n21e_n220$true direction _n21e direction$_n21e$raw_n223 |
|---|
| 2102 | - - 0 =direction |
|---|
| 2103 | - - 1 =direction$_n21e_n220$true |
|---|
| 2104 | # case (direction ) |
|---|
| 2105 | .mv direction$_n219$raw_n226 2 UP DOWN |
|---|
| 2106 | .names direction$_n21e$raw_n223 direction _n219 direction$_n219$raw_n226 |
|---|
| 2107 | - - 0 =direction |
|---|
| 2108 | - - 1 =direction$_n21e$raw_n223 |
|---|
| 2109 | .mv direction$_n20e$raw_n227 2 UP DOWN |
|---|
| 2110 | .names direction$_n213$raw_n218 direction$_n219$raw_n226 _n20e direction$_n20e$raw_n227 |
|---|
| 2111 | - - 0 =direction$_n219$raw_n226 |
|---|
| 2112 | - - 1 =direction$_n213$raw_n218 |
|---|
| 2113 | .names _n22c<0> |
|---|
| 2114 | 1 |
|---|
| 2115 | .names _n22c<1> |
|---|
| 2116 | 1 |
|---|
| 2117 | .names _n22d<0> |
|---|
| 2118 | 1 |
|---|
| 2119 | .names _n22d<1> |
|---|
| 2120 | 0 |
|---|
| 2121 | # 3 - 1 |
|---|
| 2122 | .names _n22f |
|---|
| 2123 | 0 |
|---|
| 2124 | .names _n22c<0> _n22d<0> _n22f _n22e<0> |
|---|
| 2125 | .def 0 |
|---|
| 2126 | 0 0 1 1 |
|---|
| 2127 | 0 1 0 1 |
|---|
| 2128 | 1 0 0 1 |
|---|
| 2129 | 1 1 1 1 |
|---|
| 2130 | # carry/borrow |
|---|
| 2131 | .names _n231 |
|---|
| 2132 | 0 |
|---|
| 2133 | .names _n22c<0> _n22d<0> _n231 _n230 |
|---|
| 2134 | .def 0 |
|---|
| 2135 | 0 0 1 1 |
|---|
| 2136 | 0 1 0 1 |
|---|
| 2137 | 0 1 1 1 |
|---|
| 2138 | 1 1 1 1 |
|---|
| 2139 | .names _n22c<1> _n22d<1> _n230 _n22e<1> |
|---|
| 2140 | .def 0 |
|---|
| 2141 | 0 0 1 1 |
|---|
| 2142 | 0 1 0 1 |
|---|
| 2143 | 1 0 0 1 |
|---|
| 2144 | 1 1 1 1 |
|---|
| 2145 | # location == 3 - 1 |
|---|
| 2146 | .names location<0> _n22e<0> _n232<0> |
|---|
| 2147 | .def 0 |
|---|
| 2148 | 0 1 1 |
|---|
| 2149 | 1 0 1 |
|---|
| 2150 | .names location<1> _n22e<1> _n232<1> |
|---|
| 2151 | .def 0 |
|---|
| 2152 | 0 1 1 |
|---|
| 2153 | 1 0 1 |
|---|
| 2154 | .names _n232<0> _n232<1> _n233 |
|---|
| 2155 | .def 1 |
|---|
| 2156 | 0 0 0 |
|---|
| 2157 | .names _n233 _n22b |
|---|
| 2158 | 0 1 |
|---|
| 2159 | 1 0 |
|---|
| 2160 | .names _n22b _n234 |
|---|
| 2161 | - =_n22b |
|---|
| 2162 | # direction = 1 |
|---|
| 2163 | .mv direction$_n22b_n235$true 2 UP DOWN |
|---|
| 2164 | .names direction$_n22b_n235$true |
|---|
| 2165 | DOWN |
|---|
| 2166 | # if/else (location == 3 - 1) |
|---|
| 2167 | .mv direction$_n22b$raw_n236 2 UP DOWN |
|---|
| 2168 | .names direction$_n22b_n235$true direction$_n20e$raw_n227 _n22b direction$_n22b$raw_n236 |
|---|
| 2169 | - - 0 =direction$_n20e$raw_n227 |
|---|
| 2170 | - - 1 =direction$_n22b_n235$true |
|---|
| 2171 | .names _n23b<0> |
|---|
| 2172 | 0 |
|---|
| 2173 | .names _n23b<1> |
|---|
| 2174 | 0 |
|---|
| 2175 | # location == 0 |
|---|
| 2176 | .names location<0> _n23b<0> _n23c<0> |
|---|
| 2177 | .def 0 |
|---|
| 2178 | 0 1 1 |
|---|
| 2179 | 1 0 1 |
|---|
| 2180 | .names location<1> _n23b<1> _n23c<1> |
|---|
| 2181 | .def 0 |
|---|
| 2182 | 0 1 1 |
|---|
| 2183 | 1 0 1 |
|---|
| 2184 | .names _n23c<0> _n23c<1> _n23d |
|---|
| 2185 | .def 1 |
|---|
| 2186 | 0 0 0 |
|---|
| 2187 | .names _n23d _n23a |
|---|
| 2188 | 0 1 |
|---|
| 2189 | 1 0 |
|---|
| 2190 | .names _n23a _n23e |
|---|
| 2191 | - =_n23a |
|---|
| 2192 | # direction = 0 |
|---|
| 2193 | .mv direction$_n23a_n23f$true 2 UP DOWN |
|---|
| 2194 | .names direction$_n23a_n23f$true |
|---|
| 2195 | UP |
|---|
| 2196 | # if/else (location == 0) |
|---|
| 2197 | .mv direction$_n23a$raw_n240 2 UP DOWN |
|---|
| 2198 | .names direction$_n23a_n23f$true direction$_n22b$raw_n236 _n23a direction$_n23a$raw_n240 |
|---|
| 2199 | - - 0 =direction$_n22b$raw_n236 |
|---|
| 2200 | - - 1 =direction$_n23a_n23f$true |
|---|
| 2201 | # conflict arbitrators |
|---|
| 2202 | .names button_above$raw_n6c button_above |
|---|
| 2203 | 0 0 |
|---|
| 2204 | 1 1 |
|---|
| 2205 | .names _n1b7 _n1b8 _n1c0 _n1c5 _n1c8 _n244 |
|---|
| 2206 | .def 0 |
|---|
| 2207 | 1 1 1 - - 1 |
|---|
| 2208 | 1 0 - 1 1 1 |
|---|
| 2209 | .mv _n245 2 STOPPED MOVING |
|---|
| 2210 | .names _n244 movement$_n1b5$raw_n20a movement _n245 |
|---|
| 2211 | 1 - - =movement$_n1b5$raw_n20a |
|---|
| 2212 | 0 - - =movement |
|---|
| 2213 | .names _n89 _n99 _nb6 _nc6 _ne4 _nf4 _n10e _n111 _n25b |
|---|
| 2214 | .def 0 |
|---|
| 2215 | 1 - - - - - - - 1 |
|---|
| 2216 | 0 1 - - - - - - 1 |
|---|
| 2217 | - - 1 - - - - - 1 |
|---|
| 2218 | - - 0 1 - - - - 1 |
|---|
| 2219 | - - - - 1 - - - 1 |
|---|
| 2220 | - - - - 0 1 - - 1 |
|---|
| 2221 | - - - - - - 1 1 1 |
|---|
| 2222 | - - - - - - 1 0 1 |
|---|
| 2223 | .mv _n25c<*0*> 2 ON OFF |
|---|
| 2224 | .mv _n25c<*1*> 2 ON OFF |
|---|
| 2225 | .mv _n25c<*2*> 2 ON OFF |
|---|
| 2226 | .names _n25b buttons$stop_next$raw_n13c<*0*> buttons<*0*> _n25c<*0*> |
|---|
| 2227 | 1 - - =buttons$stop_next$raw_n13c<*0*> |
|---|
| 2228 | 0 - - =buttons<*0*> |
|---|
| 2229 | .names _n25b buttons$stop_next$raw_n13c<*1*> buttons<*1*> _n25c<*1*> |
|---|
| 2230 | 1 - - =buttons$stop_next$raw_n13c<*1*> |
|---|
| 2231 | 0 - - =buttons<*1*> |
|---|
| 2232 | .names _n25b buttons$stop_next$raw_n13c<*2*> buttons<*2*> _n25c<*2*> |
|---|
| 2233 | 1 - - =buttons$stop_next$raw_n13c<*2*> |
|---|
| 2234 | 0 - - =buttons<*2*> |
|---|
| 2235 | .names start_moving$raw_n19e start_moving |
|---|
| 2236 | 0 0 |
|---|
| 2237 | 1 1 |
|---|
| 2238 | .names _n16c _n172 _n177 _n17a _n17f _n182 _n187 _n18a _n29c |
|---|
| 2239 | .def 0 |
|---|
| 2240 | 1 1 - - - - - - 1 |
|---|
| 2241 | 0 - 1 1 - - - - 1 |
|---|
| 2242 | 0 - 0 - 1 1 - - 1 |
|---|
| 2243 | 0 - 0 - 0 - 1 1 1 |
|---|
| 2244 | .mv _n29d 4 OPEN OPENING CLOSED CLOSING |
|---|
| 2245 | .names _n29c door$_n16c$raw_n19a door _n29d |
|---|
| 2246 | 1 - - =door$_n16c$raw_n19a |
|---|
| 2247 | 0 - - =door |
|---|
| 2248 | .names stop_moving$raw_n1a9 stop_moving |
|---|
| 2249 | 0 0 |
|---|
| 2250 | 1 1 |
|---|
| 2251 | .names _n1b7 _n1b8 _n1c5 _n1c8 _n1cc _n1de _n2b3 |
|---|
| 2252 | .def 0 |
|---|
| 2253 | 1 0 1 1 1 - 1 |
|---|
| 2254 | 1 0 1 1 - 1 1 |
|---|
| 2255 | .names _n2b3 location$_n1b5$raw_n20b<0> location$_n1b5$raw_n20b<1> location<0> location<1> -> _n2b4<0> _n2b4<1> |
|---|
| 2256 | 1 - - - - =location$_n1b5$raw_n20b<0> =location$_n1b5$raw_n20b<1> |
|---|
| 2257 | 0 - - - - =location<0> =location<1> |
|---|
| 2258 | .names button_below$raw_n53 button_below |
|---|
| 2259 | 0 0 |
|---|
| 2260 | 1 1 |
|---|
| 2261 | .names _n20e _n214 _n219 _n21f _n234 _n23e _n2b5 |
|---|
| 2262 | .def 0 |
|---|
| 2263 | 1 1 - - - - 1 |
|---|
| 2264 | 0 - 1 1 - - 1 |
|---|
| 2265 | - - - - 1 - 1 |
|---|
| 2266 | - - - - - 1 1 |
|---|
| 2267 | .mv _n2b6 2 UP DOWN |
|---|
| 2268 | .names _n2b5 direction$_n23a$raw_n240 direction _n2b6 |
|---|
| 2269 | 1 - - =direction$_n23a$raw_n240 |
|---|
| 2270 | 0 - - =direction |
|---|
| 2271 | .names _n142 _n15f _n2cc |
|---|
| 2272 | .def 0 |
|---|
| 2273 | 1 - 1 |
|---|
| 2274 | 0 1 1 |
|---|
| 2275 | .names _n2cc open_next$_n140$raw_n166 open_next _n2cd |
|---|
| 2276 | 1 0 - 0 |
|---|
| 2277 | 1 1 - 1 |
|---|
| 2278 | 0 - 0 0 |
|---|
| 2279 | 0 - 1 1 |
|---|
| 2280 | .names dec$raw_n1b1 dec |
|---|
| 2281 | 0 0 |
|---|
| 2282 | 1 1 |
|---|
| 2283 | .names inc$raw_n1ad inc |
|---|
| 2284 | 0 0 |
|---|
| 2285 | 1 1 |
|---|
| 2286 | # non-blocking assignments |
|---|
| 2287 | # latches |
|---|
| 2288 | .r movement$raw_n1a movement |
|---|
| 2289 | - =movement$raw_n1a |
|---|
| 2290 | .latch _n245 movement |
|---|
| 2291 | .r buttons$raw_n1b<*0*> buttons$raw_n2d<*0*> buttons$raw_n3f<*0*> buttons<*0*> |
|---|
| 2292 | .def ON |
|---|
| 2293 | OFF - - =buttons$raw_n1b<*0*> |
|---|
| 2294 | ON OFF - =buttons$raw_n2d<*0*> |
|---|
| 2295 | ON ON OFF =buttons$raw_n3f<*0*> |
|---|
| 2296 | .r buttons$raw_n1b<*1*> buttons$raw_n2d<*1*> buttons$raw_n3f<*1*> buttons<*1*> |
|---|
| 2297 | .def ON |
|---|
| 2298 | OFF - - =buttons$raw_n1b<*1*> |
|---|
| 2299 | ON OFF - =buttons$raw_n2d<*1*> |
|---|
| 2300 | ON ON OFF =buttons$raw_n3f<*1*> |
|---|
| 2301 | .r buttons$raw_n1b<*2*> buttons$raw_n2d<*2*> buttons$raw_n3f<*2*> buttons<*2*> |
|---|
| 2302 | .def ON |
|---|
| 2303 | OFF - - =buttons$raw_n1b<*2*> |
|---|
| 2304 | ON OFF - =buttons$raw_n2d<*2*> |
|---|
| 2305 | ON ON OFF =buttons$raw_n3f<*2*> |
|---|
| 2306 | .latch _n25c<*0*> buttons<*0*> |
|---|
| 2307 | .latch _n25c<*1*> buttons<*1*> |
|---|
| 2308 | .latch _n25c<*2*> buttons<*2*> |
|---|
| 2309 | .r door$raw_n19 door |
|---|
| 2310 | - =door$raw_n19 |
|---|
| 2311 | .latch _n29d door |
|---|
| 2312 | .r location$raw_n17<0> location<0> |
|---|
| 2313 | .def 0 |
|---|
| 2314 | 1 1 |
|---|
| 2315 | .r location$raw_n17<1> location<1> |
|---|
| 2316 | .def 0 |
|---|
| 2317 | 1 1 |
|---|
| 2318 | .latch _n2b4<0> location<0> |
|---|
| 2319 | .latch _n2b4<1> location<1> |
|---|
| 2320 | .r direction$raw_n18 direction |
|---|
| 2321 | - =direction$raw_n18 |
|---|
| 2322 | .latch _n2b6 direction |
|---|
| 2323 | .r open_next$raw_n16 open_next |
|---|
| 2324 | 0 0 |
|---|
| 2325 | 1 1 |
|---|
| 2326 | .latch _n2cd open_next |
|---|
| 2327 | # quasi-continuous assignment |
|---|
| 2328 | .end |
|---|
| 2329 | |
|---|
| 2330 | |
|---|
| 2331 | .model main_control |
|---|
| 2332 | # I/O ports |
|---|
| 2333 | .inputs init2<0> init2<1> |
|---|
| 2334 | .inputs init1<0> init1<1> |
|---|
| 2335 | .outputs stop_next<1> stop_next<2> |
|---|
| 2336 | .inputs dec<1> dec<2> |
|---|
| 2337 | .inputs inc<1> inc<2> |
|---|
| 2338 | .outputs continue<1> continue<2> |
|---|
| 2339 | |
|---|
| 2340 | .mv down_floor_buttons<*0*> 2 ON OFF |
|---|
| 2341 | .mv down_floor_buttons<*1*> 2 ON OFF |
|---|
| 2342 | .mv down_floor_buttons<*2*> 2 ON OFF |
|---|
| 2343 | .mv direction<*1*> 2 UP DOWN |
|---|
| 2344 | .mv direction<*2*> 2 UP DOWN |
|---|
| 2345 | .mv up_floor_buttons<*0*> 2 ON OFF |
|---|
| 2346 | .mv up_floor_buttons<*1*> 2 ON OFF |
|---|
| 2347 | .mv up_floor_buttons<*2*> 2 ON OFF |
|---|
| 2348 | # locations [1] = init1 |
|---|
| 2349 | .names _n2d0<0> |
|---|
| 2350 | 1 |
|---|
| 2351 | .names _n2d0<1> |
|---|
| 2352 | 0 |
|---|
| 2353 | .names _n2d1<0> |
|---|
| 2354 | 1 |
|---|
| 2355 | .names _n2d1<1> |
|---|
| 2356 | 0 |
|---|
| 2357 | .names _n2d1<0> _n2d0<0> _n2d3<0> |
|---|
| 2358 | .def 0 |
|---|
| 2359 | 0 1 1 |
|---|
| 2360 | 1 0 1 |
|---|
| 2361 | .names _n2d1<1> _n2d0<1> _n2d3<1> |
|---|
| 2362 | .def 0 |
|---|
| 2363 | 0 1 1 |
|---|
| 2364 | 1 0 1 |
|---|
| 2365 | .names _n2d3<0> _n2d3<1> _n2d4 |
|---|
| 2366 | .def 1 |
|---|
| 2367 | 0 0 0 |
|---|
| 2368 | .names _n2d4 _n2d2 |
|---|
| 2369 | 0 1 |
|---|
| 2370 | 1 0 |
|---|
| 2371 | .names _n2d5<0> |
|---|
| 2372 | 0 |
|---|
| 2373 | .names _n2d5<1> |
|---|
| 2374 | 0 |
|---|
| 2375 | .names _n2cf<0> _n2d5<0> _n2d2 locations$raw_n2ce<*1*><0> |
|---|
| 2376 | 0 - 1 0 |
|---|
| 2377 | 1 - 1 1 |
|---|
| 2378 | - 0 0 0 |
|---|
| 2379 | - 1 0 1 |
|---|
| 2380 | .names _n2cf<1> _n2d5<1> _n2d2 locations$raw_n2ce<*1*><1> |
|---|
| 2381 | 0 - 1 0 |
|---|
| 2382 | 1 - 1 1 |
|---|
| 2383 | - 0 0 0 |
|---|
| 2384 | - 1 0 1 |
|---|
| 2385 | .names _n2d8<0> |
|---|
| 2386 | 0 |
|---|
| 2387 | .names _n2d8<1> |
|---|
| 2388 | 1 |
|---|
| 2389 | .names _n2d8<0> _n2d0<0> _n2da<0> |
|---|
| 2390 | .def 0 |
|---|
| 2391 | 0 1 1 |
|---|
| 2392 | 1 0 1 |
|---|
| 2393 | .names _n2d8<1> _n2d0<1> _n2da<1> |
|---|
| 2394 | .def 0 |
|---|
| 2395 | 0 1 1 |
|---|
| 2396 | 1 0 1 |
|---|
| 2397 | .names _n2da<0> _n2da<1> _n2db |
|---|
| 2398 | .def 1 |
|---|
| 2399 | 0 0 0 |
|---|
| 2400 | .names _n2db _n2d9 |
|---|
| 2401 | 0 1 |
|---|
| 2402 | 1 0 |
|---|
| 2403 | .names _n2dc<0> |
|---|
| 2404 | 0 |
|---|
| 2405 | .names _n2dc<1> |
|---|
| 2406 | 0 |
|---|
| 2407 | .names _n2cf<0> _n2dc<0> _n2d9 locations$raw_n2ce<*2*><0> |
|---|
| 2408 | 0 - 1 0 |
|---|
| 2409 | 1 - 1 1 |
|---|
| 2410 | - 0 0 0 |
|---|
| 2411 | - 1 0 1 |
|---|
| 2412 | .names _n2cf<1> _n2dc<1> _n2d9 locations$raw_n2ce<*2*><1> |
|---|
| 2413 | 0 - 1 0 |
|---|
| 2414 | 1 - 1 1 |
|---|
| 2415 | - 0 0 0 |
|---|
| 2416 | - 1 0 1 |
|---|
| 2417 | .names init1<0> _n2cf<0> |
|---|
| 2418 | - =init1<0> |
|---|
| 2419 | .names init1<1> _n2cf<1> |
|---|
| 2420 | - =init1<1> |
|---|
| 2421 | # locations [2] = init2 |
|---|
| 2422 | .names _n2e1<0> |
|---|
| 2423 | 0 |
|---|
| 2424 | .names _n2e1<1> |
|---|
| 2425 | 1 |
|---|
| 2426 | .names _n2e2<0> |
|---|
| 2427 | 1 |
|---|
| 2428 | .names _n2e2<1> |
|---|
| 2429 | 0 |
|---|
| 2430 | .names _n2e2<0> _n2e1<0> _n2e4<0> |
|---|
| 2431 | .def 0 |
|---|
| 2432 | 0 1 1 |
|---|
| 2433 | 1 0 1 |
|---|
| 2434 | .names _n2e2<1> _n2e1<1> _n2e4<1> |
|---|
| 2435 | .def 0 |
|---|
| 2436 | 0 1 1 |
|---|
| 2437 | 1 0 1 |
|---|
| 2438 | .names _n2e4<0> _n2e4<1> _n2e5 |
|---|
| 2439 | .def 1 |
|---|
| 2440 | 0 0 0 |
|---|
| 2441 | .names _n2e5 _n2e3 |
|---|
| 2442 | 0 1 |
|---|
| 2443 | 1 0 |
|---|
| 2444 | .names _n2e0<0> locations$raw_n2ce<*1*><0> _n2e3 locations$raw_n2df<*1*><0> |
|---|
| 2445 | 0 - 1 0 |
|---|
| 2446 | 1 - 1 1 |
|---|
| 2447 | - 0 0 0 |
|---|
| 2448 | - 1 0 1 |
|---|
| 2449 | .names _n2e0<1> locations$raw_n2ce<*1*><1> _n2e3 locations$raw_n2df<*1*><1> |
|---|
| 2450 | 0 - 1 0 |
|---|
| 2451 | 1 - 1 1 |
|---|
| 2452 | - 0 0 0 |
|---|
| 2453 | - 1 0 1 |
|---|
| 2454 | .names _n2e8<0> |
|---|
| 2455 | 0 |
|---|
| 2456 | .names _n2e8<1> |
|---|
| 2457 | 1 |
|---|
| 2458 | .names _n2e8<0> _n2e1<0> _n2ea<0> |
|---|
| 2459 | .def 0 |
|---|
| 2460 | 0 1 1 |
|---|
| 2461 | 1 0 1 |
|---|
| 2462 | .names _n2e8<1> _n2e1<1> _n2ea<1> |
|---|
| 2463 | .def 0 |
|---|
| 2464 | 0 1 1 |
|---|
| 2465 | 1 0 1 |
|---|
| 2466 | .names _n2ea<0> _n2ea<1> _n2eb |
|---|
| 2467 | .def 1 |
|---|
| 2468 | 0 0 0 |
|---|
| 2469 | .names _n2eb _n2e9 |
|---|
| 2470 | 0 1 |
|---|
| 2471 | 1 0 |
|---|
| 2472 | .names _n2e0<0> locations$raw_n2ce<*2*><0> _n2e9 locations$raw_n2df<*2*><0> |
|---|
| 2473 | 0 - 1 0 |
|---|
| 2474 | 1 - 1 1 |
|---|
| 2475 | - 0 0 0 |
|---|
| 2476 | - 1 0 1 |
|---|
| 2477 | .names _n2e0<1> locations$raw_n2ce<*2*><1> _n2e9 locations$raw_n2df<*2*><1> |
|---|
| 2478 | 0 - 1 0 |
|---|
| 2479 | 1 - 1 1 |
|---|
| 2480 | - 0 0 0 |
|---|
| 2481 | - 1 0 1 |
|---|
| 2482 | .names init2<0> _n2e0<0> |
|---|
| 2483 | - =init2<0> |
|---|
| 2484 | .names init2<1> _n2e0<1> |
|---|
| 2485 | - =init2<1> |
|---|
| 2486 | # up_floor_buttons [0] = 1 |
|---|
| 2487 | .mv up_floor_buttons$raw_n2ee<*0*> 2 ON OFF |
|---|
| 2488 | .mv up_floor_buttons$raw_n2ee<*1*> 2 ON OFF |
|---|
| 2489 | .mv up_floor_buttons$raw_n2ee<*2*> 2 ON OFF |
|---|
| 2490 | .mv _n2ef 2 ON OFF |
|---|
| 2491 | .names _n2f0<0> |
|---|
| 2492 | 0 |
|---|
| 2493 | .names _n2f0<1> |
|---|
| 2494 | 0 |
|---|
| 2495 | .names _n2f1<0> |
|---|
| 2496 | 0 |
|---|
| 2497 | .names _n2f1<1> |
|---|
| 2498 | 0 |
|---|
| 2499 | .names _n2f1<0> _n2f0<0> _n2f3<0> |
|---|
| 2500 | .def 0 |
|---|
| 2501 | 0 1 1 |
|---|
| 2502 | 1 0 1 |
|---|
| 2503 | .names _n2f1<1> _n2f0<1> _n2f3<1> |
|---|
| 2504 | .def 0 |
|---|
| 2505 | 0 1 1 |
|---|
| 2506 | 1 0 1 |
|---|
| 2507 | .names _n2f3<0> _n2f3<1> _n2f4 |
|---|
| 2508 | .def 1 |
|---|
| 2509 | 0 0 0 |
|---|
| 2510 | .names _n2f4 _n2f2 |
|---|
| 2511 | 0 1 |
|---|
| 2512 | 1 0 |
|---|
| 2513 | .mv _n2f5 2 ON OFF |
|---|
| 2514 | .names _n2f5 |
|---|
| 2515 | ON |
|---|
| 2516 | .names _n2ef _n2f5 _n2f2 up_floor_buttons$raw_n2ee<*0*> |
|---|
| 2517 | - - 0 =_n2f5 |
|---|
| 2518 | - - 1 =_n2ef |
|---|
| 2519 | .names _n2f6<0> |
|---|
| 2520 | 1 |
|---|
| 2521 | .names _n2f6<1> |
|---|
| 2522 | 0 |
|---|
| 2523 | .names _n2f6<0> _n2f0<0> _n2f8<0> |
|---|
| 2524 | .def 0 |
|---|
| 2525 | 0 1 1 |
|---|
| 2526 | 1 0 1 |
|---|
| 2527 | .names _n2f6<1> _n2f0<1> _n2f8<1> |
|---|
| 2528 | .def 0 |
|---|
| 2529 | 0 1 1 |
|---|
| 2530 | 1 0 1 |
|---|
| 2531 | .names _n2f8<0> _n2f8<1> _n2f9 |
|---|
| 2532 | .def 1 |
|---|
| 2533 | 0 0 0 |
|---|
| 2534 | .names _n2f9 _n2f7 |
|---|
| 2535 | 0 1 |
|---|
| 2536 | 1 0 |
|---|
| 2537 | .mv _n2fa 2 ON OFF |
|---|
| 2538 | .names _n2fa |
|---|
| 2539 | ON |
|---|
| 2540 | .names _n2ef _n2fa _n2f7 up_floor_buttons$raw_n2ee<*1*> |
|---|
| 2541 | - - 0 =_n2fa |
|---|
| 2542 | - - 1 =_n2ef |
|---|
| 2543 | .names _n2fb<0> |
|---|
| 2544 | 0 |
|---|
| 2545 | .names _n2fb<1> |
|---|
| 2546 | 1 |
|---|
| 2547 | .names _n2fb<0> _n2f0<0> _n2fd<0> |
|---|
| 2548 | .def 0 |
|---|
| 2549 | 0 1 1 |
|---|
| 2550 | 1 0 1 |
|---|
| 2551 | .names _n2fb<1> _n2f0<1> _n2fd<1> |
|---|
| 2552 | .def 0 |
|---|
| 2553 | 0 1 1 |
|---|
| 2554 | 1 0 1 |
|---|
| 2555 | .names _n2fd<0> _n2fd<1> _n2fe |
|---|
| 2556 | .def 1 |
|---|
| 2557 | 0 0 0 |
|---|
| 2558 | .names _n2fe _n2fc |
|---|
| 2559 | 0 1 |
|---|
| 2560 | 1 0 |
|---|
| 2561 | .mv _n2ff 2 ON OFF |
|---|
| 2562 | .names _n2ff |
|---|
| 2563 | ON |
|---|
| 2564 | .names _n2ef _n2ff _n2fc up_floor_buttons$raw_n2ee<*2*> |
|---|
| 2565 | - - 0 =_n2ff |
|---|
| 2566 | - - 1 =_n2ef |
|---|
| 2567 | .names _n2ef |
|---|
| 2568 | OFF |
|---|
| 2569 | # up_floor_buttons [1] = 1 |
|---|
| 2570 | .mv up_floor_buttons$raw_n300<*0*> 2 ON OFF |
|---|
| 2571 | .mv up_floor_buttons$raw_n300<*1*> 2 ON OFF |
|---|
| 2572 | .mv up_floor_buttons$raw_n300<*2*> 2 ON OFF |
|---|
| 2573 | .mv _n301 2 ON OFF |
|---|
| 2574 | .names _n302<0> |
|---|
| 2575 | 1 |
|---|
| 2576 | .names _n302<1> |
|---|
| 2577 | 0 |
|---|
| 2578 | .names _n303<0> |
|---|
| 2579 | 0 |
|---|
| 2580 | .names _n303<1> |
|---|
| 2581 | 0 |
|---|
| 2582 | .names _n303<0> _n302<0> _n305<0> |
|---|
| 2583 | .def 0 |
|---|
| 2584 | 0 1 1 |
|---|
| 2585 | 1 0 1 |
|---|
| 2586 | .names _n303<1> _n302<1> _n305<1> |
|---|
| 2587 | .def 0 |
|---|
| 2588 | 0 1 1 |
|---|
| 2589 | 1 0 1 |
|---|
| 2590 | .names _n305<0> _n305<1> _n306 |
|---|
| 2591 | .def 1 |
|---|
| 2592 | 0 0 0 |
|---|
| 2593 | .names _n306 _n304 |
|---|
| 2594 | 0 1 |
|---|
| 2595 | 1 0 |
|---|
| 2596 | .names _n301 up_floor_buttons$raw_n2ee<*0*> _n304 up_floor_buttons$raw_n300<*0*> |
|---|
| 2597 | - - 0 =up_floor_buttons$raw_n2ee<*0*> |
|---|
| 2598 | - - 1 =_n301 |
|---|
| 2599 | .names _n307<0> |
|---|
| 2600 | 1 |
|---|
| 2601 | .names _n307<1> |
|---|
| 2602 | 0 |
|---|
| 2603 | .names _n307<0> _n302<0> _n309<0> |
|---|
| 2604 | .def 0 |
|---|
| 2605 | 0 1 1 |
|---|
| 2606 | 1 0 1 |
|---|
| 2607 | .names _n307<1> _n302<1> _n309<1> |
|---|
| 2608 | .def 0 |
|---|
| 2609 | 0 1 1 |
|---|
| 2610 | 1 0 1 |
|---|
| 2611 | .names _n309<0> _n309<1> _n30a |
|---|
| 2612 | .def 1 |
|---|
| 2613 | 0 0 0 |
|---|
| 2614 | .names _n30a _n308 |
|---|
| 2615 | 0 1 |
|---|
| 2616 | 1 0 |
|---|
| 2617 | .names _n301 up_floor_buttons$raw_n2ee<*1*> _n308 up_floor_buttons$raw_n300<*1*> |
|---|
| 2618 | - - 0 =up_floor_buttons$raw_n2ee<*1*> |
|---|
| 2619 | - - 1 =_n301 |
|---|
| 2620 | .names _n30b<0> |
|---|
| 2621 | 0 |
|---|
| 2622 | .names _n30b<1> |
|---|
| 2623 | 1 |
|---|
| 2624 | .names _n30b<0> _n302<0> _n30d<0> |
|---|
| 2625 | .def 0 |
|---|
| 2626 | 0 1 1 |
|---|
| 2627 | 1 0 1 |
|---|
| 2628 | .names _n30b<1> _n302<1> _n30d<1> |
|---|
| 2629 | .def 0 |
|---|
| 2630 | 0 1 1 |
|---|
| 2631 | 1 0 1 |
|---|
| 2632 | .names _n30d<0> _n30d<1> _n30e |
|---|
| 2633 | .def 1 |
|---|
| 2634 | 0 0 0 |
|---|
| 2635 | .names _n30e _n30c |
|---|
| 2636 | 0 1 |
|---|
| 2637 | 1 0 |
|---|
| 2638 | .names _n301 up_floor_buttons$raw_n2ee<*2*> _n30c up_floor_buttons$raw_n300<*2*> |
|---|
| 2639 | - - 0 =up_floor_buttons$raw_n2ee<*2*> |
|---|
| 2640 | - - 1 =_n301 |
|---|
| 2641 | .names _n301 |
|---|
| 2642 | OFF |
|---|
| 2643 | # up_floor_buttons [2] = 1 |
|---|
| 2644 | .mv up_floor_buttons$raw_n30f<*0*> 2 ON OFF |
|---|
| 2645 | .mv up_floor_buttons$raw_n30f<*1*> 2 ON OFF |
|---|
| 2646 | .mv up_floor_buttons$raw_n30f<*2*> 2 ON OFF |
|---|
| 2647 | .mv _n310 2 ON OFF |
|---|
| 2648 | .names _n311<0> |
|---|
| 2649 | 0 |
|---|
| 2650 | .names _n311<1> |
|---|
| 2651 | 1 |
|---|
| 2652 | .names _n312<0> |
|---|
| 2653 | 0 |
|---|
| 2654 | .names _n312<1> |
|---|
| 2655 | 0 |
|---|
| 2656 | .names _n312<0> _n311<0> _n314<0> |
|---|
| 2657 | .def 0 |
|---|
| 2658 | 0 1 1 |
|---|
| 2659 | 1 0 1 |
|---|
| 2660 | .names _n312<1> _n311<1> _n314<1> |
|---|
| 2661 | .def 0 |
|---|
| 2662 | 0 1 1 |
|---|
| 2663 | 1 0 1 |
|---|
| 2664 | .names _n314<0> _n314<1> _n315 |
|---|
| 2665 | .def 1 |
|---|
| 2666 | 0 0 0 |
|---|
| 2667 | .names _n315 _n313 |
|---|
| 2668 | 0 1 |
|---|
| 2669 | 1 0 |
|---|
| 2670 | .names _n310 up_floor_buttons$raw_n300<*0*> _n313 up_floor_buttons$raw_n30f<*0*> |
|---|
| 2671 | - - 0 =up_floor_buttons$raw_n300<*0*> |
|---|
| 2672 | - - 1 =_n310 |
|---|
| 2673 | .names _n316<0> |
|---|
| 2674 | 1 |
|---|
| 2675 | .names _n316<1> |
|---|
| 2676 | 0 |
|---|
| 2677 | .names _n316<0> _n311<0> _n318<0> |
|---|
| 2678 | .def 0 |
|---|
| 2679 | 0 1 1 |
|---|
| 2680 | 1 0 1 |
|---|
| 2681 | .names _n316<1> _n311<1> _n318<1> |
|---|
| 2682 | .def 0 |
|---|
| 2683 | 0 1 1 |
|---|
| 2684 | 1 0 1 |
|---|
| 2685 | .names _n318<0> _n318<1> _n319 |
|---|
| 2686 | .def 1 |
|---|
| 2687 | 0 0 0 |
|---|
| 2688 | .names _n319 _n317 |
|---|
| 2689 | 0 1 |
|---|
| 2690 | 1 0 |
|---|
| 2691 | .names _n310 up_floor_buttons$raw_n300<*1*> _n317 up_floor_buttons$raw_n30f<*1*> |
|---|
| 2692 | - - 0 =up_floor_buttons$raw_n300<*1*> |
|---|
| 2693 | - - 1 =_n310 |
|---|
| 2694 | .names _n31a<0> |
|---|
| 2695 | 0 |
|---|
| 2696 | .names _n31a<1> |
|---|
| 2697 | 1 |
|---|
| 2698 | .names _n31a<0> _n311<0> _n31c<0> |
|---|
| 2699 | .def 0 |
|---|
| 2700 | 0 1 1 |
|---|
| 2701 | 1 0 1 |
|---|
| 2702 | .names _n31a<1> _n311<1> _n31c<1> |
|---|
| 2703 | .def 0 |
|---|
| 2704 | 0 1 1 |
|---|
| 2705 | 1 0 1 |
|---|
| 2706 | .names _n31c<0> _n31c<1> _n31d |
|---|
| 2707 | .def 1 |
|---|
| 2708 | 0 0 0 |
|---|
| 2709 | .names _n31d _n31b |
|---|
| 2710 | 0 1 |
|---|
| 2711 | 1 0 |
|---|
| 2712 | .names _n310 up_floor_buttons$raw_n300<*2*> _n31b up_floor_buttons$raw_n30f<*2*> |
|---|
| 2713 | - - 0 =up_floor_buttons$raw_n300<*2*> |
|---|
| 2714 | - - 1 =_n310 |
|---|
| 2715 | .names _n310 |
|---|
| 2716 | OFF |
|---|
| 2717 | # down_floor_buttons [0] = 1 |
|---|
| 2718 | .mv down_floor_buttons$raw_n31e<*0*> 2 ON OFF |
|---|
| 2719 | .mv down_floor_buttons$raw_n31e<*1*> 2 ON OFF |
|---|
| 2720 | .mv down_floor_buttons$raw_n31e<*2*> 2 ON OFF |
|---|
| 2721 | .mv _n31f 2 ON OFF |
|---|
| 2722 | .names _n320<0> |
|---|
| 2723 | 0 |
|---|
| 2724 | .names _n320<1> |
|---|
| 2725 | 0 |
|---|
| 2726 | .names _n321<0> |
|---|
| 2727 | 0 |
|---|
| 2728 | .names _n321<1> |
|---|
| 2729 | 0 |
|---|
| 2730 | .names _n321<0> _n320<0> _n323<0> |
|---|
| 2731 | .def 0 |
|---|
| 2732 | 0 1 1 |
|---|
| 2733 | 1 0 1 |
|---|
| 2734 | .names _n321<1> _n320<1> _n323<1> |
|---|
| 2735 | .def 0 |
|---|
| 2736 | 0 1 1 |
|---|
| 2737 | 1 0 1 |
|---|
| 2738 | .names _n323<0> _n323<1> _n324 |
|---|
| 2739 | .def 1 |
|---|
| 2740 | 0 0 0 |
|---|
| 2741 | .names _n324 _n322 |
|---|
| 2742 | 0 1 |
|---|
| 2743 | 1 0 |
|---|
| 2744 | .mv _n325 2 ON OFF |
|---|
| 2745 | .names _n325 |
|---|
| 2746 | ON |
|---|
| 2747 | .names _n31f _n325 _n322 down_floor_buttons$raw_n31e<*0*> |
|---|
| 2748 | - - 0 =_n325 |
|---|
| 2749 | - - 1 =_n31f |
|---|
| 2750 | .names _n326<0> |
|---|
| 2751 | 1 |
|---|
| 2752 | .names _n326<1> |
|---|
| 2753 | 0 |
|---|
| 2754 | .names _n326<0> _n320<0> _n328<0> |
|---|
| 2755 | .def 0 |
|---|
| 2756 | 0 1 1 |
|---|
| 2757 | 1 0 1 |
|---|
| 2758 | .names _n326<1> _n320<1> _n328<1> |
|---|
| 2759 | .def 0 |
|---|
| 2760 | 0 1 1 |
|---|
| 2761 | 1 0 1 |
|---|
| 2762 | .names _n328<0> _n328<1> _n329 |
|---|
| 2763 | .def 1 |
|---|
| 2764 | 0 0 0 |
|---|
| 2765 | .names _n329 _n327 |
|---|
| 2766 | 0 1 |
|---|
| 2767 | 1 0 |
|---|
| 2768 | .mv _n32a 2 ON OFF |
|---|
| 2769 | .names _n32a |
|---|
| 2770 | ON |
|---|
| 2771 | .names _n31f _n32a _n327 down_floor_buttons$raw_n31e<*1*> |
|---|
| 2772 | - - 0 =_n32a |
|---|
| 2773 | - - 1 =_n31f |
|---|
| 2774 | .names _n32b<0> |
|---|
| 2775 | 0 |
|---|
| 2776 | .names _n32b<1> |
|---|
| 2777 | 1 |
|---|
| 2778 | .names _n32b<0> _n320<0> _n32d<0> |
|---|
| 2779 | .def 0 |
|---|
| 2780 | 0 1 1 |
|---|
| 2781 | 1 0 1 |
|---|
| 2782 | .names _n32b<1> _n320<1> _n32d<1> |
|---|
| 2783 | .def 0 |
|---|
| 2784 | 0 1 1 |
|---|
| 2785 | 1 0 1 |
|---|
| 2786 | .names _n32d<0> _n32d<1> _n32e |
|---|
| 2787 | .def 1 |
|---|
| 2788 | 0 0 0 |
|---|
| 2789 | .names _n32e _n32c |
|---|
| 2790 | 0 1 |
|---|
| 2791 | 1 0 |
|---|
| 2792 | .mv _n32f 2 ON OFF |
|---|
| 2793 | .names _n32f |
|---|
| 2794 | ON |
|---|
| 2795 | .names _n31f _n32f _n32c down_floor_buttons$raw_n31e<*2*> |
|---|
| 2796 | - - 0 =_n32f |
|---|
| 2797 | - - 1 =_n31f |
|---|
| 2798 | .names _n31f |
|---|
| 2799 | OFF |
|---|
| 2800 | # down_floor_buttons [1] = 1 |
|---|
| 2801 | .mv down_floor_buttons$raw_n330<*0*> 2 ON OFF |
|---|
| 2802 | .mv down_floor_buttons$raw_n330<*1*> 2 ON OFF |
|---|
| 2803 | .mv down_floor_buttons$raw_n330<*2*> 2 ON OFF |
|---|
| 2804 | .mv _n331 2 ON OFF |
|---|
| 2805 | .names _n332<0> |
|---|
| 2806 | 1 |
|---|
| 2807 | .names _n332<1> |
|---|
| 2808 | 0 |
|---|
| 2809 | .names _n333<0> |
|---|
| 2810 | 0 |
|---|
| 2811 | .names _n333<1> |
|---|
| 2812 | 0 |
|---|
| 2813 | .names _n333<0> _n332<0> _n335<0> |
|---|
| 2814 | .def 0 |
|---|
| 2815 | 0 1 1 |
|---|
| 2816 | 1 0 1 |
|---|
| 2817 | .names _n333<1> _n332<1> _n335<1> |
|---|
| 2818 | .def 0 |
|---|
| 2819 | 0 1 1 |
|---|
| 2820 | 1 0 1 |
|---|
| 2821 | .names _n335<0> _n335<1> _n336 |
|---|
| 2822 | .def 1 |
|---|
| 2823 | 0 0 0 |
|---|
| 2824 | .names _n336 _n334 |
|---|
| 2825 | 0 1 |
|---|
| 2826 | 1 0 |
|---|
| 2827 | .names _n331 down_floor_buttons$raw_n31e<*0*> _n334 down_floor_buttons$raw_n330<*0*> |
|---|
| 2828 | - - 0 =down_floor_buttons$raw_n31e<*0*> |
|---|
| 2829 | - - 1 =_n331 |
|---|
| 2830 | .names _n337<0> |
|---|
| 2831 | 1 |
|---|
| 2832 | .names _n337<1> |
|---|
| 2833 | 0 |
|---|
| 2834 | .names _n337<0> _n332<0> _n339<0> |
|---|
| 2835 | .def 0 |
|---|
| 2836 | 0 1 1 |
|---|
| 2837 | 1 0 1 |
|---|
| 2838 | .names _n337<1> _n332<1> _n339<1> |
|---|
| 2839 | .def 0 |
|---|
| 2840 | 0 1 1 |
|---|
| 2841 | 1 0 1 |
|---|
| 2842 | .names _n339<0> _n339<1> _n33a |
|---|
| 2843 | .def 1 |
|---|
| 2844 | 0 0 0 |
|---|
| 2845 | .names _n33a _n338 |
|---|
| 2846 | 0 1 |
|---|
| 2847 | 1 0 |
|---|
| 2848 | .names _n331 down_floor_buttons$raw_n31e<*1*> _n338 down_floor_buttons$raw_n330<*1*> |
|---|
| 2849 | - - 0 =down_floor_buttons$raw_n31e<*1*> |
|---|
| 2850 | - - 1 =_n331 |
|---|
| 2851 | .names _n33b<0> |
|---|
| 2852 | 0 |
|---|
| 2853 | .names _n33b<1> |
|---|
| 2854 | 1 |
|---|
| 2855 | .names _n33b<0> _n332<0> _n33d<0> |
|---|
| 2856 | .def 0 |
|---|
| 2857 | 0 1 1 |
|---|
| 2858 | 1 0 1 |
|---|
| 2859 | .names _n33b<1> _n332<1> _n33d<1> |
|---|
| 2860 | .def 0 |
|---|
| 2861 | 0 1 1 |
|---|
| 2862 | 1 0 1 |
|---|
| 2863 | .names _n33d<0> _n33d<1> _n33e |
|---|
| 2864 | .def 1 |
|---|
| 2865 | 0 0 0 |
|---|
| 2866 | .names _n33e _n33c |
|---|
| 2867 | 0 1 |
|---|
| 2868 | 1 0 |
|---|
| 2869 | .names _n331 down_floor_buttons$raw_n31e<*2*> _n33c down_floor_buttons$raw_n330<*2*> |
|---|
| 2870 | - - 0 =down_floor_buttons$raw_n31e<*2*> |
|---|
| 2871 | - - 1 =_n331 |
|---|
| 2872 | .names _n331 |
|---|
| 2873 | OFF |
|---|
| 2874 | # down_floor_buttons [2] = 1 |
|---|
| 2875 | .mv down_floor_buttons$raw_n33f<*0*> 2 ON OFF |
|---|
| 2876 | .mv down_floor_buttons$raw_n33f<*1*> 2 ON OFF |
|---|
| 2877 | .mv down_floor_buttons$raw_n33f<*2*> 2 ON OFF |
|---|
| 2878 | .mv _n340 2 ON OFF |
|---|
| 2879 | .names _n341<0> |
|---|
| 2880 | 0 |
|---|
| 2881 | .names _n341<1> |
|---|
| 2882 | 1 |
|---|
| 2883 | .names _n342<0> |
|---|
| 2884 | 0 |
|---|
| 2885 | .names _n342<1> |
|---|
| 2886 | 0 |
|---|
| 2887 | .names _n342<0> _n341<0> _n344<0> |
|---|
| 2888 | .def 0 |
|---|
| 2889 | 0 1 1 |
|---|
| 2890 | 1 0 1 |
|---|
| 2891 | .names _n342<1> _n341<1> _n344<1> |
|---|
| 2892 | .def 0 |
|---|
| 2893 | 0 1 1 |
|---|
| 2894 | 1 0 1 |
|---|
| 2895 | .names _n344<0> _n344<1> _n345 |
|---|
| 2896 | .def 1 |
|---|
| 2897 | 0 0 0 |
|---|
| 2898 | .names _n345 _n343 |
|---|
| 2899 | 0 1 |
|---|
| 2900 | 1 0 |
|---|
| 2901 | .names _n340 down_floor_buttons$raw_n330<*0*> _n343 down_floor_buttons$raw_n33f<*0*> |
|---|
| 2902 | - - 0 =down_floor_buttons$raw_n330<*0*> |
|---|
| 2903 | - - 1 =_n340 |
|---|
| 2904 | .names _n346<0> |
|---|
| 2905 | 1 |
|---|
| 2906 | .names _n346<1> |
|---|
| 2907 | 0 |
|---|
| 2908 | .names _n346<0> _n341<0> _n348<0> |
|---|
| 2909 | .def 0 |
|---|
| 2910 | 0 1 1 |
|---|
| 2911 | 1 0 1 |
|---|
| 2912 | .names _n346<1> _n341<1> _n348<1> |
|---|
| 2913 | .def 0 |
|---|
| 2914 | 0 1 1 |
|---|
| 2915 | 1 0 1 |
|---|
| 2916 | .names _n348<0> _n348<1> _n349 |
|---|
| 2917 | .def 1 |
|---|
| 2918 | 0 0 0 |
|---|
| 2919 | .names _n349 _n347 |
|---|
| 2920 | 0 1 |
|---|
| 2921 | 1 0 |
|---|
| 2922 | .names _n340 down_floor_buttons$raw_n330<*1*> _n347 down_floor_buttons$raw_n33f<*1*> |
|---|
| 2923 | - - 0 =down_floor_buttons$raw_n330<*1*> |
|---|
| 2924 | - - 1 =_n340 |
|---|
| 2925 | .names _n34a<0> |
|---|
| 2926 | 0 |
|---|
| 2927 | .names _n34a<1> |
|---|
| 2928 | 1 |
|---|
| 2929 | .names _n34a<0> _n341<0> _n34c<0> |
|---|
| 2930 | .def 0 |
|---|
| 2931 | 0 1 1 |
|---|
| 2932 | 1 0 1 |
|---|
| 2933 | .names _n34a<1> _n341<1> _n34c<1> |
|---|
| 2934 | .def 0 |
|---|
| 2935 | 0 1 1 |
|---|
| 2936 | 1 0 1 |
|---|
| 2937 | .names _n34c<0> _n34c<1> _n34d |
|---|
| 2938 | .def 1 |
|---|
| 2939 | 0 0 0 |
|---|
| 2940 | .names _n34d _n34b |
|---|
| 2941 | 0 1 |
|---|
| 2942 | 1 0 |
|---|
| 2943 | .names _n340 down_floor_buttons$raw_n330<*2*> _n34b down_floor_buttons$raw_n33f<*2*> |
|---|
| 2944 | - - 0 =down_floor_buttons$raw_n330<*2*> |
|---|
| 2945 | - - 1 =_n340 |
|---|
| 2946 | .names _n340 |
|---|
| 2947 | OFF |
|---|
| 2948 | # direction [1] = 0 |
|---|
| 2949 | .mv direction$raw_n34e<*1*> 2 UP DOWN |
|---|
| 2950 | .mv direction$raw_n34e<*2*> 2 UP DOWN |
|---|
| 2951 | .mv _n34f 2 UP DOWN |
|---|
| 2952 | .names _n350<0> |
|---|
| 2953 | 1 |
|---|
| 2954 | .names _n350<1> |
|---|
| 2955 | 0 |
|---|
| 2956 | .names _n351<0> |
|---|
| 2957 | 1 |
|---|
| 2958 | .names _n351<1> |
|---|
| 2959 | 0 |
|---|
| 2960 | .names _n351<0> _n350<0> _n353<0> |
|---|
| 2961 | .def 0 |
|---|
| 2962 | 0 1 1 |
|---|
| 2963 | 1 0 1 |
|---|
| 2964 | .names _n351<1> _n350<1> _n353<1> |
|---|
| 2965 | .def 0 |
|---|
| 2966 | 0 1 1 |
|---|
| 2967 | 1 0 1 |
|---|
| 2968 | .names _n353<0> _n353<1> _n354 |
|---|
| 2969 | .def 1 |
|---|
| 2970 | 0 0 0 |
|---|
| 2971 | .names _n354 _n352 |
|---|
| 2972 | 0 1 |
|---|
| 2973 | 1 0 |
|---|
| 2974 | .mv _n355 2 UP DOWN |
|---|
| 2975 | .names _n355 |
|---|
| 2976 | UP |
|---|
| 2977 | .names _n34f _n355 _n352 direction$raw_n34e<*1*> |
|---|
| 2978 | - - 0 =_n355 |
|---|
| 2979 | - - 1 =_n34f |
|---|
| 2980 | .names _n356<0> |
|---|
| 2981 | 0 |
|---|
| 2982 | .names _n356<1> |
|---|
| 2983 | 1 |
|---|
| 2984 | .names _n356<0> _n350<0> _n358<0> |
|---|
| 2985 | .def 0 |
|---|
| 2986 | 0 1 1 |
|---|
| 2987 | 1 0 1 |
|---|
| 2988 | .names _n356<1> _n350<1> _n358<1> |
|---|
| 2989 | .def 0 |
|---|
| 2990 | 0 1 1 |
|---|
| 2991 | 1 0 1 |
|---|
| 2992 | .names _n358<0> _n358<1> _n359 |
|---|
| 2993 | .def 1 |
|---|
| 2994 | 0 0 0 |
|---|
| 2995 | .names _n359 _n357 |
|---|
| 2996 | 0 1 |
|---|
| 2997 | 1 0 |
|---|
| 2998 | .mv _n35a 2 UP DOWN |
|---|
| 2999 | .names _n35a |
|---|
| 3000 | UP |
|---|
| 3001 | .names _n34f _n35a _n357 direction$raw_n34e<*2*> |
|---|
| 3002 | - - 0 =_n35a |
|---|
| 3003 | - - 1 =_n34f |
|---|
| 3004 | .names _n34f |
|---|
| 3005 | UP |
|---|
| 3006 | # direction [2] = 0 |
|---|
| 3007 | .mv direction$raw_n35b<*1*> 2 UP DOWN |
|---|
| 3008 | .mv direction$raw_n35b<*2*> 2 UP DOWN |
|---|
| 3009 | .mv _n35c 2 UP DOWN |
|---|
| 3010 | .names _n35d<0> |
|---|
| 3011 | 0 |
|---|
| 3012 | .names _n35d<1> |
|---|
| 3013 | 1 |
|---|
| 3014 | .names _n35e<0> |
|---|
| 3015 | 1 |
|---|
| 3016 | .names _n35e<1> |
|---|
| 3017 | 0 |
|---|
| 3018 | .names _n35e<0> _n35d<0> _n360<0> |
|---|
| 3019 | .def 0 |
|---|
| 3020 | 0 1 1 |
|---|
| 3021 | 1 0 1 |
|---|
| 3022 | .names _n35e<1> _n35d<1> _n360<1> |
|---|
| 3023 | .def 0 |
|---|
| 3024 | 0 1 1 |
|---|
| 3025 | 1 0 1 |
|---|
| 3026 | .names _n360<0> _n360<1> _n361 |
|---|
| 3027 | .def 1 |
|---|
| 3028 | 0 0 0 |
|---|
| 3029 | .names _n361 _n35f |
|---|
| 3030 | 0 1 |
|---|
| 3031 | 1 0 |
|---|
| 3032 | .names _n35c direction$raw_n34e<*1*> _n35f direction$raw_n35b<*1*> |
|---|
| 3033 | - - 0 =direction$raw_n34e<*1*> |
|---|
| 3034 | - - 1 =_n35c |
|---|
| 3035 | .names _n362<0> |
|---|
| 3036 | 0 |
|---|
| 3037 | .names _n362<1> |
|---|
| 3038 | 1 |
|---|
| 3039 | .names _n362<0> _n35d<0> _n364<0> |
|---|
| 3040 | .def 0 |
|---|
| 3041 | 0 1 1 |
|---|
| 3042 | 1 0 1 |
|---|
| 3043 | .names _n362<1> _n35d<1> _n364<1> |
|---|
| 3044 | .def 0 |
|---|
| 3045 | 0 1 1 |
|---|
| 3046 | 1 0 1 |
|---|
| 3047 | .names _n364<0> _n364<1> _n365 |
|---|
| 3048 | .def 1 |
|---|
| 3049 | 0 0 0 |
|---|
| 3050 | .names _n365 _n363 |
|---|
| 3051 | 0 1 |
|---|
| 3052 | 1 0 |
|---|
| 3053 | .names _n35c direction$raw_n34e<*2*> _n363 direction$raw_n35b<*2*> |
|---|
| 3054 | - - 0 =direction$raw_n34e<*2*> |
|---|
| 3055 | - - 1 =_n35c |
|---|
| 3056 | .names _n35c |
|---|
| 3057 | UP |
|---|
| 3058 | # non-blocking assignments for initial |
|---|
| 3059 | # assign buttons [0] = up_floor_buttons [0] == ON || down_floor_buttons [0] == ON |
|---|
| 3060 | .names _n368<0> |
|---|
| 3061 | 0 |
|---|
| 3062 | .names _n368<1> |
|---|
| 3063 | 0 |
|---|
| 3064 | .mv _n369 2 ON OFF |
|---|
| 3065 | .names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n368<1> _n368<0> _n369 |
|---|
| 3066 | - - - 0 0 =up_floor_buttons<*0*> |
|---|
| 3067 | - - - 0 1 =up_floor_buttons<*1*> |
|---|
| 3068 | - - - 1 0 =up_floor_buttons<*2*> |
|---|
| 3069 | - - - 1 1 ON |
|---|
| 3070 | .mv _n36a 2 ON OFF |
|---|
| 3071 | .names _n36a |
|---|
| 3072 | ON |
|---|
| 3073 | # up_floor_buttons [0] == 0 |
|---|
| 3074 | .names _n369 _n36a _n367 |
|---|
| 3075 | .def 0 |
|---|
| 3076 | - =_n369 1 |
|---|
| 3077 | .names _n36c<0> |
|---|
| 3078 | 0 |
|---|
| 3079 | .names _n36c<1> |
|---|
| 3080 | 0 |
|---|
| 3081 | .mv _n36d 2 ON OFF |
|---|
| 3082 | .names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n36c<1> _n36c<0> _n36d |
|---|
| 3083 | - - - 0 0 =down_floor_buttons<*0*> |
|---|
| 3084 | - - - 0 1 =down_floor_buttons<*1*> |
|---|
| 3085 | - - - 1 0 =down_floor_buttons<*2*> |
|---|
| 3086 | - - - 1 1 ON |
|---|
| 3087 | .mv _n36e 2 ON OFF |
|---|
| 3088 | .names _n36e |
|---|
| 3089 | ON |
|---|
| 3090 | # down_floor_buttons [0] == 0 |
|---|
| 3091 | .names _n36d _n36e _n36b |
|---|
| 3092 | .def 0 |
|---|
| 3093 | - =_n36d 1 |
|---|
| 3094 | # up_floor_buttons [0] == 0 || down_floor_buttons [0] == 0 |
|---|
| 3095 | .names _n367 _n36b _n36f |
|---|
| 3096 | .def 1 |
|---|
| 3097 | 0 0 0 |
|---|
| 3098 | .names _n36f buttons$raw_n366<0> |
|---|
| 3099 | - =_n36f |
|---|
| 3100 | .names _n370 |
|---|
| 3101 | 0 |
|---|
| 3102 | # assign buttons [1] = up_floor_buttons [1] == ON || down_floor_buttons [1] == ON |
|---|
| 3103 | .names _n373<0> |
|---|
| 3104 | 1 |
|---|
| 3105 | .names _n373<1> |
|---|
| 3106 | 0 |
|---|
| 3107 | .mv _n374 2 ON OFF |
|---|
| 3108 | .names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n373<1> _n373<0> _n374 |
|---|
| 3109 | - - - 0 0 =up_floor_buttons<*0*> |
|---|
| 3110 | - - - 0 1 =up_floor_buttons<*1*> |
|---|
| 3111 | - - - 1 0 =up_floor_buttons<*2*> |
|---|
| 3112 | - - - 1 1 ON |
|---|
| 3113 | .mv _n375 2 ON OFF |
|---|
| 3114 | .names _n375 |
|---|
| 3115 | ON |
|---|
| 3116 | # up_floor_buttons [1] == 0 |
|---|
| 3117 | .names _n374 _n375 _n372 |
|---|
| 3118 | .def 0 |
|---|
| 3119 | - =_n374 1 |
|---|
| 3120 | .names _n377<0> |
|---|
| 3121 | 1 |
|---|
| 3122 | .names _n377<1> |
|---|
| 3123 | 0 |
|---|
| 3124 | .mv _n378 2 ON OFF |
|---|
| 3125 | .names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n377<1> _n377<0> _n378 |
|---|
| 3126 | - - - 0 0 =down_floor_buttons<*0*> |
|---|
| 3127 | - - - 0 1 =down_floor_buttons<*1*> |
|---|
| 3128 | - - - 1 0 =down_floor_buttons<*2*> |
|---|
| 3129 | - - - 1 1 ON |
|---|
| 3130 | .mv _n379 2 ON OFF |
|---|
| 3131 | .names _n379 |
|---|
| 3132 | ON |
|---|
| 3133 | # down_floor_buttons [1] == 0 |
|---|
| 3134 | .names _n378 _n379 _n376 |
|---|
| 3135 | .def 0 |
|---|
| 3136 | - =_n378 1 |
|---|
| 3137 | # up_floor_buttons [1] == 0 || down_floor_buttons [1] == 0 |
|---|
| 3138 | .names _n372 _n376 _n37a |
|---|
| 3139 | .def 1 |
|---|
| 3140 | 0 0 0 |
|---|
| 3141 | .names _n37a buttons$raw_n371<1> |
|---|
| 3142 | - =_n37a |
|---|
| 3143 | .names _n37b |
|---|
| 3144 | 0 |
|---|
| 3145 | # assign buttons [2] = up_floor_buttons [2] == ON || down_floor_buttons [2] == ON |
|---|
| 3146 | .names _n37e<0> |
|---|
| 3147 | 0 |
|---|
| 3148 | .names _n37e<1> |
|---|
| 3149 | 1 |
|---|
| 3150 | .mv _n37f 2 ON OFF |
|---|
| 3151 | .names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n37e<1> _n37e<0> _n37f |
|---|
| 3152 | - - - 0 0 =up_floor_buttons<*0*> |
|---|
| 3153 | - - - 0 1 =up_floor_buttons<*1*> |
|---|
| 3154 | - - - 1 0 =up_floor_buttons<*2*> |
|---|
| 3155 | - - - 1 1 ON |
|---|
| 3156 | .mv _n380 2 ON OFF |
|---|
| 3157 | .names _n380 |
|---|
| 3158 | ON |
|---|
| 3159 | # up_floor_buttons [2] == 0 |
|---|
| 3160 | .names _n37f _n380 _n37d |
|---|
| 3161 | .def 0 |
|---|
| 3162 | - =_n37f 1 |
|---|
| 3163 | .names _n382<0> |
|---|
| 3164 | 0 |
|---|
| 3165 | .names _n382<1> |
|---|
| 3166 | 1 |
|---|
| 3167 | .mv _n383 2 ON OFF |
|---|
| 3168 | .names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n382<1> _n382<0> _n383 |
|---|
| 3169 | - - - 0 0 =down_floor_buttons<*0*> |
|---|
| 3170 | - - - 0 1 =down_floor_buttons<*1*> |
|---|
| 3171 | - - - 1 0 =down_floor_buttons<*2*> |
|---|
| 3172 | - - - 1 1 ON |
|---|
| 3173 | .mv _n384 2 ON OFF |
|---|
| 3174 | .names _n384 |
|---|
| 3175 | ON |
|---|
| 3176 | # down_floor_buttons [2] == 0 |
|---|
| 3177 | .names _n383 _n384 _n381 |
|---|
| 3178 | .def 0 |
|---|
| 3179 | - =_n383 1 |
|---|
| 3180 | # up_floor_buttons [2] == 0 || down_floor_buttons [2] == 0 |
|---|
| 3181 | .names _n37d _n381 _n385 |
|---|
| 3182 | .def 1 |
|---|
| 3183 | 0 0 0 |
|---|
| 3184 | .names _n385 buttons$raw_n37c<2> |
|---|
| 3185 | - =_n385 |
|---|
| 3186 | .names _n386 |
|---|
| 3187 | 0 |
|---|
| 3188 | # assign button_below [1] = ((locations [1] == 2) && (buttons [0] || buttons [1])) || (locations [1] == 1 && buttons [0]) |
|---|
| 3189 | .names _n389<0> |
|---|
| 3190 | 1 |
|---|
| 3191 | .names _n389<1> |
|---|
| 3192 | 0 |
|---|
| 3193 | .names locations<*1*><0> locations<*2*><0> _n389<1> _n389<0> _n38a<0> |
|---|
| 3194 | - - 0 0 0 |
|---|
| 3195 | - - 0 0 0 |
|---|
| 3196 | 0 - 0 1 0 |
|---|
| 3197 | 1 - 0 1 1 |
|---|
| 3198 | - 0 1 0 0 |
|---|
| 3199 | - 1 1 0 1 |
|---|
| 3200 | - - 1 1 0 |
|---|
| 3201 | - - 1 1 0 |
|---|
| 3202 | .names locations<*1*><1> locations<*2*><1> _n389<1> _n389<0> _n38a<1> |
|---|
| 3203 | - - 0 0 0 |
|---|
| 3204 | - - 0 0 0 |
|---|
| 3205 | 0 - 0 1 0 |
|---|
| 3206 | 1 - 0 1 1 |
|---|
| 3207 | - 0 1 0 0 |
|---|
| 3208 | - 1 1 0 1 |
|---|
| 3209 | - - 1 1 0 |
|---|
| 3210 | - - 1 1 0 |
|---|
| 3211 | .names _n38b<0> |
|---|
| 3212 | 0 |
|---|
| 3213 | .names _n38b<1> |
|---|
| 3214 | 1 |
|---|
| 3215 | # locations [1] == 2 |
|---|
| 3216 | .names _n38a<0> _n38b<0> _n38c<0> |
|---|
| 3217 | .def 0 |
|---|
| 3218 | 0 1 1 |
|---|
| 3219 | 1 0 1 |
|---|
| 3220 | .names _n38a<1> _n38b<1> _n38c<1> |
|---|
| 3221 | .def 0 |
|---|
| 3222 | 0 1 1 |
|---|
| 3223 | 1 0 1 |
|---|
| 3224 | .names _n38c<0> _n38c<1> _n38d |
|---|
| 3225 | .def 1 |
|---|
| 3226 | 0 0 0 |
|---|
| 3227 | .names _n38d _n388 |
|---|
| 3228 | 0 1 |
|---|
| 3229 | 1 0 |
|---|
| 3230 | # buttons [0] || buttons [1] |
|---|
| 3231 | .names buttons<0> buttons<1> _n38e<0> |
|---|
| 3232 | .def 1 |
|---|
| 3233 | 0 0 0 |
|---|
| 3234 | # (locations [1] == 2) && (buttons [0] || buttons [1]) |
|---|
| 3235 | .names _n388 _n38e<0> _n38f<0> |
|---|
| 3236 | .def 0 |
|---|
| 3237 | 1 1 1 |
|---|
| 3238 | .names _n390 |
|---|
| 3239 | 0 |
|---|
| 3240 | .names _n392<0> |
|---|
| 3241 | 1 |
|---|
| 3242 | .names _n392<1> |
|---|
| 3243 | 0 |
|---|
| 3244 | .names locations<*1*><0> locations<*2*><0> _n392<1> _n392<0> _n393<0> |
|---|
| 3245 | - - 0 0 0 |
|---|
| 3246 | - - 0 0 0 |
|---|
| 3247 | 0 - 0 1 0 |
|---|
| 3248 | 1 - 0 1 1 |
|---|
| 3249 | - 0 1 0 0 |
|---|
| 3250 | - 1 1 0 1 |
|---|
| 3251 | - - 1 1 0 |
|---|
| 3252 | - - 1 1 0 |
|---|
| 3253 | .names locations<*1*><1> locations<*2*><1> _n392<1> _n392<0> _n393<1> |
|---|
| 3254 | - - 0 0 0 |
|---|
| 3255 | - - 0 0 0 |
|---|
| 3256 | 0 - 0 1 0 |
|---|
| 3257 | 1 - 0 1 1 |
|---|
| 3258 | - 0 1 0 0 |
|---|
| 3259 | - 1 1 0 1 |
|---|
| 3260 | - - 1 1 0 |
|---|
| 3261 | - - 1 1 0 |
|---|
| 3262 | .names _n394<0> |
|---|
| 3263 | 1 |
|---|
| 3264 | .names _n394<1> |
|---|
| 3265 | 0 |
|---|
| 3266 | # locations [1] == 1 |
|---|
| 3267 | .names _n393<0> _n394<0> _n395<0> |
|---|
| 3268 | .def 0 |
|---|
| 3269 | 0 1 1 |
|---|
| 3270 | 1 0 1 |
|---|
| 3271 | .names _n393<1> _n394<1> _n395<1> |
|---|
| 3272 | .def 0 |
|---|
| 3273 | 0 1 1 |
|---|
| 3274 | 1 0 1 |
|---|
| 3275 | .names _n395<0> _n395<1> _n396 |
|---|
| 3276 | .def 1 |
|---|
| 3277 | 0 0 0 |
|---|
| 3278 | .names _n396 _n391 |
|---|
| 3279 | 0 1 |
|---|
| 3280 | 1 0 |
|---|
| 3281 | # locations [1] == 1 && buttons [0] |
|---|
| 3282 | .names _n391 buttons<0> _n397<0> |
|---|
| 3283 | .def 0 |
|---|
| 3284 | 1 1 1 |
|---|
| 3285 | .names _n398 |
|---|
| 3286 | 0 |
|---|
| 3287 | # ((locations [1] == 2) && (buttons [0] || buttons [1])) || (locations [1] == 1 && buttons [0]) |
|---|
| 3288 | .names _n38f<0> _n397<0> _n399<0> |
|---|
| 3289 | .def 1 |
|---|
| 3290 | 0 0 0 |
|---|
| 3291 | .names _n399<0> button_below$raw_n387<1> |
|---|
| 3292 | - =_n399<0> |
|---|
| 3293 | # assign button_above [1] = ((locations [1] == 0) && (buttons [2] || buttons [1])) || ((locations [1] == 1) && (buttons [2])) |
|---|
| 3294 | .names _n39c<0> |
|---|
| 3295 | 1 |
|---|
| 3296 | .names _n39c<1> |
|---|
| 3297 | 0 |
|---|
| 3298 | .names locations<*1*><0> locations<*2*><0> _n39c<1> _n39c<0> _n39d<0> |
|---|
| 3299 | - - 0 0 0 |
|---|
| 3300 | - - 0 0 0 |
|---|
| 3301 | 0 - 0 1 0 |
|---|
| 3302 | 1 - 0 1 1 |
|---|
| 3303 | - 0 1 0 0 |
|---|
| 3304 | - 1 1 0 1 |
|---|
| 3305 | - - 1 1 0 |
|---|
| 3306 | - - 1 1 0 |
|---|
| 3307 | .names locations<*1*><1> locations<*2*><1> _n39c<1> _n39c<0> _n39d<1> |
|---|
| 3308 | - - 0 0 0 |
|---|
| 3309 | - - 0 0 0 |
|---|
| 3310 | 0 - 0 1 0 |
|---|
| 3311 | 1 - 0 1 1 |
|---|
| 3312 | - 0 1 0 0 |
|---|
| 3313 | - 1 1 0 1 |
|---|
| 3314 | - - 1 1 0 |
|---|
| 3315 | - - 1 1 0 |
|---|
| 3316 | .names _n39e<0> |
|---|
| 3317 | 0 |
|---|
| 3318 | .names _n39e<1> |
|---|
| 3319 | 0 |
|---|
| 3320 | # locations [1] == 0 |
|---|
| 3321 | .names _n39d<0> _n39e<0> _n39f<0> |
|---|
| 3322 | .def 0 |
|---|
| 3323 | 0 1 1 |
|---|
| 3324 | 1 0 1 |
|---|
| 3325 | .names _n39d<1> _n39e<1> _n39f<1> |
|---|
| 3326 | .def 0 |
|---|
| 3327 | 0 1 1 |
|---|
| 3328 | 1 0 1 |
|---|
| 3329 | .names _n39f<0> _n39f<1> _n3a0 |
|---|
| 3330 | .def 1 |
|---|
| 3331 | 0 0 0 |
|---|
| 3332 | .names _n3a0 _n39b |
|---|
| 3333 | 0 1 |
|---|
| 3334 | 1 0 |
|---|
| 3335 | # buttons [2] || buttons [1] |
|---|
| 3336 | .names buttons<2> buttons<1> _n3a1<0> |
|---|
| 3337 | .def 1 |
|---|
| 3338 | 0 0 0 |
|---|
| 3339 | # (locations [1] == 0) && (buttons [2] || buttons [1]) |
|---|
| 3340 | .names _n39b _n3a1<0> _n3a2<0> |
|---|
| 3341 | .def 0 |
|---|
| 3342 | 1 1 1 |
|---|
| 3343 | .names _n3a3 |
|---|
| 3344 | 0 |
|---|
| 3345 | .names _n3a5<0> |
|---|
| 3346 | 1 |
|---|
| 3347 | .names _n3a5<1> |
|---|
| 3348 | 0 |
|---|
| 3349 | .names locations<*1*><0> locations<*2*><0> _n3a5<1> _n3a5<0> _n3a6<0> |
|---|
| 3350 | - - 0 0 0 |
|---|
| 3351 | - - 0 0 0 |
|---|
| 3352 | 0 - 0 1 0 |
|---|
| 3353 | 1 - 0 1 1 |
|---|
| 3354 | - 0 1 0 0 |
|---|
| 3355 | - 1 1 0 1 |
|---|
| 3356 | - - 1 1 0 |
|---|
| 3357 | - - 1 1 0 |
|---|
| 3358 | .names locations<*1*><1> locations<*2*><1> _n3a5<1> _n3a5<0> _n3a6<1> |
|---|
| 3359 | - - 0 0 0 |
|---|
| 3360 | - - 0 0 0 |
|---|
| 3361 | 0 - 0 1 0 |
|---|
| 3362 | 1 - 0 1 1 |
|---|
| 3363 | - 0 1 0 0 |
|---|
| 3364 | - 1 1 0 1 |
|---|
| 3365 | - - 1 1 0 |
|---|
| 3366 | - - 1 1 0 |
|---|
| 3367 | .names _n3a7<0> |
|---|
| 3368 | 1 |
|---|
| 3369 | .names _n3a7<1> |
|---|
| 3370 | 0 |
|---|
| 3371 | # locations [1] == 1 |
|---|
| 3372 | .names _n3a6<0> _n3a7<0> _n3a8<0> |
|---|
| 3373 | .def 0 |
|---|
| 3374 | 0 1 1 |
|---|
| 3375 | 1 0 1 |
|---|
| 3376 | .names _n3a6<1> _n3a7<1> _n3a8<1> |
|---|
| 3377 | .def 0 |
|---|
| 3378 | 0 1 1 |
|---|
| 3379 | 1 0 1 |
|---|
| 3380 | .names _n3a8<0> _n3a8<1> _n3a9 |
|---|
| 3381 | .def 1 |
|---|
| 3382 | 0 0 0 |
|---|
| 3383 | .names _n3a9 _n3a4 |
|---|
| 3384 | 0 1 |
|---|
| 3385 | 1 0 |
|---|
| 3386 | # (locations [1] == 1) && (buttons [2]) |
|---|
| 3387 | .names _n3a4 buttons<2> _n3aa<2> |
|---|
| 3388 | .def 0 |
|---|
| 3389 | 1 1 1 |
|---|
| 3390 | .names _n3ab |
|---|
| 3391 | 0 |
|---|
| 3392 | # ((locations [1] == 0) && (buttons [2] || buttons [1])) || ((locations [1] == 1) && (buttons [2])) |
|---|
| 3393 | .names _n3a2<0> _n3aa<2> _n3ac<0> |
|---|
| 3394 | .def 1 |
|---|
| 3395 | 0 0 0 |
|---|
| 3396 | .names _n3ac<0> button_above$raw_n39a<1> |
|---|
| 3397 | - =_n3ac<0> |
|---|
| 3398 | # assign button_below [2] = ((locations [2] == 2) && (buttons [0] || buttons [1])) || (locations [2] == 1 && buttons [0]) |
|---|
| 3399 | .names _n3af<0> |
|---|
| 3400 | 0 |
|---|
| 3401 | .names _n3af<1> |
|---|
| 3402 | 1 |
|---|
| 3403 | .names locations<*1*><0> locations<*2*><0> _n3af<1> _n3af<0> _n3b0<0> |
|---|
| 3404 | - - 0 0 0 |
|---|
| 3405 | - - 0 0 0 |
|---|
| 3406 | 0 - 0 1 0 |
|---|
| 3407 | 1 - 0 1 1 |
|---|
| 3408 | - 0 1 0 0 |
|---|
| 3409 | - 1 1 0 1 |
|---|
| 3410 | - - 1 1 0 |
|---|
| 3411 | - - 1 1 0 |
|---|
| 3412 | .names locations<*1*><1> locations<*2*><1> _n3af<1> _n3af<0> _n3b0<1> |
|---|
| 3413 | - - 0 0 0 |
|---|
| 3414 | - - 0 0 0 |
|---|
| 3415 | 0 - 0 1 0 |
|---|
| 3416 | 1 - 0 1 1 |
|---|
| 3417 | - 0 1 0 0 |
|---|
| 3418 | - 1 1 0 1 |
|---|
| 3419 | - - 1 1 0 |
|---|
| 3420 | - - 1 1 0 |
|---|
| 3421 | .names _n3b1<0> |
|---|
| 3422 | 0 |
|---|
| 3423 | .names _n3b1<1> |
|---|
| 3424 | 1 |
|---|
| 3425 | # locations [2] == 2 |
|---|
| 3426 | .names _n3b0<0> _n3b1<0> _n3b2<0> |
|---|
| 3427 | .def 0 |
|---|
| 3428 | 0 1 1 |
|---|
| 3429 | 1 0 1 |
|---|
| 3430 | .names _n3b0<1> _n3b1<1> _n3b2<1> |
|---|
| 3431 | .def 0 |
|---|
| 3432 | 0 1 1 |
|---|
| 3433 | 1 0 1 |
|---|
| 3434 | .names _n3b2<0> _n3b2<1> _n3b3 |
|---|
| 3435 | .def 1 |
|---|
| 3436 | 0 0 0 |
|---|
| 3437 | .names _n3b3 _n3ae |
|---|
| 3438 | 0 1 |
|---|
| 3439 | 1 0 |
|---|
| 3440 | # buttons [0] || buttons [1] |
|---|
| 3441 | .names buttons<0> buttons<1> _n3b4<0> |
|---|
| 3442 | .def 1 |
|---|
| 3443 | 0 0 0 |
|---|
| 3444 | # (locations [2] == 2) && (buttons [0] || buttons [1]) |
|---|
| 3445 | .names _n3ae _n3b4<0> _n3b5<0> |
|---|
| 3446 | .def 0 |
|---|
| 3447 | 1 1 1 |
|---|
| 3448 | .names _n3b6 |
|---|
| 3449 | 0 |
|---|
| 3450 | .names _n3b8<0> |
|---|
| 3451 | 0 |
|---|
| 3452 | .names _n3b8<1> |
|---|
| 3453 | 1 |
|---|
| 3454 | .names locations<*1*><0> locations<*2*><0> _n3b8<1> _n3b8<0> _n3b9<0> |
|---|
| 3455 | - - 0 0 0 |
|---|
| 3456 | - - 0 0 0 |
|---|
| 3457 | 0 - 0 1 0 |
|---|
| 3458 | 1 - 0 1 1 |
|---|
| 3459 | - 0 1 0 0 |
|---|
| 3460 | - 1 1 0 1 |
|---|
| 3461 | - - 1 1 0 |
|---|
| 3462 | - - 1 1 0 |
|---|
| 3463 | .names locations<*1*><1> locations<*2*><1> _n3b8<1> _n3b8<0> _n3b9<1> |
|---|
| 3464 | - - 0 0 0 |
|---|
| 3465 | - - 0 0 0 |
|---|
| 3466 | 0 - 0 1 0 |
|---|
| 3467 | 1 - 0 1 1 |
|---|
| 3468 | - 0 1 0 0 |
|---|
| 3469 | - 1 1 0 1 |
|---|
| 3470 | - - 1 1 0 |
|---|
| 3471 | - - 1 1 0 |
|---|
| 3472 | .names _n3ba<0> |
|---|
| 3473 | 1 |
|---|
| 3474 | .names _n3ba<1> |
|---|
| 3475 | 0 |
|---|
| 3476 | # locations [2] == 1 |
|---|
| 3477 | .names _n3b9<0> _n3ba<0> _n3bb<0> |
|---|
| 3478 | .def 0 |
|---|
| 3479 | 0 1 1 |
|---|
| 3480 | 1 0 1 |
|---|
| 3481 | .names _n3b9<1> _n3ba<1> _n3bb<1> |
|---|
| 3482 | .def 0 |
|---|
| 3483 | 0 1 1 |
|---|
| 3484 | 1 0 1 |
|---|
| 3485 | .names _n3bb<0> _n3bb<1> _n3bc |
|---|
| 3486 | .def 1 |
|---|
| 3487 | 0 0 0 |
|---|
| 3488 | .names _n3bc _n3b7 |
|---|
| 3489 | 0 1 |
|---|
| 3490 | 1 0 |
|---|
| 3491 | # locations [2] == 1 && buttons [0] |
|---|
| 3492 | .names _n3b7 buttons<0> _n3bd<0> |
|---|
| 3493 | .def 0 |
|---|
| 3494 | 1 1 1 |
|---|
| 3495 | .names _n3be |
|---|
| 3496 | 0 |
|---|
| 3497 | # ((locations [2] == 2) && (buttons [0] || buttons [1])) || (locations [2] == 1 && buttons [0]) |
|---|
| 3498 | .names _n3b5<0> _n3bd<0> _n3bf<0> |
|---|
| 3499 | .def 1 |
|---|
| 3500 | 0 0 0 |
|---|
| 3501 | .names _n3bf<0> button_below$raw_n3ad<2> |
|---|
| 3502 | - =_n3bf<0> |
|---|
| 3503 | # assign button_above [2] = ((locations [2] == 0) && (buttons [2] || buttons [1])) || ((locations [2] == 1) && (buttons [2])) |
|---|
| 3504 | .names _n3c2<0> |
|---|
| 3505 | 0 |
|---|
| 3506 | .names _n3c2<1> |
|---|
| 3507 | 1 |
|---|
| 3508 | .names locations<*1*><0> locations<*2*><0> _n3c2<1> _n3c2<0> _n3c3<0> |
|---|
| 3509 | - - 0 0 0 |
|---|
| 3510 | - - 0 0 0 |
|---|
| 3511 | 0 - 0 1 0 |
|---|
| 3512 | 1 - 0 1 1 |
|---|
| 3513 | - 0 1 0 0 |
|---|
| 3514 | - 1 1 0 1 |
|---|
| 3515 | - - 1 1 0 |
|---|
| 3516 | - - 1 1 0 |
|---|
| 3517 | .names locations<*1*><1> locations<*2*><1> _n3c2<1> _n3c2<0> _n3c3<1> |
|---|
| 3518 | - - 0 0 0 |
|---|
| 3519 | - - 0 0 0 |
|---|
| 3520 | 0 - 0 1 0 |
|---|
| 3521 | 1 - 0 1 1 |
|---|
| 3522 | - 0 1 0 0 |
|---|
| 3523 | - 1 1 0 1 |
|---|
| 3524 | - - 1 1 0 |
|---|
| 3525 | - - 1 1 0 |
|---|
| 3526 | .names _n3c4<0> |
|---|
| 3527 | 0 |
|---|
| 3528 | .names _n3c4<1> |
|---|
| 3529 | 0 |
|---|
| 3530 | # locations [2] == 0 |
|---|
| 3531 | .names _n3c3<0> _n3c4<0> _n3c5<0> |
|---|
| 3532 | .def 0 |
|---|
| 3533 | 0 1 1 |
|---|
| 3534 | 1 0 1 |
|---|
| 3535 | .names _n3c3<1> _n3c4<1> _n3c5<1> |
|---|
| 3536 | .def 0 |
|---|
| 3537 | 0 1 1 |
|---|
| 3538 | 1 0 1 |
|---|
| 3539 | .names _n3c5<0> _n3c5<1> _n3c6 |
|---|
| 3540 | .def 1 |
|---|
| 3541 | 0 0 0 |
|---|
| 3542 | .names _n3c6 _n3c1 |
|---|
| 3543 | 0 1 |
|---|
| 3544 | 1 0 |
|---|
| 3545 | # buttons [2] || buttons [1] |
|---|
| 3546 | .names buttons<2> buttons<1> _n3c7<0> |
|---|
| 3547 | .def 1 |
|---|
| 3548 | 0 0 0 |
|---|
| 3549 | # (locations [2] == 0) && (buttons [2] || buttons [1]) |
|---|
| 3550 | .names _n3c1 _n3c7<0> _n3c8<0> |
|---|
| 3551 | .def 0 |
|---|
| 3552 | 1 1 1 |
|---|
| 3553 | .names _n3c9 |
|---|
| 3554 | 0 |
|---|
| 3555 | .names _n3cb<0> |
|---|
| 3556 | 0 |
|---|
| 3557 | .names _n3cb<1> |
|---|
| 3558 | 1 |
|---|
| 3559 | .names locations<*1*><0> locations<*2*><0> _n3cb<1> _n3cb<0> _n3cc<0> |
|---|
| 3560 | - - 0 0 0 |
|---|
| 3561 | - - 0 0 0 |
|---|
| 3562 | 0 - 0 1 0 |
|---|
| 3563 | 1 - 0 1 1 |
|---|
| 3564 | - 0 1 0 0 |
|---|
| 3565 | - 1 1 0 1 |
|---|
| 3566 | - - 1 1 0 |
|---|
| 3567 | - - 1 1 0 |
|---|
| 3568 | .names locations<*1*><1> locations<*2*><1> _n3cb<1> _n3cb<0> _n3cc<1> |
|---|
| 3569 | - - 0 0 0 |
|---|
| 3570 | - - 0 0 0 |
|---|
| 3571 | 0 - 0 1 0 |
|---|
| 3572 | 1 - 0 1 1 |
|---|
| 3573 | - 0 1 0 0 |
|---|
| 3574 | - 1 1 0 1 |
|---|
| 3575 | - - 1 1 0 |
|---|
| 3576 | - - 1 1 0 |
|---|
| 3577 | .names _n3cd<0> |
|---|
| 3578 | 1 |
|---|
| 3579 | .names _n3cd<1> |
|---|
| 3580 | 0 |
|---|
| 3581 | # locations [2] == 1 |
|---|
| 3582 | .names _n3cc<0> _n3cd<0> _n3ce<0> |
|---|
| 3583 | .def 0 |
|---|
| 3584 | 0 1 1 |
|---|
| 3585 | 1 0 1 |
|---|
| 3586 | .names _n3cc<1> _n3cd<1> _n3ce<1> |
|---|
| 3587 | .def 0 |
|---|
| 3588 | 0 1 1 |
|---|
| 3589 | 1 0 1 |
|---|
| 3590 | .names _n3ce<0> _n3ce<1> _n3cf |
|---|
| 3591 | .def 1 |
|---|
| 3592 | 0 0 0 |
|---|
| 3593 | .names _n3cf _n3ca |
|---|
| 3594 | 0 1 |
|---|
| 3595 | 1 0 |
|---|
| 3596 | # (locations [2] == 1) && (buttons [2]) |
|---|
| 3597 | .names _n3ca buttons<2> _n3d0<2> |
|---|
| 3598 | .def 0 |
|---|
| 3599 | 1 1 1 |
|---|
| 3600 | .names _n3d1 |
|---|
| 3601 | 0 |
|---|
| 3602 | # ((locations [2] == 0) && (buttons [2] || buttons [1])) || ((locations [2] == 1) && (buttons [2])) |
|---|
| 3603 | .names _n3c8<0> _n3d0<2> _n3d2<0> |
|---|
| 3604 | .def 1 |
|---|
| 3605 | 0 0 0 |
|---|
| 3606 | .names _n3d2<0> button_above$raw_n3c0<2> |
|---|
| 3607 | - =_n3d2<0> |
|---|
| 3608 | # assign continue [1] = button_above [1] && direction [1] == UP || button_below [1] && direction [1] == DOWN |
|---|
| 3609 | .names _n3d5<0> |
|---|
| 3610 | 1 |
|---|
| 3611 | .names _n3d5<1> |
|---|
| 3612 | 0 |
|---|
| 3613 | .mv _n3d6 2 UP DOWN |
|---|
| 3614 | .names direction<*1*> direction<*2*> _n3d5<1> _n3d5<0> _n3d6 |
|---|
| 3615 | - - 0 0 UP |
|---|
| 3616 | - - 0 1 =direction<*1*> |
|---|
| 3617 | - - 1 0 =direction<*2*> |
|---|
| 3618 | - - 1 1 UP |
|---|
| 3619 | .mv _n3d7 2 UP DOWN |
|---|
| 3620 | .names _n3d7 |
|---|
| 3621 | UP |
|---|
| 3622 | # direction [1] == 0 |
|---|
| 3623 | .names _n3d6 _n3d7 _n3d4 |
|---|
| 3624 | .def 0 |
|---|
| 3625 | - =_n3d6 1 |
|---|
| 3626 | # button_above [1] && direction [1] == 0 |
|---|
| 3627 | .names button_above<1> _n3d4 _n3d8<1> |
|---|
| 3628 | .def 0 |
|---|
| 3629 | 1 1 1 |
|---|
| 3630 | .names _n3d9 |
|---|
| 3631 | 0 |
|---|
| 3632 | .names _n3db<0> |
|---|
| 3633 | 1 |
|---|
| 3634 | .names _n3db<1> |
|---|
| 3635 | 0 |
|---|
| 3636 | .mv _n3dc 2 UP DOWN |
|---|
| 3637 | .names direction<*1*> direction<*2*> _n3db<1> _n3db<0> _n3dc |
|---|
| 3638 | - - 0 0 UP |
|---|
| 3639 | - - 0 1 =direction<*1*> |
|---|
| 3640 | - - 1 0 =direction<*2*> |
|---|
| 3641 | - - 1 1 UP |
|---|
| 3642 | .mv _n3dd 2 UP DOWN |
|---|
| 3643 | .names _n3dd |
|---|
| 3644 | DOWN |
|---|
| 3645 | # direction [1] == 1 |
|---|
| 3646 | .names _n3dc _n3dd _n3da |
|---|
| 3647 | .def 0 |
|---|
| 3648 | - =_n3dc 1 |
|---|
| 3649 | # button_below [1] && direction [1] == 1 |
|---|
| 3650 | .names button_below<1> _n3da _n3de<1> |
|---|
| 3651 | .def 0 |
|---|
| 3652 | 1 1 1 |
|---|
| 3653 | .names _n3df |
|---|
| 3654 | 0 |
|---|
| 3655 | # button_above [1] && direction [1] == 0 || button_below [1] && direction [1] == 1 |
|---|
| 3656 | .names _n3d8<1> _n3de<1> _n3e0<0> |
|---|
| 3657 | .def 1 |
|---|
| 3658 | 0 0 0 |
|---|
| 3659 | .names _n3e0<0> continue$raw_n3d3<1> |
|---|
| 3660 | - =_n3e0<0> |
|---|
| 3661 | # assign continue [2] = button_above [2] && direction [2] == UP || button_below [2] && direction [2] == DOWN |
|---|
| 3662 | .names _n3e3<0> |
|---|
| 3663 | 0 |
|---|
| 3664 | .names _n3e3<1> |
|---|
| 3665 | 1 |
|---|
| 3666 | .mv _n3e4 2 UP DOWN |
|---|
| 3667 | .names direction<*1*> direction<*2*> _n3e3<1> _n3e3<0> _n3e4 |
|---|
| 3668 | - - 0 0 UP |
|---|
| 3669 | - - 0 1 =direction<*1*> |
|---|
| 3670 | - - 1 0 =direction<*2*> |
|---|
| 3671 | - - 1 1 UP |
|---|
| 3672 | .mv _n3e5 2 UP DOWN |
|---|
| 3673 | .names _n3e5 |
|---|
| 3674 | UP |
|---|
| 3675 | # direction [2] == 0 |
|---|
| 3676 | .names _n3e4 _n3e5 _n3e2 |
|---|
| 3677 | .def 0 |
|---|
| 3678 | - =_n3e4 1 |
|---|
| 3679 | # button_above [2] && direction [2] == 0 |
|---|
| 3680 | .names button_above<2> _n3e2 _n3e6<2> |
|---|
| 3681 | .def 0 |
|---|
| 3682 | 1 1 1 |
|---|
| 3683 | .names _n3e7 |
|---|
| 3684 | 0 |
|---|
| 3685 | .names _n3e9<0> |
|---|
| 3686 | 0 |
|---|
| 3687 | .names _n3e9<1> |
|---|
| 3688 | 1 |
|---|
| 3689 | .mv _n3ea 2 UP DOWN |
|---|
| 3690 | .names direction<*1*> direction<*2*> _n3e9<1> _n3e9<0> _n3ea |
|---|
| 3691 | - - 0 0 UP |
|---|
| 3692 | - - 0 1 =direction<*1*> |
|---|
| 3693 | - - 1 0 =direction<*2*> |
|---|
| 3694 | - - 1 1 UP |
|---|
| 3695 | .mv _n3eb 2 UP DOWN |
|---|
| 3696 | .names _n3eb |
|---|
| 3697 | DOWN |
|---|
| 3698 | # direction [2] == 1 |
|---|
| 3699 | .names _n3ea _n3eb _n3e8 |
|---|
| 3700 | .def 0 |
|---|
| 3701 | - =_n3ea 1 |
|---|
| 3702 | # button_below [2] && direction [2] == 1 |
|---|
| 3703 | .names button_below<2> _n3e8 _n3ec<2> |
|---|
| 3704 | .def 0 |
|---|
| 3705 | 1 1 1 |
|---|
| 3706 | .names _n3ed |
|---|
| 3707 | 0 |
|---|
| 3708 | # button_above [2] && direction [2] == 0 || button_below [2] && direction [2] == 1 |
|---|
| 3709 | .names _n3e6<2> _n3ec<2> _n3ee<0> |
|---|
| 3710 | .def 1 |
|---|
| 3711 | 0 0 0 |
|---|
| 3712 | .names _n3ee<0> continue$raw_n3e1<2> |
|---|
| 3713 | - =_n3ee<0> |
|---|
| 3714 | # assign stop_next [1] = ((locations [1] != 3 - 1) && (direction [1] == UP )) ? ((up_floor_buttons [locations [1] + 1] == ON ) ? 1 : 0) : (((locations [1] != 0) && (direction [1] == DOWN )) ? ((down_floor_buttons [locations [1] - 1] == ON ) ? 1 : 0) : 0) |
|---|
| 3715 | .names _n3f1<0> |
|---|
| 3716 | 1 |
|---|
| 3717 | .names _n3f1<1> |
|---|
| 3718 | 0 |
|---|
| 3719 | .names locations<*1*><0> locations<*2*><0> _n3f1<1> _n3f1<0> _n3f2<0> |
|---|
| 3720 | - - 0 0 0 |
|---|
| 3721 | - - 0 0 0 |
|---|
| 3722 | 0 - 0 1 0 |
|---|
| 3723 | 1 - 0 1 1 |
|---|
| 3724 | - 0 1 0 0 |
|---|
| 3725 | - 1 1 0 1 |
|---|
| 3726 | - - 1 1 0 |
|---|
| 3727 | - - 1 1 0 |
|---|
| 3728 | .names locations<*1*><1> locations<*2*><1> _n3f1<1> _n3f1<0> _n3f2<1> |
|---|
| 3729 | - - 0 0 0 |
|---|
| 3730 | - - 0 0 0 |
|---|
| 3731 | 0 - 0 1 0 |
|---|
| 3732 | 1 - 0 1 1 |
|---|
| 3733 | - 0 1 0 0 |
|---|
| 3734 | - 1 1 0 1 |
|---|
| 3735 | - - 1 1 0 |
|---|
| 3736 | - - 1 1 0 |
|---|
| 3737 | .names _n3f3<0> |
|---|
| 3738 | 1 |
|---|
| 3739 | .names _n3f3<1> |
|---|
| 3740 | 1 |
|---|
| 3741 | .names _n3f4<0> |
|---|
| 3742 | 1 |
|---|
| 3743 | .names _n3f4<1> |
|---|
| 3744 | 0 |
|---|
| 3745 | # 3 - 1 |
|---|
| 3746 | .names _n3f6 |
|---|
| 3747 | 0 |
|---|
| 3748 | .names _n3f3<0> _n3f4<0> _n3f6 _n3f5<0> |
|---|
| 3749 | .def 0 |
|---|
| 3750 | 0 0 1 1 |
|---|
| 3751 | 0 1 0 1 |
|---|
| 3752 | 1 0 0 1 |
|---|
| 3753 | 1 1 1 1 |
|---|
| 3754 | # carry/borrow |
|---|
| 3755 | .names _n3f8 |
|---|
| 3756 | 0 |
|---|
| 3757 | .names _n3f3<0> _n3f4<0> _n3f8 _n3f7 |
|---|
| 3758 | .def 0 |
|---|
| 3759 | 0 0 1 1 |
|---|
| 3760 | 0 1 0 1 |
|---|
| 3761 | 0 1 1 1 |
|---|
| 3762 | 1 1 1 1 |
|---|
| 3763 | .names _n3f3<1> _n3f4<1> _n3f7 _n3f5<1> |
|---|
| 3764 | .def 0 |
|---|
| 3765 | 0 0 1 1 |
|---|
| 3766 | 0 1 0 1 |
|---|
| 3767 | 1 0 0 1 |
|---|
| 3768 | 1 1 1 1 |
|---|
| 3769 | # locations [1] != 3 - 1 |
|---|
| 3770 | .names _n3f2<0> _n3f5<0> _n3f9<0> |
|---|
| 3771 | .def 0 |
|---|
| 3772 | 0 1 1 |
|---|
| 3773 | 1 0 1 |
|---|
| 3774 | .names _n3f2<1> _n3f5<1> _n3f9<1> |
|---|
| 3775 | .def 0 |
|---|
| 3776 | 0 1 1 |
|---|
| 3777 | 1 0 1 |
|---|
| 3778 | .names _n3f9<0> _n3f9<1> _n3fa |
|---|
| 3779 | .def 1 |
|---|
| 3780 | 0 0 0 |
|---|
| 3781 | .names _n3fa _n3f0 |
|---|
| 3782 | - =_n3fa |
|---|
| 3783 | .names _n3fc<0> |
|---|
| 3784 | 1 |
|---|
| 3785 | .names _n3fc<1> |
|---|
| 3786 | 0 |
|---|
| 3787 | .mv _n3fd 2 UP DOWN |
|---|
| 3788 | .names direction<*1*> direction<*2*> _n3fc<1> _n3fc<0> _n3fd |
|---|
| 3789 | - - 0 0 UP |
|---|
| 3790 | - - 0 1 =direction<*1*> |
|---|
| 3791 | - - 1 0 =direction<*2*> |
|---|
| 3792 | - - 1 1 UP |
|---|
| 3793 | .mv _n3fe 2 UP DOWN |
|---|
| 3794 | .names _n3fe |
|---|
| 3795 | UP |
|---|
| 3796 | # direction [1] == 0 |
|---|
| 3797 | .names _n3fd _n3fe _n3fb |
|---|
| 3798 | .def 0 |
|---|
| 3799 | - =_n3fd 1 |
|---|
| 3800 | # (locations [1] != 3 - 1) && (direction [1] == 0) |
|---|
| 3801 | .names _n3f0 _n3fb _n3ff |
|---|
| 3802 | .def 0 |
|---|
| 3803 | 1 1 1 |
|---|
| 3804 | .names _n401<0> |
|---|
| 3805 | 1 |
|---|
| 3806 | .names _n401<1> |
|---|
| 3807 | 0 |
|---|
| 3808 | .names locations<*1*><0> locations<*2*><0> _n401<1> _n401<0> _n402<0> |
|---|
| 3809 | - - 0 0 0 |
|---|
| 3810 | - - 0 0 0 |
|---|
| 3811 | 0 - 0 1 0 |
|---|
| 3812 | 1 - 0 1 1 |
|---|
| 3813 | - 0 1 0 0 |
|---|
| 3814 | - 1 1 0 1 |
|---|
| 3815 | - - 1 1 0 |
|---|
| 3816 | - - 1 1 0 |
|---|
| 3817 | .names locations<*1*><1> locations<*2*><1> _n401<1> _n401<0> _n402<1> |
|---|
| 3818 | - - 0 0 0 |
|---|
| 3819 | - - 0 0 0 |
|---|
| 3820 | 0 - 0 1 0 |
|---|
| 3821 | 1 - 0 1 1 |
|---|
| 3822 | - 0 1 0 0 |
|---|
| 3823 | - 1 1 0 1 |
|---|
| 3824 | - - 1 1 0 |
|---|
| 3825 | - - 1 1 0 |
|---|
| 3826 | .names _n403<0> |
|---|
| 3827 | 1 |
|---|
| 3828 | .names _n403<1> |
|---|
| 3829 | 0 |
|---|
| 3830 | # locations [1] + 1 |
|---|
| 3831 | .names _n405 |
|---|
| 3832 | 0 |
|---|
| 3833 | .names _n402<0> _n403<0> _n405 _n404<0> |
|---|
| 3834 | .def 0 |
|---|
| 3835 | 0 0 1 1 |
|---|
| 3836 | 0 1 0 1 |
|---|
| 3837 | 1 0 0 1 |
|---|
| 3838 | 1 1 1 1 |
|---|
| 3839 | # carry/borrow |
|---|
| 3840 | .names _n407 |
|---|
| 3841 | 0 |
|---|
| 3842 | .names _n402<0> _n403<0> _n407 _n406 |
|---|
| 3843 | .def 0 |
|---|
| 3844 | 0 1 1 1 |
|---|
| 3845 | 1 0 1 1 |
|---|
| 3846 | 1 1 0 1 |
|---|
| 3847 | 1 1 1 1 |
|---|
| 3848 | .names _n402<1> _n403<1> _n406 _n404<1> |
|---|
| 3849 | .def 0 |
|---|
| 3850 | 0 0 1 1 |
|---|
| 3851 | 0 1 0 1 |
|---|
| 3852 | 1 0 0 1 |
|---|
| 3853 | 1 1 1 1 |
|---|
| 3854 | .mv _n408 2 ON OFF |
|---|
| 3855 | .names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n404<1> _n404<0> _n408 |
|---|
| 3856 | - - - 0 0 =up_floor_buttons<*0*> |
|---|
| 3857 | - - - 0 1 =up_floor_buttons<*1*> |
|---|
| 3858 | - - - 1 0 =up_floor_buttons<*2*> |
|---|
| 3859 | - - - 1 1 ON |
|---|
| 3860 | .mv _n409 2 ON OFF |
|---|
| 3861 | .names _n409 |
|---|
| 3862 | ON |
|---|
| 3863 | # up_floor_buttons [locations [1] + 1] == 0 |
|---|
| 3864 | .names _n408 _n409 _n400 |
|---|
| 3865 | .def 0 |
|---|
| 3866 | - =_n408 1 |
|---|
| 3867 | .names _n40a<1> |
|---|
| 3868 | 1 |
|---|
| 3869 | .names _n40b<1> |
|---|
| 3870 | 0 |
|---|
| 3871 | # (up_floor_buttons [locations [1] + 1] == 0) ? 1 : 0 |
|---|
| 3872 | .names _n40a<1> _n40b<1> _n400 _n40c<1> |
|---|
| 3873 | 0 - 1 0 |
|---|
| 3874 | 1 - 1 1 |
|---|
| 3875 | - 0 0 0 |
|---|
| 3876 | - 1 0 1 |
|---|
| 3877 | .names _n40f<0> |
|---|
| 3878 | 1 |
|---|
| 3879 | .names _n40f<1> |
|---|
| 3880 | 0 |
|---|
| 3881 | .names locations<*1*><0> locations<*2*><0> _n40f<1> _n40f<0> _n410<0> |
|---|
| 3882 | - - 0 0 0 |
|---|
| 3883 | - - 0 0 0 |
|---|
| 3884 | 0 - 0 1 0 |
|---|
| 3885 | 1 - 0 1 1 |
|---|
| 3886 | - 0 1 0 0 |
|---|
| 3887 | - 1 1 0 1 |
|---|
| 3888 | - - 1 1 0 |
|---|
| 3889 | - - 1 1 0 |
|---|
| 3890 | .names locations<*1*><1> locations<*2*><1> _n40f<1> _n40f<0> _n410<1> |
|---|
| 3891 | - - 0 0 0 |
|---|
| 3892 | - - 0 0 0 |
|---|
| 3893 | 0 - 0 1 0 |
|---|
| 3894 | 1 - 0 1 1 |
|---|
| 3895 | - 0 1 0 0 |
|---|
| 3896 | - 1 1 0 1 |
|---|
| 3897 | - - 1 1 0 |
|---|
| 3898 | - - 1 1 0 |
|---|
| 3899 | .names _n411<0> |
|---|
| 3900 | 0 |
|---|
| 3901 | .names _n411<1> |
|---|
| 3902 | 0 |
|---|
| 3903 | # locations [1] != 0 |
|---|
| 3904 | .names _n410<0> _n411<0> _n412<0> |
|---|
| 3905 | .def 0 |
|---|
| 3906 | 0 1 1 |
|---|
| 3907 | 1 0 1 |
|---|
| 3908 | .names _n410<1> _n411<1> _n412<1> |
|---|
| 3909 | .def 0 |
|---|
| 3910 | 0 1 1 |
|---|
| 3911 | 1 0 1 |
|---|
| 3912 | .names _n412<0> _n412<1> _n413 |
|---|
| 3913 | .def 1 |
|---|
| 3914 | 0 0 0 |
|---|
| 3915 | .names _n413 _n40e |
|---|
| 3916 | - =_n413 |
|---|
| 3917 | .names _n415<0> |
|---|
| 3918 | 1 |
|---|
| 3919 | .names _n415<1> |
|---|
| 3920 | 0 |
|---|
| 3921 | .mv _n416 2 UP DOWN |
|---|
| 3922 | .names direction<*1*> direction<*2*> _n415<1> _n415<0> _n416 |
|---|
| 3923 | - - 0 0 UP |
|---|
| 3924 | - - 0 1 =direction<*1*> |
|---|
| 3925 | - - 1 0 =direction<*2*> |
|---|
| 3926 | - - 1 1 UP |
|---|
| 3927 | .mv _n417 2 UP DOWN |
|---|
| 3928 | .names _n417 |
|---|
| 3929 | DOWN |
|---|
| 3930 | # direction [1] == 1 |
|---|
| 3931 | .names _n416 _n417 _n414 |
|---|
| 3932 | .def 0 |
|---|
| 3933 | - =_n416 1 |
|---|
| 3934 | # (locations [1] != 0) && (direction [1] == 1) |
|---|
| 3935 | .names _n40e _n414 _n418 |
|---|
| 3936 | .def 0 |
|---|
| 3937 | 1 1 1 |
|---|
| 3938 | .names _n41a<0> |
|---|
| 3939 | 1 |
|---|
| 3940 | .names _n41a<1> |
|---|
| 3941 | 0 |
|---|
| 3942 | .names locations<*1*><0> locations<*2*><0> _n41a<1> _n41a<0> _n41b<0> |
|---|
| 3943 | - - 0 0 0 |
|---|
| 3944 | - - 0 0 0 |
|---|
| 3945 | 0 - 0 1 0 |
|---|
| 3946 | 1 - 0 1 1 |
|---|
| 3947 | - 0 1 0 0 |
|---|
| 3948 | - 1 1 0 1 |
|---|
| 3949 | - - 1 1 0 |
|---|
| 3950 | - - 1 1 0 |
|---|
| 3951 | .names locations<*1*><1> locations<*2*><1> _n41a<1> _n41a<0> _n41b<1> |
|---|
| 3952 | - - 0 0 0 |
|---|
| 3953 | - - 0 0 0 |
|---|
| 3954 | 0 - 0 1 0 |
|---|
| 3955 | 1 - 0 1 1 |
|---|
| 3956 | - 0 1 0 0 |
|---|
| 3957 | - 1 1 0 1 |
|---|
| 3958 | - - 1 1 0 |
|---|
| 3959 | - - 1 1 0 |
|---|
| 3960 | .names _n41c<0> |
|---|
| 3961 | 1 |
|---|
| 3962 | .names _n41c<1> |
|---|
| 3963 | 0 |
|---|
| 3964 | # locations [1] - 1 |
|---|
| 3965 | .names _n41e |
|---|
| 3966 | 0 |
|---|
| 3967 | .names _n41b<0> _n41c<0> _n41e _n41d<0> |
|---|
| 3968 | .def 0 |
|---|
| 3969 | 0 0 1 1 |
|---|
| 3970 | 0 1 0 1 |
|---|
| 3971 | 1 0 0 1 |
|---|
| 3972 | 1 1 1 1 |
|---|
| 3973 | # carry/borrow |
|---|
| 3974 | .names _n420 |
|---|
| 3975 | 0 |
|---|
| 3976 | .names _n41b<0> _n41c<0> _n420 _n41f |
|---|
| 3977 | .def 0 |
|---|
| 3978 | 0 0 1 1 |
|---|
| 3979 | 0 1 0 1 |
|---|
| 3980 | 0 1 1 1 |
|---|
| 3981 | 1 1 1 1 |
|---|
| 3982 | .names _n41b<1> _n41c<1> _n41f _n41d<1> |
|---|
| 3983 | .def 0 |
|---|
| 3984 | 0 0 1 1 |
|---|
| 3985 | 0 1 0 1 |
|---|
| 3986 | 1 0 0 1 |
|---|
| 3987 | 1 1 1 1 |
|---|
| 3988 | .mv _n421 2 ON OFF |
|---|
| 3989 | .names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n41d<1> _n41d<0> _n421 |
|---|
| 3990 | - - - 0 0 =down_floor_buttons<*0*> |
|---|
| 3991 | - - - 0 1 =down_floor_buttons<*1*> |
|---|
| 3992 | - - - 1 0 =down_floor_buttons<*2*> |
|---|
| 3993 | - - - 1 1 ON |
|---|
| 3994 | .mv _n422 2 ON OFF |
|---|
| 3995 | .names _n422 |
|---|
| 3996 | ON |
|---|
| 3997 | # down_floor_buttons [locations [1] - 1] == 0 |
|---|
| 3998 | .names _n421 _n422 _n419 |
|---|
| 3999 | .def 0 |
|---|
| 4000 | - =_n421 1 |
|---|
| 4001 | .names _n423<1> |
|---|
| 4002 | 1 |
|---|
| 4003 | .names _n424<1> |
|---|
| 4004 | 0 |
|---|
| 4005 | # (down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0 |
|---|
| 4006 | .names _n423<1> _n424<1> _n419 _n425<1> |
|---|
| 4007 | 0 - 1 0 |
|---|
| 4008 | 1 - 1 1 |
|---|
| 4009 | - 0 0 0 |
|---|
| 4010 | - 1 0 1 |
|---|
| 4011 | .names _n427<1> |
|---|
| 4012 | 0 |
|---|
| 4013 | # ((locations [1] != 0) && (direction [1] == 1)) ? ((down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0) : 0 |
|---|
| 4014 | .names _n425<1> _n427<1> _n418 _n428<1> |
|---|
| 4015 | 0 - 1 0 |
|---|
| 4016 | 1 - 1 1 |
|---|
| 4017 | - 0 0 0 |
|---|
| 4018 | - 1 0 1 |
|---|
| 4019 | # ((locations [1] != 3 - 1) && (direction [1] == 0)) ? ((up_floor_buttons [locations [1] + 1] == 0) ? 1 : 0) : (((locations [1] != 0) && (direction [1] == 1)) ? ((down_floor_buttons [locations [1] - 1] == 0) ? 1 : 0) : 0) |
|---|
| 4020 | .names _n40c<1> _n428<1> _n3ff _n42a<1> |
|---|
| 4021 | 0 - 1 0 |
|---|
| 4022 | 1 - 1 1 |
|---|
| 4023 | - 0 0 0 |
|---|
| 4024 | - 1 0 1 |
|---|
| 4025 | .names _n42a<1> stop_next$raw_n3ef<1> |
|---|
| 4026 | - =_n42a<1> |
|---|
| 4027 | # assign stop_next [2] = ((locations [2] != 3 - 1) && (direction [2] == UP )) ? ((up_floor_buttons [locations [2] + 1] == ON ) ? 1 : 0) : (((locations [2] != 0) && (direction [2] == DOWN )) ? ((down_floor_buttons [locations [2] - 1] == ON ) ? 1 : 0) : 0) |
|---|
| 4028 | .names _n42e<0> |
|---|
| 4029 | 0 |
|---|
| 4030 | .names _n42e<1> |
|---|
| 4031 | 1 |
|---|
| 4032 | .names locations<*1*><0> locations<*2*><0> _n42e<1> _n42e<0> _n42f<0> |
|---|
| 4033 | - - 0 0 0 |
|---|
| 4034 | - - 0 0 0 |
|---|
| 4035 | 0 - 0 1 0 |
|---|
| 4036 | 1 - 0 1 1 |
|---|
| 4037 | - 0 1 0 0 |
|---|
| 4038 | - 1 1 0 1 |
|---|
| 4039 | - - 1 1 0 |
|---|
| 4040 | - - 1 1 0 |
|---|
| 4041 | .names locations<*1*><1> locations<*2*><1> _n42e<1> _n42e<0> _n42f<1> |
|---|
| 4042 | - - 0 0 0 |
|---|
| 4043 | - - 0 0 0 |
|---|
| 4044 | 0 - 0 1 0 |
|---|
| 4045 | 1 - 0 1 1 |
|---|
| 4046 | - 0 1 0 0 |
|---|
| 4047 | - 1 1 0 1 |
|---|
| 4048 | - - 1 1 0 |
|---|
| 4049 | - - 1 1 0 |
|---|
| 4050 | .names _n430<0> |
|---|
| 4051 | 1 |
|---|
| 4052 | .names _n430<1> |
|---|
| 4053 | 1 |
|---|
| 4054 | .names _n431<0> |
|---|
| 4055 | 1 |
|---|
| 4056 | .names _n431<1> |
|---|
| 4057 | 0 |
|---|
| 4058 | # 3 - 1 |
|---|
| 4059 | .names _n433 |
|---|
| 4060 | 0 |
|---|
| 4061 | .names _n430<0> _n431<0> _n433 _n432<0> |
|---|
| 4062 | .def 0 |
|---|
| 4063 | 0 0 1 1 |
|---|
| 4064 | 0 1 0 1 |
|---|
| 4065 | 1 0 0 1 |
|---|
| 4066 | 1 1 1 1 |
|---|
| 4067 | # carry/borrow |
|---|
| 4068 | .names _n435 |
|---|
| 4069 | 0 |
|---|
| 4070 | .names _n430<0> _n431<0> _n435 _n434 |
|---|
| 4071 | .def 0 |
|---|
| 4072 | 0 0 1 1 |
|---|
| 4073 | 0 1 0 1 |
|---|
| 4074 | 0 1 1 1 |
|---|
| 4075 | 1 1 1 1 |
|---|
| 4076 | .names _n430<1> _n431<1> _n434 _n432<1> |
|---|
| 4077 | .def 0 |
|---|
| 4078 | 0 0 1 1 |
|---|
| 4079 | 0 1 0 1 |
|---|
| 4080 | 1 0 0 1 |
|---|
| 4081 | 1 1 1 1 |
|---|
| 4082 | # locations [2] != 3 - 1 |
|---|
| 4083 | .names _n42f<0> _n432<0> _n436<0> |
|---|
| 4084 | .def 0 |
|---|
| 4085 | 0 1 1 |
|---|
| 4086 | 1 0 1 |
|---|
| 4087 | .names _n42f<1> _n432<1> _n436<1> |
|---|
| 4088 | .def 0 |
|---|
| 4089 | 0 1 1 |
|---|
| 4090 | 1 0 1 |
|---|
| 4091 | .names _n436<0> _n436<1> _n437 |
|---|
| 4092 | .def 1 |
|---|
| 4093 | 0 0 0 |
|---|
| 4094 | .names _n437 _n42d |
|---|
| 4095 | - =_n437 |
|---|
| 4096 | .names _n439<0> |
|---|
| 4097 | 0 |
|---|
| 4098 | .names _n439<1> |
|---|
| 4099 | 1 |
|---|
| 4100 | .mv _n43a 2 UP DOWN |
|---|
| 4101 | .names direction<*1*> direction<*2*> _n439<1> _n439<0> _n43a |
|---|
| 4102 | - - 0 0 UP |
|---|
| 4103 | - - 0 1 =direction<*1*> |
|---|
| 4104 | - - 1 0 =direction<*2*> |
|---|
| 4105 | - - 1 1 UP |
|---|
| 4106 | .mv _n43b 2 UP DOWN |
|---|
| 4107 | .names _n43b |
|---|
| 4108 | UP |
|---|
| 4109 | # direction [2] == 0 |
|---|
| 4110 | .names _n43a _n43b _n438 |
|---|
| 4111 | .def 0 |
|---|
| 4112 | - =_n43a 1 |
|---|
| 4113 | # (locations [2] != 3 - 1) && (direction [2] == 0) |
|---|
| 4114 | .names _n42d _n438 _n43c |
|---|
| 4115 | .def 0 |
|---|
| 4116 | 1 1 1 |
|---|
| 4117 | .names _n43e<0> |
|---|
| 4118 | 0 |
|---|
| 4119 | .names _n43e<1> |
|---|
| 4120 | 1 |
|---|
| 4121 | .names locations<*1*><0> locations<*2*><0> _n43e<1> _n43e<0> _n43f<0> |
|---|
| 4122 | - - 0 0 0 |
|---|
| 4123 | - - 0 0 0 |
|---|
| 4124 | 0 - 0 1 0 |
|---|
| 4125 | 1 - 0 1 1 |
|---|
| 4126 | - 0 1 0 0 |
|---|
| 4127 | - 1 1 0 1 |
|---|
| 4128 | - - 1 1 0 |
|---|
| 4129 | - - 1 1 0 |
|---|
| 4130 | .names locations<*1*><1> locations<*2*><1> _n43e<1> _n43e<0> _n43f<1> |
|---|
| 4131 | - - 0 0 0 |
|---|
| 4132 | - - 0 0 0 |
|---|
| 4133 | 0 - 0 1 0 |
|---|
| 4134 | 1 - 0 1 1 |
|---|
| 4135 | - 0 1 0 0 |
|---|
| 4136 | - 1 1 0 1 |
|---|
| 4137 | - - 1 1 0 |
|---|
| 4138 | - - 1 1 0 |
|---|
| 4139 | .names _n440<0> |
|---|
| 4140 | 1 |
|---|
| 4141 | .names _n440<1> |
|---|
| 4142 | 0 |
|---|
| 4143 | # locations [2] + 1 |
|---|
| 4144 | .names _n442 |
|---|
| 4145 | 0 |
|---|
| 4146 | .names _n43f<0> _n440<0> _n442 _n441<0> |
|---|
| 4147 | .def 0 |
|---|
| 4148 | 0 0 1 1 |
|---|
| 4149 | 0 1 0 1 |
|---|
| 4150 | 1 0 0 1 |
|---|
| 4151 | 1 1 1 1 |
|---|
| 4152 | # carry/borrow |
|---|
| 4153 | .names _n444 |
|---|
| 4154 | 0 |
|---|
| 4155 | .names _n43f<0> _n440<0> _n444 _n443 |
|---|
| 4156 | .def 0 |
|---|
| 4157 | 0 1 1 1 |
|---|
| 4158 | 1 0 1 1 |
|---|
| 4159 | 1 1 0 1 |
|---|
| 4160 | 1 1 1 1 |
|---|
| 4161 | .names _n43f<1> _n440<1> _n443 _n441<1> |
|---|
| 4162 | .def 0 |
|---|
| 4163 | 0 0 1 1 |
|---|
| 4164 | 0 1 0 1 |
|---|
| 4165 | 1 0 0 1 |
|---|
| 4166 | 1 1 1 1 |
|---|
| 4167 | .mv _n445 2 ON OFF |
|---|
| 4168 | .names up_floor_buttons<*0*> up_floor_buttons<*1*> up_floor_buttons<*2*> _n441<1> _n441<0> _n445 |
|---|
| 4169 | - - - 0 0 =up_floor_buttons<*0*> |
|---|
| 4170 | - - - 0 1 =up_floor_buttons<*1*> |
|---|
| 4171 | - - - 1 0 =up_floor_buttons<*2*> |
|---|
| 4172 | - - - 1 1 ON |
|---|
| 4173 | .mv _n446 2 ON OFF |
|---|
| 4174 | .names _n446 |
|---|
| 4175 | ON |
|---|
| 4176 | # up_floor_buttons [locations [2] + 1] == 0 |
|---|
| 4177 | .names _n445 _n446 _n43d |
|---|
| 4178 | .def 0 |
|---|
| 4179 | - =_n445 1 |
|---|
| 4180 | .names _n447<2> |
|---|
| 4181 | 1 |
|---|
| 4182 | .names _n448<2> |
|---|
| 4183 | 0 |
|---|
| 4184 | # (up_floor_buttons [locations [2] + 1] == 0) ? 1 : 0 |
|---|
| 4185 | .names _n447<2> _n448<2> _n43d _n449<2> |
|---|
| 4186 | 0 - 1 0 |
|---|
| 4187 | 1 - 1 1 |
|---|
| 4188 | - 0 0 0 |
|---|
| 4189 | - 1 0 1 |
|---|
| 4190 | .names _n44c<0> |
|---|
| 4191 | 0 |
|---|
| 4192 | .names _n44c<1> |
|---|
| 4193 | 1 |
|---|
| 4194 | .names locations<*1*><0> locations<*2*><0> _n44c<1> _n44c<0> _n44d<0> |
|---|
| 4195 | - - 0 0 0 |
|---|
| 4196 | - - 0 0 0 |
|---|
| 4197 | 0 - 0 1 0 |
|---|
| 4198 | 1 - 0 1 1 |
|---|
| 4199 | - 0 1 0 0 |
|---|
| 4200 | - 1 1 0 1 |
|---|
| 4201 | - - 1 1 0 |
|---|
| 4202 | - - 1 1 0 |
|---|
| 4203 | .names locations<*1*><1> locations<*2*><1> _n44c<1> _n44c<0> _n44d<1> |
|---|
| 4204 | - - 0 0 0 |
|---|
| 4205 | - - 0 0 0 |
|---|
| 4206 | 0 - 0 1 0 |
|---|
| 4207 | 1 - 0 1 1 |
|---|
| 4208 | - 0 1 0 0 |
|---|
| 4209 | - 1 1 0 1 |
|---|
| 4210 | - - 1 1 0 |
|---|
| 4211 | - - 1 1 0 |
|---|
| 4212 | .names _n44e<0> |
|---|
| 4213 | 0 |
|---|
| 4214 | .names _n44e<1> |
|---|
| 4215 | 0 |
|---|
| 4216 | # locations [2] != 0 |
|---|
| 4217 | .names _n44d<0> _n44e<0> _n44f<0> |
|---|
| 4218 | .def 0 |
|---|
| 4219 | 0 1 1 |
|---|
| 4220 | 1 0 1 |
|---|
| 4221 | .names _n44d<1> _n44e<1> _n44f<1> |
|---|
| 4222 | .def 0 |
|---|
| 4223 | 0 1 1 |
|---|
| 4224 | 1 0 1 |
|---|
| 4225 | .names _n44f<0> _n44f<1> _n450 |
|---|
| 4226 | .def 1 |
|---|
| 4227 | 0 0 0 |
|---|
| 4228 | .names _n450 _n44b |
|---|
| 4229 | - =_n450 |
|---|
| 4230 | .names _n452<0> |
|---|
| 4231 | 0 |
|---|
| 4232 | .names _n452<1> |
|---|
| 4233 | 1 |
|---|
| 4234 | .mv _n453 2 UP DOWN |
|---|
| 4235 | .names direction<*1*> direction<*2*> _n452<1> _n452<0> _n453 |
|---|
| 4236 | - - 0 0 UP |
|---|
| 4237 | - - 0 1 =direction<*1*> |
|---|
| 4238 | - - 1 0 =direction<*2*> |
|---|
| 4239 | - - 1 1 UP |
|---|
| 4240 | .mv _n454 2 UP DOWN |
|---|
| 4241 | .names _n454 |
|---|
| 4242 | DOWN |
|---|
| 4243 | # direction [2] == 1 |
|---|
| 4244 | .names _n453 _n454 _n451 |
|---|
| 4245 | .def 0 |
|---|
| 4246 | - =_n453 1 |
|---|
| 4247 | # (locations [2] != 0) && (direction [2] == 1) |
|---|
| 4248 | .names _n44b _n451 _n455 |
|---|
| 4249 | .def 0 |
|---|
| 4250 | 1 1 1 |
|---|
| 4251 | .names _n457<0> |
|---|
| 4252 | 0 |
|---|
| 4253 | .names _n457<1> |
|---|
| 4254 | 1 |
|---|
| 4255 | .names locations<*1*><0> locations<*2*><0> _n457<1> _n457<0> _n458<0> |
|---|
| 4256 | - - 0 0 0 |
|---|
| 4257 | - - 0 0 0 |
|---|
| 4258 | 0 - 0 1 0 |
|---|
| 4259 | 1 - 0 1 1 |
|---|
| 4260 | - 0 1 0 0 |
|---|
| 4261 | - 1 1 0 1 |
|---|
| 4262 | - - 1 1 0 |
|---|
| 4263 | - - 1 1 0 |
|---|
| 4264 | .names locations<*1*><1> locations<*2*><1> _n457<1> _n457<0> _n458<1> |
|---|
| 4265 | - - 0 0 0 |
|---|
| 4266 | - - 0 0 0 |
|---|
| 4267 | 0 - 0 1 0 |
|---|
| 4268 | 1 - 0 1 1 |
|---|
| 4269 | - 0 1 0 0 |
|---|
| 4270 | - 1 1 0 1 |
|---|
| 4271 | - - 1 1 0 |
|---|
| 4272 | - - 1 1 0 |
|---|
| 4273 | .names _n459<0> |
|---|
| 4274 | 1 |
|---|
| 4275 | .names _n459<1> |
|---|
| 4276 | 0 |
|---|
| 4277 | # locations [2] - 1 |
|---|
| 4278 | .names _n45b |
|---|
| 4279 | 0 |
|---|
| 4280 | .names _n458<0> _n459<0> _n45b _n45a<0> |
|---|
| 4281 | .def 0 |
|---|
| 4282 | 0 0 1 1 |
|---|
| 4283 | 0 1 0 1 |
|---|
| 4284 | 1 0 0 1 |
|---|
| 4285 | 1 1 1 1 |
|---|
| 4286 | # carry/borrow |
|---|
| 4287 | .names _n45d |
|---|
| 4288 | 0 |
|---|
| 4289 | .names _n458<0> _n459<0> _n45d _n45c |
|---|
| 4290 | .def 0 |
|---|
| 4291 | 0 0 1 1 |
|---|
| 4292 | 0 1 0 1 |
|---|
| 4293 | 0 1 1 1 |
|---|
| 4294 | 1 1 1 1 |
|---|
| 4295 | .names _n458<1> _n459<1> _n45c _n45a<1> |
|---|
| 4296 | .def 0 |
|---|
| 4297 | 0 0 1 1 |
|---|
| 4298 | 0 1 0 1 |
|---|
| 4299 | 1 0 0 1 |
|---|
| 4300 | 1 1 1 1 |
|---|
| 4301 | .mv _n45e 2 ON OFF |
|---|
| 4302 | .names down_floor_buttons<*0*> down_floor_buttons<*1*> down_floor_buttons<*2*> _n45a<1> _n45a<0> _n45e |
|---|
| 4303 | - - - 0 0 =down_floor_buttons<*0*> |
|---|
| 4304 | - - - 0 1 =down_floor_buttons<*1*> |
|---|
| 4305 | - - - 1 0 =down_floor_buttons<*2*> |
|---|
| 4306 | - - - 1 1 ON |
|---|
| 4307 | .mv _n45f 2 ON OFF |
|---|
| 4308 | .names _n45f |
|---|
| 4309 | ON |
|---|
| 4310 | # down_floor_buttons [locations [2] - 1] == 0 |
|---|
| 4311 | .names _n45e _n45f _n456 |
|---|
| 4312 | .def 0 |
|---|
| 4313 | - =_n45e 1 |
|---|
| 4314 | .names _n460<2> |
|---|
| 4315 | 1 |
|---|
| 4316 | .names _n461<2> |
|---|
| 4317 | 0 |
|---|
| 4318 | # (down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0 |
|---|
| 4319 | .names _n460<2> _n461<2> _n456 _n462<2> |
|---|
| 4320 | 0 - 1 0 |
|---|
| 4321 | 1 - 1 1 |
|---|
| 4322 | - 0 0 0 |
|---|
| 4323 | - 1 0 1 |
|---|
| 4324 | .names _n464<2> |
|---|
| 4325 | 0 |
|---|
| 4326 | # ((locations [2] != 0) && (direction [2] == 1)) ? ((down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0) : 0 |
|---|
| 4327 | .names _n462<2> _n464<2> _n455 _n465<2> |
|---|
| 4328 | 0 - 1 0 |
|---|
| 4329 | 1 - 1 1 |
|---|
| 4330 | - 0 0 0 |
|---|
| 4331 | - 1 0 1 |
|---|
| 4332 | # ((locations [2] != 3 - 1) && (direction [2] == 0)) ? ((up_floor_buttons [locations [2] + 1] == 0) ? 1 : 0) : (((locations [2] != 0) && (direction [2] == 1)) ? ((down_floor_buttons [locations [2] - 1] == 0) ? 1 : 0) : 0) |
|---|
| 4333 | .names _n449<2> _n465<2> _n43c _n467<2> |
|---|
| 4334 | 0 - 1 0 |
|---|
| 4335 | 1 - 1 1 |
|---|
| 4336 | - 0 0 0 |
|---|
| 4337 | - 1 0 1 |
|---|
| 4338 | .names _n467<2> stop_next$raw_n42c<2> |
|---|
| 4339 | - =_n467<2> |
|---|
| 4340 | # assign random_up [0] = $NDset ( 0,1 ) |
|---|
| 4341 | .names -> random_up<0> |
|---|
| 4342 | 0 |
|---|
| 4343 | 1 |
|---|
| 4344 | # assign random_down [0] = $NDset ( 0,1 ) |
|---|
| 4345 | .names -> random_down<0> |
|---|
| 4346 | 0 |
|---|
| 4347 | 1 |
|---|
| 4348 | # assign random_up [1] = $NDset ( 0,1 ) |
|---|
| 4349 | .names -> random_up<1> |
|---|
| 4350 | 0 |
|---|
| 4351 | 1 |
|---|
| 4352 | # assign random_down [1] = $NDset ( 0,1 ) |
|---|
| 4353 | .names -> random_down<1> |
|---|
| 4354 | 0 |
|---|
| 4355 | 1 |
|---|
| 4356 | # assign random_up [2] = $NDset ( 0,1 ) |
|---|
| 4357 | .names -> random_up<2> |
|---|
| 4358 | 0 |
|---|
| 4359 | 1 |
|---|
| 4360 | # assign random_down [2] = $NDset ( 0,1 ) |
|---|
| 4361 | .names -> random_down<2> |
|---|
| 4362 | 0 |
|---|
| 4363 | 1 |
|---|
| 4364 | .names random_up<0> _n476 |
|---|
| 4365 | .def 1 |
|---|
| 4366 | 0 0 |
|---|
| 4367 | .names _n476 _n475 |
|---|
| 4368 | - =_n476 |
|---|
| 4369 | # up_floor_buttons [0] = 0 |
|---|
| 4370 | .mv up_floor_buttons$random_up_n477$true<*0*> 2 ON OFF |
|---|
| 4371 | .mv up_floor_buttons$random_up_n477$true<*1*> 2 ON OFF |
|---|
| 4372 | .mv up_floor_buttons$random_up_n477$true<*2*> 2 ON OFF |
|---|
| 4373 | .mv _n478 2 ON OFF |
|---|
| 4374 | .names _n479<0> |
|---|
| 4375 | 0 |
|---|
| 4376 | .names _n479<1> |
|---|
| 4377 | 0 |
|---|
| 4378 | .names _n47a<0> |
|---|
| 4379 | 0 |
|---|
| 4380 | .names _n47a<1> |
|---|
| 4381 | 0 |
|---|
| 4382 | .names _n47a<0> _n479<0> _n47c<0> |
|---|
| 4383 | .def 0 |
|---|
| 4384 | 0 1 1 |
|---|
| 4385 | 1 0 1 |
|---|
| 4386 | .names _n47a<1> _n479<1> _n47c<1> |
|---|
| 4387 | .def 0 |
|---|
| 4388 | 0 1 1 |
|---|
| 4389 | 1 0 1 |
|---|
| 4390 | .names _n47c<0> _n47c<1> _n47d |
|---|
| 4391 | .def 1 |
|---|
| 4392 | 0 0 0 |
|---|
| 4393 | .names _n47d _n47b |
|---|
| 4394 | 0 1 |
|---|
| 4395 | 1 0 |
|---|
| 4396 | .names _n478 up_floor_buttons<*0*> _n47b up_floor_buttons$random_up_n477$true<*0*> |
|---|
| 4397 | - - 0 =up_floor_buttons<*0*> |
|---|
| 4398 | - - 1 =_n478 |
|---|
| 4399 | .names _n47e<0> |
|---|
| 4400 | 1 |
|---|
| 4401 | .names _n47e<1> |
|---|
| 4402 | 0 |
|---|
| 4403 | .names _n47e<0> _n479<0> _n480<0> |
|---|
| 4404 | .def 0 |
|---|
| 4405 | 0 1 1 |
|---|
| 4406 | 1 0 1 |
|---|
| 4407 | .names _n47e<1> _n479<1> _n480<1> |
|---|
| 4408 | .def 0 |
|---|
| 4409 | 0 1 1 |
|---|
| 4410 | 1 0 1 |
|---|
| 4411 | .names _n480<0> _n480<1> _n481 |
|---|
| 4412 | .def 1 |
|---|
| 4413 | 0 0 0 |
|---|
| 4414 | .names _n481 _n47f |
|---|
| 4415 | 0 1 |
|---|
| 4416 | 1 0 |
|---|
| 4417 | .names _n478 up_floor_buttons<*1*> _n47f up_floor_buttons$random_up_n477$true<*1*> |
|---|
| 4418 | - - 0 =up_floor_buttons<*1*> |
|---|
| 4419 | - - 1 =_n478 |
|---|
| 4420 | .names _n482<0> |
|---|
| 4421 | 0 |
|---|
| 4422 | .names _n482<1> |
|---|
| 4423 | 1 |
|---|
| 4424 | .names _n482<0> _n479<0> _n484<0> |
|---|
| 4425 | .def 0 |
|---|
| 4426 | 0 1 1 |
|---|
| 4427 | 1 0 1 |
|---|
| 4428 | .names _n482<1> _n479<1> _n484<1> |
|---|
| 4429 | .def 0 |
|---|
| 4430 | 0 1 1 |
|---|
| 4431 | 1 0 1 |
|---|
| 4432 | .names _n484<0> _n484<1> _n485 |
|---|
| 4433 | .def 1 |
|---|
| 4434 | 0 0 0 |
|---|
| 4435 | .names _n485 _n483 |
|---|
| 4436 | 0 1 |
|---|
| 4437 | 1 0 |
|---|
| 4438 | .names _n478 up_floor_buttons<*2*> _n483 up_floor_buttons$random_up_n477$true<*2*> |
|---|
| 4439 | - - 0 =up_floor_buttons<*2*> |
|---|
| 4440 | - - 1 =_n478 |
|---|
| 4441 | .names _n478 |
|---|
| 4442 | ON |
|---|
| 4443 | # if/else (random_up [0]) |
|---|
| 4444 | .mv up_floor_buttons$random_up$raw_n488<*0*> 2 ON OFF |
|---|
| 4445 | .mv up_floor_buttons$random_up$raw_n488<*1*> 2 ON OFF |
|---|
| 4446 | .mv up_floor_buttons$random_up$raw_n488<*2*> 2 ON OFF |
|---|
| 4447 | .names random_up<0> _n489 |
|---|
| 4448 | .def 1 |
|---|
| 4449 | 0 0 |
|---|
| 4450 | .names up_floor_buttons$random_up_n477$true<*0*> up_floor_buttons<*0*> _n489 up_floor_buttons$random_up$raw_n488<*0*> |
|---|
| 4451 | - - 0 =up_floor_buttons<*0*> |
|---|
| 4452 | - - 1 =up_floor_buttons$random_up_n477$true<*0*> |
|---|
| 4453 | .names up_floor_buttons$random_up_n477$true<*1*> up_floor_buttons<*1*> _n489 up_floor_buttons$random_up$raw_n488<*1*> |
|---|
| 4454 | - - 0 =up_floor_buttons<*1*> |
|---|
| 4455 | - - 1 =up_floor_buttons$random_up_n477$true<*1*> |
|---|
| 4456 | .names up_floor_buttons$random_up_n477$true<*2*> up_floor_buttons<*2*> _n489 up_floor_buttons$random_up$raw_n488<*2*> |
|---|
| 4457 | - - 0 =up_floor_buttons<*2*> |
|---|
| 4458 | - - 1 =up_floor_buttons$random_up_n477$true<*2*> |
|---|
| 4459 | .names random_down<0> _n48b |
|---|
| 4460 | .def 1 |
|---|
| 4461 | 0 0 |
|---|
| 4462 | .names _n48b _n48a |
|---|
| 4463 | - =_n48b |
|---|
| 4464 | # down_floor_buttons [0] = 0 |
|---|
| 4465 | .mv down_floor_buttons$random_down_n48c$true<*0*> 2 ON OFF |
|---|
| 4466 | .mv down_floor_buttons$random_down_n48c$true<*1*> 2 ON OFF |
|---|
| 4467 | .mv down_floor_buttons$random_down_n48c$true<*2*> 2 ON OFF |
|---|
| 4468 | .mv _n48d 2 ON OFF |
|---|
| 4469 | .names _n48e<0> |
|---|
| 4470 | 0 |
|---|
| 4471 | .names _n48e<1> |
|---|
| 4472 | 0 |
|---|
| 4473 | .names _n48f<0> |
|---|
| 4474 | 0 |
|---|
| 4475 | .names _n48f<1> |
|---|
| 4476 | 0 |
|---|
| 4477 | .names _n48f<0> _n48e<0> _n491<0> |
|---|
| 4478 | .def 0 |
|---|
| 4479 | 0 1 1 |
|---|
| 4480 | 1 0 1 |
|---|
| 4481 | .names _n48f<1> _n48e<1> _n491<1> |
|---|
| 4482 | .def 0 |
|---|
| 4483 | 0 1 1 |
|---|
| 4484 | 1 0 1 |
|---|
| 4485 | .names _n491<0> _n491<1> _n492 |
|---|
| 4486 | .def 1 |
|---|
| 4487 | 0 0 0 |
|---|
| 4488 | .names _n492 _n490 |
|---|
| 4489 | 0 1 |
|---|
| 4490 | 1 0 |
|---|
| 4491 | .names _n48d down_floor_buttons<*0*> _n490 down_floor_buttons$random_down_n48c$true<*0*> |
|---|
| 4492 | - - 0 =down_floor_buttons<*0*> |
|---|
| 4493 | - - 1 =_n48d |
|---|
| 4494 | .names _n493<0> |
|---|
| 4495 | 1 |
|---|
| 4496 | .names _n493<1> |
|---|
| 4497 | 0 |
|---|
| 4498 | .names _n493<0> _n48e<0> _n495<0> |
|---|
| 4499 | .def 0 |
|---|
| 4500 | 0 1 1 |
|---|
| 4501 | 1 0 1 |
|---|
| 4502 | .names _n493<1> _n48e<1> _n495<1> |
|---|
| 4503 | .def 0 |
|---|
| 4504 | 0 1 1 |
|---|
| 4505 | 1 0 1 |
|---|
| 4506 | .names _n495<0> _n495<1> _n496 |
|---|
| 4507 | .def 1 |
|---|
| 4508 | 0 0 0 |
|---|
| 4509 | .names _n496 _n494 |
|---|
| 4510 | 0 1 |
|---|
| 4511 | 1 0 |
|---|
| 4512 | .names _n48d down_floor_buttons<*1*> _n494 down_floor_buttons$random_down_n48c$true<*1*> |
|---|
| 4513 | - - 0 =down_floor_buttons<*1*> |
|---|
| 4514 | - - 1 =_n48d |
|---|
| 4515 | .names _n497<0> |
|---|
| 4516 | 0 |
|---|
| 4517 | .names _n497<1> |
|---|
| 4518 | 1 |
|---|
| 4519 | .names _n497<0> _n48e<0> _n499<0> |
|---|
| 4520 | .def 0 |
|---|
| 4521 | 0 1 1 |
|---|
| 4522 | 1 0 1 |
|---|
| 4523 | .names _n497<1> _n48e<1> _n499<1> |
|---|
| 4524 | .def 0 |
|---|
| 4525 | 0 1 1 |
|---|
| 4526 | 1 0 1 |
|---|
| 4527 | .names _n499<0> _n499<1> _n49a |
|---|
| 4528 | .def 1 |
|---|
| 4529 | 0 0 0 |
|---|
| 4530 | .names _n49a _n498 |
|---|
| 4531 | 0 1 |
|---|
| 4532 | 1 0 |
|---|
| 4533 | .names _n48d down_floor_buttons<*2*> _n498 down_floor_buttons$random_down_n48c$true<*2*> |
|---|
| 4534 | - - 0 =down_floor_buttons<*2*> |
|---|
| 4535 | - - 1 =_n48d |
|---|
| 4536 | .names _n48d |
|---|
| 4537 | ON |
|---|
| 4538 | # if/else (random_down [0]) |
|---|
| 4539 | .mv down_floor_buttons$random_down$raw_n49f<*0*> 2 ON OFF |
|---|
| 4540 | .mv down_floor_buttons$random_down$raw_n49f<*1*> 2 ON OFF |
|---|
| 4541 | .mv down_floor_buttons$random_down$raw_n49f<*2*> 2 ON OFF |
|---|
| 4542 | .names random_down<0> _n4a0 |
|---|
| 4543 | .def 1 |
|---|
| 4544 | 0 0 |
|---|
| 4545 | .names down_floor_buttons$random_down_n48c$true<*0*> down_floor_buttons<*0*> _n4a0 down_floor_buttons$random_down$raw_n49f<*0*> |
|---|
| 4546 | - - 0 =down_floor_buttons<*0*> |
|---|
| 4547 | - - 1 =down_floor_buttons$random_down_n48c$true<*0*> |
|---|
| 4548 | .names down_floor_buttons$random_down_n48c$true<*1*> down_floor_buttons<*1*> _n4a0 down_floor_buttons$random_down$raw_n49f<*1*> |
|---|
| 4549 | - - 0 =down_floor_buttons<*1*> |
|---|
| 4550 | - - 1 =down_floor_buttons$random_down_n48c$true<*1*> |
|---|
| 4551 | .names down_floor_buttons$random_down_n48c$true<*2*> down_floor_buttons<*2*> _n4a0 down_floor_buttons$random_down$raw_n49f<*2*> |
|---|
| 4552 | - - 0 =down_floor_buttons<*2*> |
|---|
| 4553 | - - 1 =down_floor_buttons$random_down_n48c$true<*2*> |
|---|
| 4554 | .names random_up<1> _n4a4 |
|---|
| 4555 | .def 1 |
|---|
| 4556 | 0 0 |
|---|
| 4557 | .names _n4a4 _n4a3 |
|---|
| 4558 | - =_n4a4 |
|---|
| 4559 | # up_floor_buttons [1] = 0 |
|---|
| 4560 | .mv up_floor_buttons$random_up_n4a5$true<*0*> 2 ON OFF |
|---|
| 4561 | .mv up_floor_buttons$random_up_n4a5$true<*1*> 2 ON OFF |
|---|
| 4562 | .mv up_floor_buttons$random_up_n4a5$true<*2*> 2 ON OFF |
|---|
| 4563 | .mv _n4a6 2 ON OFF |
|---|
| 4564 | .names _n4a7<0> |
|---|
| 4565 | 1 |
|---|
| 4566 | .names _n4a7<1> |
|---|
| 4567 | 0 |
|---|
| 4568 | .names _n4a8<0> |
|---|
| 4569 | 0 |
|---|
| 4570 | .names _n4a8<1> |
|---|
| 4571 | 0 |
|---|
| 4572 | .names _n4a8<0> _n4a7<0> _n4aa<0> |
|---|
| 4573 | .def 0 |
|---|
| 4574 | 0 1 1 |
|---|
| 4575 | 1 0 1 |
|---|
| 4576 | .names _n4a8<1> _n4a7<1> _n4aa<1> |
|---|
| 4577 | .def 0 |
|---|
| 4578 | 0 1 1 |
|---|
| 4579 | 1 0 1 |
|---|
| 4580 | .names _n4aa<0> _n4aa<1> _n4ab |
|---|
| 4581 | .def 1 |
|---|
| 4582 | 0 0 0 |
|---|
| 4583 | .names _n4ab _n4a9 |
|---|
| 4584 | 0 1 |
|---|
| 4585 | 1 0 |
|---|
| 4586 | .names _n4a6 up_floor_buttons$random_up$raw_n488<*0*> _n4a9 up_floor_buttons$random_up_n4a5$true<*0*> |
|---|
| 4587 | - - 0 =up_floor_buttons$random_up$raw_n488<*0*> |
|---|
| 4588 | - - 1 =_n4a6 |
|---|
| 4589 | .names _n4ac<0> |
|---|
| 4590 | 1 |
|---|
| 4591 | .names _n4ac<1> |
|---|
| 4592 | 0 |
|---|
| 4593 | .names _n4ac<0> _n4a7<0> _n4ae<0> |
|---|
| 4594 | .def 0 |
|---|
| 4595 | 0 1 1 |
|---|
| 4596 | 1 0 1 |
|---|
| 4597 | .names _n4ac<1> _n4a7<1> _n4ae<1> |
|---|
| 4598 | .def 0 |
|---|
| 4599 | 0 1 1 |
|---|
| 4600 | 1 0 1 |
|---|
| 4601 | .names _n4ae<0> _n4ae<1> _n4af |
|---|
| 4602 | .def 1 |
|---|
| 4603 | 0 0 0 |
|---|
| 4604 | .names _n4af _n4ad |
|---|
| 4605 | 0 1 |
|---|
| 4606 | 1 0 |
|---|
| 4607 | .names _n4a6 up_floor_buttons$random_up$raw_n488<*1*> _n4ad up_floor_buttons$random_up_n4a5$true<*1*> |
|---|
| 4608 | - - 0 =up_floor_buttons$random_up$raw_n488<*1*> |
|---|
| 4609 | - - 1 =_n4a6 |
|---|
| 4610 | .names _n4b0<0> |
|---|
| 4611 | 0 |
|---|
| 4612 | .names _n4b0<1> |
|---|
| 4613 | 1 |
|---|
| 4614 | .names _n4b0<0> _n4a7<0> _n4b2<0> |
|---|
| 4615 | .def 0 |
|---|
| 4616 | 0 1 1 |
|---|
| 4617 | 1 0 1 |
|---|
| 4618 | .names _n4b0<1> _n4a7<1> _n4b2<1> |
|---|
| 4619 | .def 0 |
|---|
| 4620 | 0 1 1 |
|---|
| 4621 | 1 0 1 |
|---|
| 4622 | .names _n4b2<0> _n4b2<1> _n4b3 |
|---|
| 4623 | .def 1 |
|---|
| 4624 | 0 0 0 |
|---|
| 4625 | .names _n4b3 _n4b1 |
|---|
| 4626 | 0 1 |
|---|
| 4627 | 1 0 |
|---|
| 4628 | .names _n4a6 up_floor_buttons$random_up$raw_n488<*2*> _n4b1 up_floor_buttons$random_up_n4a5$true<*2*> |
|---|
| 4629 | - - 0 =up_floor_buttons$random_up$raw_n488<*2*> |
|---|
| 4630 | - - 1 =_n4a6 |
|---|
| 4631 | .names _n4a6 |
|---|
| 4632 | ON |
|---|
| 4633 | # if/else (random_up [1]) |
|---|
| 4634 | .mv up_floor_buttons$random_up$raw_n4b5<*0*> 2 ON OFF |
|---|
| 4635 | .mv up_floor_buttons$random_up$raw_n4b5<*1*> 2 ON OFF |
|---|
| 4636 | .mv up_floor_buttons$random_up$raw_n4b5<*2*> 2 ON OFF |
|---|
| 4637 | .names random_up<1> _n4b6 |
|---|
| 4638 | .def 1 |
|---|
| 4639 | 0 0 |
|---|
| 4640 | .names up_floor_buttons$random_up_n4a5$true<*0*> up_floor_buttons$random_up$raw_n488<*0*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*0*> |
|---|
| 4641 | - - 0 =up_floor_buttons$random_up$raw_n488<*0*> |
|---|
| 4642 | - - 1 =up_floor_buttons$random_up_n4a5$true<*0*> |
|---|
| 4643 | .names up_floor_buttons$random_up_n4a5$true<*1*> up_floor_buttons$random_up$raw_n488<*1*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*1*> |
|---|
| 4644 | - - 0 =up_floor_buttons$random_up$raw_n488<*1*> |
|---|
| 4645 | - - 1 =up_floor_buttons$random_up_n4a5$true<*1*> |
|---|
| 4646 | .names up_floor_buttons$random_up_n4a5$true<*2*> up_floor_buttons$random_up$raw_n488<*2*> _n4b6 up_floor_buttons$random_up$raw_n4b5<*2*> |
|---|
| 4647 | - - 0 =up_floor_buttons$random_up$raw_n488<*2*> |
|---|
| 4648 | - - 1 =up_floor_buttons$random_up_n4a5$true<*2*> |
|---|
| 4649 | .names random_down<1> _n4be |
|---|
| 4650 | .def 1 |
|---|
| 4651 | 0 0 |
|---|
| 4652 | .names _n4be _n4bd |
|---|
| 4653 | - =_n4be |
|---|
| 4654 | # down_floor_buttons [1] = 0 |
|---|
| 4655 | .mv down_floor_buttons$random_down_n4bf$true<*0*> 2 ON OFF |
|---|
| 4656 | .mv down_floor_buttons$random_down_n4bf$true<*1*> 2 ON OFF |
|---|
| 4657 | .mv down_floor_buttons$random_down_n4bf$true<*2*> 2 ON OFF |
|---|
| 4658 | .mv _n4c0 2 ON OFF |
|---|
| 4659 | .names _n4c1<0> |
|---|
| 4660 | 1 |
|---|
| 4661 | .names _n4c1<1> |
|---|
| 4662 | 0 |
|---|
| 4663 | .names _n4c2<0> |
|---|
| 4664 | 0 |
|---|
| 4665 | .names _n4c2<1> |
|---|
| 4666 | 0 |
|---|
| 4667 | .names _n4c2<0> _n4c1<0> _n4c4<0> |
|---|
| 4668 | .def 0 |
|---|
| 4669 | 0 1 1 |
|---|
| 4670 | 1 0 1 |
|---|
| 4671 | .names _n4c2<1> _n4c1<1> _n4c4<1> |
|---|
| 4672 | .def 0 |
|---|
| 4673 | 0 1 1 |
|---|
| 4674 | 1 0 1 |
|---|
| 4675 | .names _n4c4<0> _n4c4<1> _n4c5 |
|---|
| 4676 | .def 1 |
|---|
| 4677 | 0 0 0 |
|---|
| 4678 | .names _n4c5 _n4c3 |
|---|
| 4679 | 0 1 |
|---|
| 4680 | 1 0 |
|---|
| 4681 | .names _n4c0 down_floor_buttons$random_down$raw_n49f<*0*> _n4c3 down_floor_buttons$random_down_n4bf$true<*0*> |
|---|
| 4682 | - - 0 =down_floor_buttons$random_down$raw_n49f<*0*> |
|---|
| 4683 | - - 1 =_n4c0 |
|---|
| 4684 | .names _n4c6<0> |
|---|
| 4685 | 1 |
|---|
| 4686 | .names _n4c6<1> |
|---|
| 4687 | 0 |
|---|
| 4688 | .names _n4c6<0> _n4c1<0> _n4c8<0> |
|---|
| 4689 | .def 0 |
|---|
| 4690 | 0 1 1 |
|---|
| 4691 | 1 0 1 |
|---|
| 4692 | .names _n4c6<1> _n4c1<1> _n4c8<1> |
|---|
| 4693 | .def 0 |
|---|
| 4694 | 0 1 1 |
|---|
| 4695 | 1 0 1 |
|---|
| 4696 | .names _n4c8<0> _n4c8<1> _n4c9 |
|---|
| 4697 | .def 1 |
|---|
| 4698 | 0 0 0 |
|---|
| 4699 | .names _n4c9 _n4c7 |
|---|
| 4700 | 0 1 |
|---|
| 4701 | 1 0 |
|---|
| 4702 | .names _n4c0 down_floor_buttons$random_down$raw_n49f<*1*> _n4c7 down_floor_buttons$random_down_n4bf$true<*1*> |
|---|
| 4703 | - - 0 =down_floor_buttons$random_down$raw_n49f<*1*> |
|---|
| 4704 | - - 1 =_n4c0 |
|---|
| 4705 | .names _n4ca<0> |
|---|
| 4706 | 0 |
|---|
| 4707 | .names _n4ca<1> |
|---|
| 4708 | 1 |
|---|
| 4709 | .names _n4ca<0> _n4c1<0> _n4cc<0> |
|---|
| 4710 | .def 0 |
|---|
| 4711 | 0 1 1 |
|---|
| 4712 | 1 0 1 |
|---|
| 4713 | .names _n4ca<1> _n4c1<1> _n4cc<1> |
|---|
| 4714 | .def 0 |
|---|
| 4715 | 0 1 1 |
|---|
| 4716 | 1 0 1 |
|---|
| 4717 | .names _n4cc<0> _n4cc<1> _n4cd |
|---|
| 4718 | .def 1 |
|---|
| 4719 | 0 0 0 |
|---|
| 4720 | .names _n4cd _n4cb |
|---|
| 4721 | 0 1 |
|---|
| 4722 | 1 0 |
|---|
| 4723 | .names _n4c0 down_floor_buttons$random_down$raw_n49f<*2*> _n4cb down_floor_buttons$random_down_n4bf$true<*2*> |
|---|
| 4724 | - - 0 =down_floor_buttons$random_down$raw_n49f<*2*> |
|---|
| 4725 | - - 1 =_n4c0 |
|---|
| 4726 | .names _n4c0 |
|---|
| 4727 | ON |
|---|
| 4728 | # if/else (random_down [1]) |
|---|
| 4729 | .mv down_floor_buttons$random_down$raw_n4ce<*0*> 2 ON OFF |
|---|
| 4730 | .mv down_floor_buttons$random_down$raw_n4ce<*1*> 2 ON OFF |
|---|
| 4731 | .mv down_floor_buttons$random_down$raw_n4ce<*2*> 2 ON OFF |
|---|
| 4732 | .names random_down<1> _n4cf |
|---|
| 4733 | .def 1 |
|---|
| 4734 | 0 0 |
|---|
| 4735 | .names down_floor_buttons$random_down_n4bf$true<*0*> down_floor_buttons$random_down$raw_n49f<*0*> _n4cf down_floor_buttons$random_down$raw_n4ce<*0*> |
|---|
| 4736 | - - 0 =down_floor_buttons$random_down$raw_n49f<*0*> |
|---|
| 4737 | - - 1 =down_floor_buttons$random_down_n4bf$true<*0*> |
|---|
| 4738 | .names down_floor_buttons$random_down_n4bf$true<*1*> down_floor_buttons$random_down$raw_n49f<*1*> _n4cf down_floor_buttons$random_down$raw_n4ce<*1*> |
|---|
| 4739 | - - 0 =down_floor_buttons$random_down$raw_n49f<*1*> |
|---|
| 4740 | - - 1 =down_floor_buttons$random_down_n4bf$true<*1*> |
|---|
| 4741 | .names down_floor_buttons$random_down_n4bf$true<*2*> down_floor_buttons$random_down$raw_n49f<*2*> _n4cf down_floor_buttons$random_down$raw_n4ce<*2*> |
|---|
| 4742 | - - 0 =down_floor_buttons$random_down$raw_n49f<*2*> |
|---|
| 4743 | - - 1 =down_floor_buttons$random_down_n4bf$true<*2*> |
|---|
| 4744 | .names random_up<2> _n4d8 |
|---|
| 4745 | .def 1 |
|---|
| 4746 | 0 0 |
|---|
| 4747 | .names _n4d8 _n4d7 |
|---|
| 4748 | - =_n4d8 |
|---|
| 4749 | # up_floor_buttons [2] = 0 |
|---|
| 4750 | .mv up_floor_buttons$random_up_n4d9$true<*0*> 2 ON OFF |
|---|
| 4751 | .mv up_floor_buttons$random_up_n4d9$true<*1*> 2 ON OFF |
|---|
| 4752 | .mv up_floor_buttons$random_up_n4d9$true<*2*> 2 ON OFF |
|---|
| 4753 | .mv _n4da 2 ON OFF |
|---|
| 4754 | .names _n4db<0> |
|---|
| 4755 | 0 |
|---|
| 4756 | .names _n4db<1> |
|---|
| 4757 | 1 |
|---|
| 4758 | .names _n4dc<0> |
|---|
| 4759 | 0 |
|---|
| 4760 | .names _n4dc<1> |
|---|
| 4761 | 0 |
|---|
| 4762 | .names _n4dc<0> _n4db<0> _n4de<0> |
|---|
| 4763 | .def 0 |
|---|
| 4764 | 0 1 1 |
|---|
| 4765 | 1 0 1 |
|---|
| 4766 | .names _n4dc<1> _n4db<1> _n4de<1> |
|---|
| 4767 | .def 0 |
|---|
| 4768 | 0 1 1 |
|---|
| 4769 | 1 0 1 |
|---|
| 4770 | .names _n4de<0> _n4de<1> _n4df |
|---|
| 4771 | .def 1 |
|---|
| 4772 | 0 0 0 |
|---|
| 4773 | .names _n4df _n4dd |
|---|
| 4774 | 0 1 |
|---|
| 4775 | 1 0 |
|---|
| 4776 | .names _n4da up_floor_buttons$random_up$raw_n4b5<*0*> _n4dd up_floor_buttons$random_up_n4d9$true<*0*> |
|---|
| 4777 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*0*> |
|---|
| 4778 | - - 1 =_n4da |
|---|
| 4779 | .names _n4e0<0> |
|---|
| 4780 | 1 |
|---|
| 4781 | .names _n4e0<1> |
|---|
| 4782 | 0 |
|---|
| 4783 | .names _n4e0<0> _n4db<0> _n4e2<0> |
|---|
| 4784 | .def 0 |
|---|
| 4785 | 0 1 1 |
|---|
| 4786 | 1 0 1 |
|---|
| 4787 | .names _n4e0<1> _n4db<1> _n4e2<1> |
|---|
| 4788 | .def 0 |
|---|
| 4789 | 0 1 1 |
|---|
| 4790 | 1 0 1 |
|---|
| 4791 | .names _n4e2<0> _n4e2<1> _n4e3 |
|---|
| 4792 | .def 1 |
|---|
| 4793 | 0 0 0 |
|---|
| 4794 | .names _n4e3 _n4e1 |
|---|
| 4795 | 0 1 |
|---|
| 4796 | 1 0 |
|---|
| 4797 | .names _n4da up_floor_buttons$random_up$raw_n4b5<*1*> _n4e1 up_floor_buttons$random_up_n4d9$true<*1*> |
|---|
| 4798 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*1*> |
|---|
| 4799 | - - 1 =_n4da |
|---|
| 4800 | .names _n4e4<0> |
|---|
| 4801 | 0 |
|---|
| 4802 | .names _n4e4<1> |
|---|
| 4803 | 1 |
|---|
| 4804 | .names _n4e4<0> _n4db<0> _n4e6<0> |
|---|
| 4805 | .def 0 |
|---|
| 4806 | 0 1 1 |
|---|
| 4807 | 1 0 1 |
|---|
| 4808 | .names _n4e4<1> _n4db<1> _n4e6<1> |
|---|
| 4809 | .def 0 |
|---|
| 4810 | 0 1 1 |
|---|
| 4811 | 1 0 1 |
|---|
| 4812 | .names _n4e6<0> _n4e6<1> _n4e7 |
|---|
| 4813 | .def 1 |
|---|
| 4814 | 0 0 0 |
|---|
| 4815 | .names _n4e7 _n4e5 |
|---|
| 4816 | 0 1 |
|---|
| 4817 | 1 0 |
|---|
| 4818 | .names _n4da up_floor_buttons$random_up$raw_n4b5<*2*> _n4e5 up_floor_buttons$random_up_n4d9$true<*2*> |
|---|
| 4819 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*2*> |
|---|
| 4820 | - - 1 =_n4da |
|---|
| 4821 | .names _n4da |
|---|
| 4822 | ON |
|---|
| 4823 | # if/else (random_up [2]) |
|---|
| 4824 | .mv up_floor_buttons$random_up$raw_n4e9<*0*> 2 ON OFF |
|---|
| 4825 | .mv up_floor_buttons$random_up$raw_n4e9<*1*> 2 ON OFF |
|---|
| 4826 | .mv up_floor_buttons$random_up$raw_n4e9<*2*> 2 ON OFF |
|---|
| 4827 | .names random_up<2> _n4ea |
|---|
| 4828 | .def 1 |
|---|
| 4829 | 0 0 |
|---|
| 4830 | .names up_floor_buttons$random_up_n4d9$true<*0*> up_floor_buttons$random_up$raw_n4b5<*0*> _n4ea up_floor_buttons$random_up$raw_n4e9<*0*> |
|---|
| 4831 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*0*> |
|---|
| 4832 | - - 1 =up_floor_buttons$random_up_n4d9$true<*0*> |
|---|
| 4833 | .names up_floor_buttons$random_up_n4d9$true<*1*> up_floor_buttons$random_up$raw_n4b5<*1*> _n4ea up_floor_buttons$random_up$raw_n4e9<*1*> |
|---|
| 4834 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*1*> |
|---|
| 4835 | - - 1 =up_floor_buttons$random_up_n4d9$true<*1*> |
|---|
| 4836 | .names up_floor_buttons$random_up_n4d9$true<*2*> up_floor_buttons$random_up$raw_n4b5<*2*> _n4ea up_floor_buttons$random_up$raw_n4e9<*2*> |
|---|
| 4837 | - - 0 =up_floor_buttons$random_up$raw_n4b5<*2*> |
|---|
| 4838 | - - 1 =up_floor_buttons$random_up_n4d9$true<*2*> |
|---|
| 4839 | .names random_down<2> _n4f2 |
|---|
| 4840 | .def 1 |
|---|
| 4841 | 0 0 |
|---|
| 4842 | .names _n4f2 _n4f1 |
|---|
| 4843 | - =_n4f2 |
|---|
| 4844 | # down_floor_buttons [2] = 0 |
|---|
| 4845 | .mv down_floor_buttons$random_down_n4f3$true<*0*> 2 ON OFF |
|---|
| 4846 | .mv down_floor_buttons$random_down_n4f3$true<*1*> 2 ON OFF |
|---|
| 4847 | .mv down_floor_buttons$random_down_n4f3$true<*2*> 2 ON OFF |
|---|
| 4848 | .mv _n4f4 2 ON OFF |
|---|
| 4849 | .names _n4f5<0> |
|---|
| 4850 | 0 |
|---|
| 4851 | .names _n4f5<1> |
|---|
| 4852 | 1 |
|---|
| 4853 | .names _n4f6<0> |
|---|
| 4854 | 0 |
|---|
| 4855 | .names _n4f6<1> |
|---|
| 4856 | 0 |
|---|
| 4857 | .names _n4f6<0> _n4f5<0> _n4f8<0> |
|---|
| 4858 | .def 0 |
|---|
| 4859 | 0 1 1 |
|---|
| 4860 | 1 0 1 |
|---|
| 4861 | .names _n4f6<1> _n4f5<1> _n4f8<1> |
|---|
| 4862 | .def 0 |
|---|
| 4863 | 0 1 1 |
|---|
| 4864 | 1 0 1 |
|---|
| 4865 | .names _n4f8<0> _n4f8<1> _n4f9 |
|---|
| 4866 | .def 1 |
|---|
| 4867 | 0 0 0 |
|---|
| 4868 | .names _n4f9 _n4f7 |
|---|
| 4869 | 0 1 |
|---|
| 4870 | 1 0 |
|---|
| 4871 | .names _n4f4 down_floor_buttons$random_down$raw_n4ce<*0*> _n4f7 down_floor_buttons$random_down_n4f3$true<*0*> |
|---|
| 4872 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*0*> |
|---|
| 4873 | - - 1 =_n4f4 |
|---|
| 4874 | .names _n4fa<0> |
|---|
| 4875 | 1 |
|---|
| 4876 | .names _n4fa<1> |
|---|
| 4877 | 0 |
|---|
| 4878 | .names _n4fa<0> _n4f5<0> _n4fc<0> |
|---|
| 4879 | .def 0 |
|---|
| 4880 | 0 1 1 |
|---|
| 4881 | 1 0 1 |
|---|
| 4882 | .names _n4fa<1> _n4f5<1> _n4fc<1> |
|---|
| 4883 | .def 0 |
|---|
| 4884 | 0 1 1 |
|---|
| 4885 | 1 0 1 |
|---|
| 4886 | .names _n4fc<0> _n4fc<1> _n4fd |
|---|
| 4887 | .def 1 |
|---|
| 4888 | 0 0 0 |
|---|
| 4889 | .names _n4fd _n4fb |
|---|
| 4890 | 0 1 |
|---|
| 4891 | 1 0 |
|---|
| 4892 | .names _n4f4 down_floor_buttons$random_down$raw_n4ce<*1*> _n4fb down_floor_buttons$random_down_n4f3$true<*1*> |
|---|
| 4893 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*1*> |
|---|
| 4894 | - - 1 =_n4f4 |
|---|
| 4895 | .names _n4fe<0> |
|---|
| 4896 | 0 |
|---|
| 4897 | .names _n4fe<1> |
|---|
| 4898 | 1 |
|---|
| 4899 | .names _n4fe<0> _n4f5<0> _n500<0> |
|---|
| 4900 | .def 0 |
|---|
| 4901 | 0 1 1 |
|---|
| 4902 | 1 0 1 |
|---|
| 4903 | .names _n4fe<1> _n4f5<1> _n500<1> |
|---|
| 4904 | .def 0 |
|---|
| 4905 | 0 1 1 |
|---|
| 4906 | 1 0 1 |
|---|
| 4907 | .names _n500<0> _n500<1> _n501 |
|---|
| 4908 | .def 1 |
|---|
| 4909 | 0 0 0 |
|---|
| 4910 | .names _n501 _n4ff |
|---|
| 4911 | 0 1 |
|---|
| 4912 | 1 0 |
|---|
| 4913 | .names _n4f4 down_floor_buttons$random_down$raw_n4ce<*2*> _n4ff down_floor_buttons$random_down_n4f3$true<*2*> |
|---|
| 4914 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*2*> |
|---|
| 4915 | - - 1 =_n4f4 |
|---|
| 4916 | .names _n4f4 |
|---|
| 4917 | ON |
|---|
| 4918 | # if/else (random_down [2]) |
|---|
| 4919 | .mv down_floor_buttons$random_down$raw_n502<*0*> 2 ON OFF |
|---|
| 4920 | .mv down_floor_buttons$random_down$raw_n502<*1*> 2 ON OFF |
|---|
| 4921 | .mv down_floor_buttons$random_down$raw_n502<*2*> 2 ON OFF |
|---|
| 4922 | .names random_down<2> _n503 |
|---|
| 4923 | .def 1 |
|---|
| 4924 | 0 0 |
|---|
| 4925 | .names down_floor_buttons$random_down_n4f3$true<*0*> down_floor_buttons$random_down$raw_n4ce<*0*> _n503 down_floor_buttons$random_down$raw_n502<*0*> |
|---|
| 4926 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*0*> |
|---|
| 4927 | - - 1 =down_floor_buttons$random_down_n4f3$true<*0*> |
|---|
| 4928 | .names down_floor_buttons$random_down_n4f3$true<*1*> down_floor_buttons$random_down$raw_n4ce<*1*> _n503 down_floor_buttons$random_down$raw_n502<*1*> |
|---|
| 4929 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*1*> |
|---|
| 4930 | - - 1 =down_floor_buttons$random_down_n4f3$true<*1*> |
|---|
| 4931 | .names down_floor_buttons$random_down_n4f3$true<*2*> down_floor_buttons$random_down$raw_n4ce<*2*> _n503 down_floor_buttons$random_down$raw_n502<*2*> |
|---|
| 4932 | - - 0 =down_floor_buttons$random_down$raw_n4ce<*2*> |
|---|
| 4933 | - - 1 =down_floor_buttons$random_down_n4f3$true<*2*> |
|---|
| 4934 | .names _n50c<0> |
|---|
| 4935 | 1 |
|---|
| 4936 | .names _n50c<1> |
|---|
| 4937 | 0 |
|---|
| 4938 | .names locations<*1*><0> locations<*2*><0> _n50c<1> _n50c<0> _n50d<0> |
|---|
| 4939 | - - 0 0 0 |
|---|
| 4940 | - - 0 0 0 |
|---|
| 4941 | 0 - 0 1 0 |
|---|
| 4942 | 1 - 0 1 1 |
|---|
| 4943 | - 0 1 0 0 |
|---|
| 4944 | - 1 1 0 1 |
|---|
| 4945 | - - 1 1 0 |
|---|
| 4946 | - - 1 1 0 |
|---|
| 4947 | .names locations<*1*><1> locations<*2*><1> _n50c<1> _n50c<0> _n50d<1> |
|---|
| 4948 | - - 0 0 0 |
|---|
| 4949 | - - 0 0 0 |
|---|
| 4950 | 0 - 0 1 0 |
|---|
| 4951 | 1 - 0 1 1 |
|---|
| 4952 | - 0 1 0 0 |
|---|
| 4953 | - 1 1 0 1 |
|---|
| 4954 | - - 1 1 0 |
|---|
| 4955 | - - 1 1 0 |
|---|
| 4956 | .names _n50e<0> |
|---|
| 4957 | 1 |
|---|
| 4958 | .names _n50e<1> |
|---|
| 4959 | 1 |
|---|
| 4960 | .names _n50f<0> |
|---|
| 4961 | 1 |
|---|
| 4962 | .names _n50f<1> |
|---|
| 4963 | 0 |
|---|
| 4964 | # 3 - 1 |
|---|
| 4965 | .names _n511 |
|---|
| 4966 | 0 |
|---|
| 4967 | .names _n50e<0> _n50f<0> _n511 _n510<0> |
|---|
| 4968 | .def 0 |
|---|
| 4969 | 0 0 1 1 |
|---|
| 4970 | 0 1 0 1 |
|---|
| 4971 | 1 0 0 1 |
|---|
| 4972 | 1 1 1 1 |
|---|
| 4973 | # carry/borrow |
|---|
| 4974 | .names _n513 |
|---|
| 4975 | 0 |
|---|
| 4976 | .names _n50e<0> _n50f<0> _n513 _n512 |
|---|
| 4977 | .def 0 |
|---|
| 4978 | 0 0 1 1 |
|---|
| 4979 | 0 1 0 1 |
|---|
| 4980 | 0 1 1 1 |
|---|
| 4981 | 1 1 1 1 |
|---|
| 4982 | .names _n50e<1> _n50f<1> _n512 _n510<1> |
|---|
| 4983 | .def 0 |
|---|
| 4984 | 0 0 1 1 |
|---|
| 4985 | 0 1 0 1 |
|---|
| 4986 | 1 0 0 1 |
|---|
| 4987 | 1 1 1 1 |
|---|
| 4988 | # locations [1] != 3 - 1 |
|---|
| 4989 | .names _n50d<0> _n510<0> _n514<0> |
|---|
| 4990 | .def 0 |
|---|
| 4991 | 0 1 1 |
|---|
| 4992 | 1 0 1 |
|---|
| 4993 | .names _n50d<1> _n510<1> _n514<1> |
|---|
| 4994 | .def 0 |
|---|
| 4995 | 0 1 1 |
|---|
| 4996 | 1 0 1 |
|---|
| 4997 | .names _n514<0> _n514<1> _n515 |
|---|
| 4998 | .def 1 |
|---|
| 4999 | 0 0 0 |
|---|
| 5000 | .names _n515 _n50b |
|---|
| 5001 | - =_n515 |
|---|
| 5002 | .names _n517<0> |
|---|
| 5003 | 1 |
|---|
| 5004 | .names _n517<1> |
|---|
| 5005 | 0 |
|---|
| 5006 | .mv _n518 2 UP DOWN |
|---|
| 5007 | .names direction<*1*> direction<*2*> _n517<1> _n517<0> _n518 |
|---|
| 5008 | - - 0 0 UP |
|---|
| 5009 | - - 0 1 =direction<*1*> |
|---|
| 5010 | - - 1 0 =direction<*2*> |
|---|
| 5011 | - - 1 1 UP |
|---|
| 5012 | .mv _n519 2 UP DOWN |
|---|
| 5013 | .names _n519 |
|---|
| 5014 | UP |
|---|
| 5015 | # direction [1] == 0 |
|---|
| 5016 | .names _n518 _n519 _n516 |
|---|
| 5017 | .def 0 |
|---|
| 5018 | - =_n518 1 |
|---|
| 5019 | # (locations [1] != 3 - 1) && (direction [1] == 0) |
|---|
| 5020 | .names _n50b _n516 _n51a |
|---|
| 5021 | .def 0 |
|---|
| 5022 | 1 1 1 |
|---|
| 5023 | .names _n51a _n51b |
|---|
| 5024 | - =_n51a |
|---|
| 5025 | .names _n51d<0> |
|---|
| 5026 | 1 |
|---|
| 5027 | .names _n51d<1> |
|---|
| 5028 | 0 |
|---|
| 5029 | .names locations<*1*><0> locations<*2*><0> _n51d<1> _n51d<0> _n51e<0> |
|---|
| 5030 | - - 0 0 0 |
|---|
| 5031 | - - 0 0 0 |
|---|
| 5032 | 0 - 0 1 0 |
|---|
| 5033 | 1 - 0 1 1 |
|---|
| 5034 | - 0 1 0 0 |
|---|
| 5035 | - 1 1 0 1 |
|---|
| 5036 | - - 1 1 0 |
|---|
| 5037 | - - 1 1 0 |
|---|
| 5038 | .names locations<*1*><1> locations<*2*><1> _n51d<1> _n51d<0> _n51e<1> |
|---|
| 5039 | - - 0 0 0 |
|---|
| 5040 | - - 0 0 0 |
|---|
| 5041 | 0 - 0 1 0 |
|---|
| 5042 | 1 - 0 1 1 |
|---|
| 5043 | - 0 1 0 0 |
|---|
| 5044 | - 1 1 0 1 |
|---|
| 5045 | - - 1 1 0 |
|---|
| 5046 | - - 1 1 0 |
|---|
| 5047 | .names _n51f<0> |
|---|
| 5048 | 1 |
|---|
| 5049 | .names _n51f<1> |
|---|
| 5050 | 0 |
|---|
| 5051 | # locations [1] + 1 |
|---|
| 5052 | .names _n521 |
|---|
| 5053 | 0 |
|---|
| 5054 | .names _n51e<0> _n51f<0> _n521 _n520<0> |
|---|
| 5055 | .def 0 |
|---|
| 5056 | 0 0 1 1 |
|---|
| 5057 | 0 1 0 1 |
|---|
| 5058 | 1 0 0 1 |
|---|
| 5059 | 1 1 1 1 |
|---|
| 5060 | # carry/borrow |
|---|
| 5061 | .names _n523 |
|---|
| 5062 | 0 |
|---|
| 5063 | .names _n51e<0> _n51f<0> _n523 _n522 |
|---|
| 5064 | .def 0 |
|---|
| 5065 | 0 1 1 1 |
|---|
| 5066 | 1 0 1 1 |
|---|
| 5067 | 1 1 0 1 |
|---|
| 5068 | 1 1 1 1 |
|---|
| 5069 | .names _n51e<1> _n51f<1> _n522 _n520<1> |
|---|
| 5070 | .def 0 |
|---|
| 5071 | 0 0 1 1 |
|---|
| 5072 | 0 1 0 1 |
|---|
| 5073 | 1 0 0 1 |
|---|
| 5074 | 1 1 1 1 |
|---|
| 5075 | .mv _n524 2 ON OFF |
|---|
| 5076 | .names up_floor_buttons$random_up$raw_n4e9<*0*> up_floor_buttons$random_up$raw_n4e9<*1*> up_floor_buttons$random_up$raw_n4e9<*2*> _n520<1> _n520<0> _n524 |
|---|
| 5077 | - - - 0 0 =up_floor_buttons$random_up$raw_n4e9<*0*> |
|---|
| 5078 | - - - 0 1 =up_floor_buttons$random_up$raw_n4e9<*1*> |
|---|
| 5079 | - - - 1 0 =up_floor_buttons$random_up$raw_n4e9<*2*> |
|---|
| 5080 | - - - 1 1 ON |
|---|
| 5081 | .mv _n525 2 ON OFF |
|---|
| 5082 | .names _n525 |
|---|
| 5083 | ON |
|---|
| 5084 | # up_floor_buttons [locations [1] + 1] == 0 |
|---|
| 5085 | .names _n524 _n525 _n51c |
|---|
| 5086 | .def 0 |
|---|
| 5087 | - =_n524 1 |
|---|
| 5088 | .names _n51c _n526 |
|---|
| 5089 | - =_n51c |
|---|
| 5090 | # up_floor_buttons [locations [1] + 1] = 1 |
|---|
| 5091 | .mv up_floor_buttons$_n51c_n527$true<*0*> 2 ON OFF |
|---|
| 5092 | .mv up_floor_buttons$_n51c_n527$true<*1*> 2 ON OFF |
|---|
| 5093 | .mv up_floor_buttons$_n51c_n527$true<*2*> 2 ON OFF |
|---|
| 5094 | .names _n528<0> |
|---|
| 5095 | 1 |
|---|
| 5096 | .names _n528<1> |
|---|
| 5097 | 0 |
|---|
| 5098 | .names locations<*1*><0> locations<*2*><0> _n528<1> _n528<0> _n529<0> |
|---|
| 5099 | - - 0 0 0 |
|---|
| 5100 | - - 0 0 0 |
|---|
| 5101 | 0 - 0 1 0 |
|---|
| 5102 | 1 - 0 1 1 |
|---|
| 5103 | - 0 1 0 0 |
|---|
| 5104 | - 1 1 0 1 |
|---|
| 5105 | - - 1 1 0 |
|---|
| 5106 | - - 1 1 0 |
|---|
| 5107 | .names locations<*1*><1> locations<*2*><1> _n528<1> _n528<0> _n529<1> |
|---|
| 5108 | - - 0 0 0 |
|---|
| 5109 | - - 0 0 0 |
|---|
| 5110 | 0 - 0 1 0 |
|---|
| 5111 | 1 - 0 1 1 |
|---|
| 5112 | - 0 1 0 0 |
|---|
| 5113 | - 1 1 0 1 |
|---|
| 5114 | - - 1 1 0 |
|---|
| 5115 | - - 1 1 0 |
|---|
| 5116 | .names _n52a<0> |
|---|
| 5117 | 1 |
|---|
| 5118 | .names _n52a<1> |
|---|
| 5119 | 0 |
|---|
| 5120 | # locations [1] + 1 |
|---|
| 5121 | .names _n52c |
|---|
| 5122 | 0 |
|---|
| 5123 | .names _n529<0> _n52a<0> _n52c _n52b<0> |
|---|
| 5124 | .def 0 |
|---|
| 5125 | 0 0 1 1 |
|---|
| 5126 | 0 1 0 1 |
|---|
| 5127 | 1 0 0 1 |
|---|
| 5128 | 1 1 1 1 |
|---|
| 5129 | # carry/borrow |
|---|
| 5130 | .names _n52e |
|---|
| 5131 | 0 |
|---|
| 5132 | .names _n529<0> _n52a<0> _n52e _n52d |
|---|
| 5133 | .def 0 |
|---|
| 5134 | 0 1 1 1 |
|---|
| 5135 | 1 0 1 1 |
|---|
| 5136 | 1 1 0 1 |
|---|
| 5137 | 1 1 1 1 |
|---|
| 5138 | .names _n529<1> _n52a<1> _n52d _n52b<1> |
|---|
| 5139 | .def 0 |
|---|
| 5140 | 0 0 1 1 |
|---|
| 5141 | 0 1 0 1 |
|---|
| 5142 | 1 0 0 1 |
|---|
| 5143 | 1 1 1 1 |
|---|
| 5144 | .mv _n52f 2 ON OFF |
|---|
| 5145 | .names _n530<0> |
|---|
| 5146 | 0 |
|---|
| 5147 | .names _n530<1> |
|---|
| 5148 | 0 |
|---|
| 5149 | .names _n530<0> _n52b<0> _n532<0> |
|---|
| 5150 | .def 0 |
|---|
| 5151 | 0 1 1 |
|---|
| 5152 | 1 0 1 |
|---|
| 5153 | .names _n530<1> _n52b<1> _n532<1> |
|---|
| 5154 | .def 0 |
|---|
| 5155 | 0 1 1 |
|---|
| 5156 | 1 0 1 |
|---|
| 5157 | .names _n532<0> _n532<1> _n533 |
|---|
| 5158 | .def 1 |
|---|
| 5159 | 0 0 0 |
|---|
| 5160 | .names _n533 _n531 |
|---|
| 5161 | 0 1 |
|---|
| 5162 | 1 0 |
|---|
| 5163 | .names _n52f up_floor_buttons$random_up$raw_n4e9<*0*> _n531 up_floor_buttons$_n51c_n527$true<*0*> |
|---|
| 5164 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*0*> |
|---|
| 5165 | - - 1 =_n52f |
|---|
| 5166 | .names _n534<0> |
|---|
| 5167 | 1 |
|---|
| 5168 | .names _n534<1> |
|---|
| 5169 | 0 |
|---|
| 5170 | .names _n534<0> _n52b<0> _n536<0> |
|---|
| 5171 | .def 0 |
|---|
| 5172 | 0 1 1 |
|---|
| 5173 | 1 0 1 |
|---|
| 5174 | .names _n534<1> _n52b<1> _n536<1> |
|---|
| 5175 | .def 0 |
|---|
| 5176 | 0 1 1 |
|---|
| 5177 | 1 0 1 |
|---|
| 5178 | .names _n536<0> _n536<1> _n537 |
|---|
| 5179 | .def 1 |
|---|
| 5180 | 0 0 0 |
|---|
| 5181 | .names _n537 _n535 |
|---|
| 5182 | 0 1 |
|---|
| 5183 | 1 0 |
|---|
| 5184 | .names _n52f up_floor_buttons$random_up$raw_n4e9<*1*> _n535 up_floor_buttons$_n51c_n527$true<*1*> |
|---|
| 5185 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*1*> |
|---|
| 5186 | - - 1 =_n52f |
|---|
| 5187 | .names _n538<0> |
|---|
| 5188 | 0 |
|---|
| 5189 | .names _n538<1> |
|---|
| 5190 | 1 |
|---|
| 5191 | .names _n538<0> _n52b<0> _n53a<0> |
|---|
| 5192 | .def 0 |
|---|
| 5193 | 0 1 1 |
|---|
| 5194 | 1 0 1 |
|---|
| 5195 | .names _n538<1> _n52b<1> _n53a<1> |
|---|
| 5196 | .def 0 |
|---|
| 5197 | 0 1 1 |
|---|
| 5198 | 1 0 1 |
|---|
| 5199 | .names _n53a<0> _n53a<1> _n53b |
|---|
| 5200 | .def 1 |
|---|
| 5201 | 0 0 0 |
|---|
| 5202 | .names _n53b _n539 |
|---|
| 5203 | 0 1 |
|---|
| 5204 | 1 0 |
|---|
| 5205 | .names _n52f up_floor_buttons$random_up$raw_n4e9<*2*> _n539 up_floor_buttons$_n51c_n527$true<*2*> |
|---|
| 5206 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*2*> |
|---|
| 5207 | - - 1 =_n52f |
|---|
| 5208 | .names _n52f |
|---|
| 5209 | OFF |
|---|
| 5210 | # if/else (up_floor_buttons [locations [1] + 1] == 0) |
|---|
| 5211 | .mv up_floor_buttons$_n51c$raw_n53d<*0*> 2 ON OFF |
|---|
| 5212 | .mv up_floor_buttons$_n51c$raw_n53d<*1*> 2 ON OFF |
|---|
| 5213 | .mv up_floor_buttons$_n51c$raw_n53d<*2*> 2 ON OFF |
|---|
| 5214 | .names up_floor_buttons$_n51c_n527$true<*0*> up_floor_buttons$random_up$raw_n4e9<*0*> _n51c up_floor_buttons$_n51c$raw_n53d<*0*> |
|---|
| 5215 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*0*> |
|---|
| 5216 | - - 1 =up_floor_buttons$_n51c_n527$true<*0*> |
|---|
| 5217 | .names up_floor_buttons$_n51c_n527$true<*1*> up_floor_buttons$random_up$raw_n4e9<*1*> _n51c up_floor_buttons$_n51c$raw_n53d<*1*> |
|---|
| 5218 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*1*> |
|---|
| 5219 | - - 1 =up_floor_buttons$_n51c_n527$true<*1*> |
|---|
| 5220 | .names up_floor_buttons$_n51c_n527$true<*2*> up_floor_buttons$random_up$raw_n4e9<*2*> _n51c up_floor_buttons$_n51c$raw_n53d<*2*> |
|---|
| 5221 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*2*> |
|---|
| 5222 | - - 1 =up_floor_buttons$_n51c_n527$true<*2*> |
|---|
| 5223 | # if/else ((locations [1] != 3 - 1) && (direction [1] == 0)) |
|---|
| 5224 | .mv up_floor_buttons$_n51a$raw_n545<*0*> 2 ON OFF |
|---|
| 5225 | .mv up_floor_buttons$_n51a$raw_n545<*1*> 2 ON OFF |
|---|
| 5226 | .mv up_floor_buttons$_n51a$raw_n545<*2*> 2 ON OFF |
|---|
| 5227 | .names up_floor_buttons$_n51c$raw_n53d<*0*> up_floor_buttons$random_up$raw_n4e9<*0*> _n51a up_floor_buttons$_n51a$raw_n545<*0*> |
|---|
| 5228 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*0*> |
|---|
| 5229 | - - 1 =up_floor_buttons$_n51c$raw_n53d<*0*> |
|---|
| 5230 | .names up_floor_buttons$_n51c$raw_n53d<*1*> up_floor_buttons$random_up$raw_n4e9<*1*> _n51a up_floor_buttons$_n51a$raw_n545<*1*> |
|---|
| 5231 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*1*> |
|---|
| 5232 | - - 1 =up_floor_buttons$_n51c$raw_n53d<*1*> |
|---|
| 5233 | .names up_floor_buttons$_n51c$raw_n53d<*2*> up_floor_buttons$random_up$raw_n4e9<*2*> _n51a up_floor_buttons$_n51a$raw_n545<*2*> |
|---|
| 5234 | - - 0 =up_floor_buttons$random_up$raw_n4e9<*2*> |
|---|
| 5235 | - - 1 =up_floor_buttons$_n51c$raw_n53d<*2*> |
|---|
| 5236 | .names _n54d<0> |
|---|
| 5237 | 1 |
|---|
| 5238 | .names _n54d<1> |
|---|
| 5239 | 0 |
|---|
| 5240 | .names locations<*1*><0> locations<*2*><0> _n54d<1> _n54d<0> _n54e<0> |
|---|
| 5241 | - - 0 0 0 |
|---|
| 5242 | - - 0 0 0 |
|---|
| 5243 | 0 - 0 1 0 |
|---|
| 5244 | 1 - 0 1 1 |
|---|
| 5245 | - 0 1 0 0 |
|---|
| 5246 | - 1 1 0 1 |
|---|
| 5247 | - - 1 1 0 |
|---|
| 5248 | - - 1 1 0 |
|---|
| 5249 | .names locations<*1*><1> locations<*2*><1> _n54d<1> _n54d<0> _n54e<1> |
|---|
| 5250 | - - 0 0 0 |
|---|
| 5251 | - - 0 0 0 |
|---|
| 5252 | 0 - 0 1 0 |
|---|
| 5253 | 1 - 0 1 1 |
|---|
| 5254 | - 0 1 0 0 |
|---|
| 5255 | - 1 1 0 1 |
|---|
| 5256 | - - 1 1 0 |
|---|
| 5257 | - - 1 1 0 |
|---|
| 5258 | .names _n54f<0> |
|---|
| 5259 | 0 |
|---|
| 5260 | .names _n54f<1> |
|---|
| 5261 | 0 |
|---|
| 5262 | # locations [1] != 0 |
|---|
| 5263 | .names _n54e<0> _n54f<0> _n550<0> |
|---|
| 5264 | .def 0 |
|---|
| 5265 | 0 1 1 |
|---|
| 5266 | 1 0 1 |
|---|
| 5267 | .names _n54e<1> _n54f<1> _n550<1> |
|---|
| 5268 | .def 0 |
|---|
| 5269 | 0 1 1 |
|---|
| 5270 | 1 0 1 |
|---|
| 5271 | .names _n550<0> _n550<1> _n551 |
|---|
| 5272 | .def 1 |
|---|
| 5273 | 0 0 0 |
|---|
| 5274 | .names _n551 _n54c |
|---|
| 5275 | - =_n551 |
|---|
| 5276 | .names _n553<0> |
|---|
| 5277 | 1 |
|---|
| 5278 | .names _n553<1> |
|---|
| 5279 | 0 |
|---|
| 5280 | .mv _n554 2 UP DOWN |
|---|
| 5281 | .names direction<*1*> direction<*2*> _n553<1> _n553<0> _n554 |
|---|
| 5282 | - - 0 0 UP |
|---|
| 5283 | - - 0 1 =direction<*1*> |
|---|
| 5284 | - - 1 0 =direction<*2*> |
|---|
| 5285 | - - 1 1 UP |
|---|
| 5286 | .mv _n555 2 UP DOWN |
|---|
| 5287 | .names _n555 |
|---|
| 5288 | DOWN |
|---|
| 5289 | # direction [1] == 1 |
|---|
| 5290 | .names _n554 _n555 _n552 |
|---|
| 5291 | .def 0 |
|---|
| 5292 | - =_n554 1 |
|---|
| 5293 | # (locations [1] != 0) && (direction [1] == 1) |
|---|
| 5294 | .names _n54c _n552 _n556 |
|---|
| 5295 | .def 0 |
|---|
| 5296 | 1 1 1 |
|---|
| 5297 | .names _n556 _n557 |
|---|
| 5298 | - =_n556 |
|---|
| 5299 | .names _n559<0> |
|---|
| 5300 | 1 |
|---|
| 5301 | .names _n559<1> |
|---|
| 5302 | 0 |
|---|
| 5303 | .names locations<*1*><0> locations<*2*><0> _n559<1> _n559<0> _n55a<0> |
|---|
| 5304 | - - 0 0 0 |
|---|
| 5305 | - - 0 0 0 |
|---|
| 5306 | 0 - 0 1 0 |
|---|
| 5307 | 1 - 0 1 1 |
|---|
| 5308 | - 0 1 0 0 |
|---|
| 5309 | - 1 1 0 1 |
|---|
| 5310 | - - 1 1 0 |
|---|
| 5311 | - - 1 1 0 |
|---|
| 5312 | .names locations<*1*><1> locations<*2*><1> _n559<1> _n559<0> _n55a<1> |
|---|
| 5313 | - - 0 0 0 |
|---|
| 5314 | - - 0 0 0 |
|---|
| 5315 | 0 - 0 1 0 |
|---|
| 5316 | 1 - 0 1 1 |
|---|
| 5317 | - 0 1 0 0 |
|---|
| 5318 | - 1 1 0 1 |
|---|
| 5319 | - - 1 1 0 |
|---|
| 5320 | - - 1 1 0 |
|---|
| 5321 | .names _n55b<0> |
|---|
| 5322 | 1 |
|---|
| 5323 | .names _n55b<1> |
|---|
| 5324 | 0 |
|---|
| 5325 | # locations [1] - 1 |
|---|
| 5326 | .names _n55d |
|---|
| 5327 | 0 |
|---|
| 5328 | .names _n55a<0> _n55b<0> _n55d _n55c<0> |
|---|
| 5329 | .def 0 |
|---|
| 5330 | 0 0 1 1 |
|---|
| 5331 | 0 1 0 1 |
|---|
| 5332 | 1 0 0 1 |
|---|
| 5333 | 1 1 1 1 |
|---|
| 5334 | # carry/borrow |
|---|
| 5335 | .names _n55f |
|---|
| 5336 | 0 |
|---|
| 5337 | .names _n55a<0> _n55b<0> _n55f _n55e |
|---|
| 5338 | .def 0 |
|---|
| 5339 | 0 0 1 1 |
|---|
| 5340 | 0 1 0 1 |
|---|
| 5341 | 0 1 1 1 |
|---|
| 5342 | 1 1 1 1 |
|---|
| 5343 | .names _n55a<1> _n55b<1> _n55e _n55c<1> |
|---|
| 5344 | .def 0 |
|---|
| 5345 | 0 0 1 1 |
|---|
| 5346 | 0 1 0 1 |
|---|
| 5347 | 1 0 0 1 |
|---|
| 5348 | 1 1 1 1 |
|---|
| 5349 | .mv _n560 2 ON OFF |
|---|
| 5350 | .names down_floor_buttons$random_down$raw_n502<*0*> down_floor_buttons$random_down$raw_n502<*1*> down_floor_buttons$random_down$raw_n502<*2*> _n55c<1> _n55c<0> _n560 |
|---|
| 5351 | - - - 0 0 =down_floor_buttons$random_down$raw_n502<*0*> |
|---|
| 5352 | - - - 0 1 =down_floor_buttons$random_down$raw_n502<*1*> |
|---|
| 5353 | - - - 1 0 =down_floor_buttons$random_down$raw_n502<*2*> |
|---|
| 5354 | - - - 1 1 ON |
|---|
| 5355 | .mv _n561 2 ON OFF |
|---|
| 5356 | .names _n561 |
|---|
| 5357 | ON |
|---|
| 5358 | # down_floor_buttons [locations [1] - 1] == 0 |
|---|
| 5359 | .names _n560 _n561 _n558 |
|---|
| 5360 | .def 0 |
|---|
| 5361 | - =_n560 1 |
|---|
| 5362 | .names _n558 _n562 |
|---|
| 5363 | - =_n558 |
|---|
| 5364 | # down_floor_buttons [locations [1] - 1] = 1 |
|---|
| 5365 | .mv down_floor_buttons$_n558_n563$true<*0*> 2 ON OFF |
|---|
| 5366 | .mv down_floor_buttons$_n558_n563$true<*1*> 2 ON OFF |
|---|
| 5367 | .mv down_floor_buttons$_n558_n563$true<*2*> 2 ON OFF |
|---|
| 5368 | .names _n564<0> |
|---|
| 5369 | 1 |
|---|
| 5370 | .names _n564<1> |
|---|
| 5371 | 0 |
|---|
| 5372 | .names locations<*1*><0> locations<*2*><0> _n564<1> _n564<0> _n565<0> |
|---|
| 5373 | - - 0 0 0 |
|---|
| 5374 | - - 0 0 0 |
|---|
| 5375 | 0 - 0 1 0 |
|---|
| 5376 | 1 - 0 1 1 |
|---|
| 5377 | - 0 1 0 0 |
|---|
| 5378 | - 1 1 0 1 |
|---|
| 5379 | - - 1 1 0 |
|---|
| 5380 | - - 1 1 0 |
|---|
| 5381 | .names locations<*1*><1> locations<*2*><1> _n564<1> _n564<0> _n565<1> |
|---|
| 5382 | - - 0 0 0 |
|---|
| 5383 | - - 0 0 0 |
|---|
| 5384 | 0 - 0 1 0 |
|---|
| 5385 | 1 - 0 1 1 |
|---|
| 5386 | - 0 1 0 0 |
|---|
| 5387 | - 1 1 0 1 |
|---|
| 5388 | - - 1 1 0 |
|---|
| 5389 | - - 1 1 0 |
|---|
| 5390 | .names _n566<0> |
|---|
| 5391 | 1 |
|---|
| 5392 | .names _n566<1> |
|---|
| 5393 | 0 |
|---|
| 5394 | # locations [1] - 1 |
|---|
| 5395 | .names _n568 |
|---|
| 5396 | 0 |
|---|
| 5397 | .names _n565<0> _n566<0> _n568 _n567<0> |
|---|
| 5398 | .def 0 |
|---|
| 5399 | 0 0 1 1 |
|---|
| 5400 | 0 1 0 1 |
|---|
| 5401 | 1 0 0 1 |
|---|
| 5402 | 1 1 1 1 |
|---|
| 5403 | # carry/borrow |
|---|
| 5404 | .names _n56a |
|---|
| 5405 | 0 |
|---|
| 5406 | .names _n565<0> _n566<0> _n56a _n569 |
|---|
| 5407 | .def 0 |
|---|
| 5408 | 0 0 1 1 |
|---|
| 5409 | 0 1 0 1 |
|---|
| 5410 | 0 1 1 1 |
|---|
| 5411 | 1 1 1 1 |
|---|
| 5412 | .names _n565<1> _n566<1> _n569 _n567<1> |
|---|
| 5413 | .def 0 |
|---|
| 5414 | 0 0 1 1 |
|---|
| 5415 | 0 1 0 1 |
|---|
| 5416 | 1 0 0 1 |
|---|
| 5417 | 1 1 1 1 |
|---|
| 5418 | .mv _n56b 2 ON OFF |
|---|
| 5419 | .names _n56c<0> |
|---|
| 5420 | 0 |
|---|
| 5421 | .names _n56c<1> |
|---|
| 5422 | 0 |
|---|
| 5423 | .names _n56c<0> _n567<0> _n56e<0> |
|---|
| 5424 | .def 0 |
|---|
| 5425 | 0 1 1 |
|---|
| 5426 | 1 0 1 |
|---|
| 5427 | .names _n56c<1> _n567<1> _n56e<1> |
|---|
| 5428 | .def 0 |
|---|
| 5429 | 0 1 1 |
|---|
| 5430 | 1 0 1 |
|---|
| 5431 | .names _n56e<0> _n56e<1> _n56f |
|---|
| 5432 | .def 1 |
|---|
| 5433 | 0 0 0 |
|---|
| 5434 | .names _n56f _n56d |
|---|
| 5435 | 0 1 |
|---|
| 5436 | 1 0 |
|---|
| 5437 | .names _n56b down_floor_buttons$random_down$raw_n502<*0*> _n56d down_floor_buttons$_n558_n563$true<*0*> |
|---|
| 5438 | - - 0 =down_floor_buttons$random_down$raw_n502<*0*> |
|---|
| 5439 | - - 1 =_n56b |
|---|
| 5440 | .names _n570<0> |
|---|
| 5441 | 1 |
|---|
| 5442 | .names _n570<1> |
|---|
| 5443 | 0 |
|---|
| 5444 | .names _n570<0> _n567<0> _n572<0> |
|---|
| 5445 | .def 0 |
|---|
| 5446 | 0 1 1 |
|---|
| 5447 | 1 0 1 |
|---|
| 5448 | .names _n570<1> _n567<1> _n572<1> |
|---|
| 5449 | .def 0 |
|---|
| 5450 | 0 1 1 |
|---|
| 5451 | 1 0 1 |
|---|
| 5452 | .names _n572<0> _n572<1> _n573 |
|---|
| 5453 | .def 1 |
|---|
| 5454 | 0 0 0 |
|---|
| 5455 | .names _n573 _n571 |
|---|
| 5456 | 0 1 |
|---|
| 5457 | 1 0 |
|---|
| 5458 | .names _n56b down_floor_buttons$random_down$raw_n502<*1*> _n571 down_floor_buttons$_n558_n563$true<*1*> |
|---|
| 5459 | - - 0 =down_floor_buttons$random_down$raw_n502<*1*> |
|---|
| 5460 | - - 1 =_n56b |
|---|
| 5461 | .names _n574<0> |
|---|
| 5462 | 0 |
|---|
| 5463 | .names _n574<1> |
|---|
| 5464 | 1 |
|---|
| 5465 | .names _n574<0> _n567<0> _n576<0> |
|---|
| 5466 | .def 0 |
|---|
| 5467 | 0 1 1 |
|---|
| 5468 | 1 0 1 |
|---|
| 5469 | .names _n574<1> _n567<1> _n576<1> |
|---|
| 5470 | .def 0 |
|---|
| 5471 | 0 1 1 |
|---|
| 5472 | 1 0 1 |
|---|
| 5473 | .names _n576<0> _n576<1> _n577 |
|---|
| 5474 | .def 1 |
|---|
| 5475 | 0 0 0 |
|---|
| 5476 | .names _n577 _n575 |
|---|
| 5477 | 0 1 |
|---|
| 5478 | 1 0 |
|---|
| 5479 | .names _n56b down_floor_buttons$random_down$raw_n502<*2*> _n575 down_floor_buttons$_n558_n563$true<*2*> |
|---|
| 5480 | - - 0 =down_floor_buttons$random_down$raw_n502<*2*> |
|---|
| 5481 | - - 1 =_n56b |
|---|
| 5482 | .names _n56b |
|---|
| 5483 | OFF |
|---|
| 5484 | # if/else (down_floor_buttons [locations [1] - 1] == 0) |
|---|
| 5485 | .mv down_floor_buttons$_n558$raw_n578<*0*> 2 ON OFF |
|---|
| 5486 | .mv down_floor_buttons$_n558$raw_n578<*1*> 2 ON OFF |
|---|
| 5487 | .mv down_floor_buttons$_n558$raw_n578<*2*> 2 ON OFF |
|---|
| 5488 | .names down_floor_buttons$_n558_n563$true<*0*> down_floor_buttons$random_down$raw_n502<*0*> _n558 down_floor_buttons$_n558$raw_n578<*0*> |
|---|
| 5489 | - - 0 =down_floor_buttons$random_down$raw_n502<*0*> |
|---|
| 5490 | - - 1 =down_floor_buttons$_n558_n563$true<*0*> |
|---|
| 5491 | .names down_floor_buttons$_n558_n563$true<*1*> down_floor_buttons$random_down$raw_n502<*1*> _n558 down_floor_buttons$_n558$raw_n578<*1*> |
|---|
| 5492 | - - 0 =down_floor_buttons$random_down$raw_n502<*1*> |
|---|
| 5493 | - - 1 =down_floor_buttons$_n558_n563$true<*1*> |
|---|
| 5494 | .names down_floor_buttons$_n558_n563$true<*2*> down_floor_buttons$random_down$raw_n502<*2*> _n558 down_floor_buttons$_n558$raw_n578<*2*> |
|---|
| 5495 | - - 0 =down_floor_buttons$random_down$raw_n502<*2*> |
|---|
| 5496 | - - 1 =down_floor_buttons$_n558_n563$true<*2*> |
|---|
| 5497 | # if/else ((locations [1] != 0) && (direction [1] == 1)) |
|---|
| 5498 | .mv down_floor_buttons$_n556$raw_n580<*0*> 2 ON OFF |
|---|
| 5499 | .mv down_floor_buttons$_n556$raw_n580<*1*> 2 ON OFF |
|---|
| 5500 | .mv down_floor_buttons$_n556$raw_n580<*2*> 2 ON OFF |
|---|
| 5501 | .names down_floor_buttons$_n558$raw_n578<*0*> down_floor_buttons$random_down$raw_n502<*0*> _n556 down_floor_buttons$_n556$raw_n580<*0*> |
|---|
| 5502 | - - 0 =down_floor_buttons$random_down$raw_n502<*0*> |
|---|
| 5503 | - - 1 =down_floor_buttons$_n558$raw_n578<*0*> |
|---|
| 5504 | .names down_floor_buttons$_n558$raw_n578<*1*> down_floor_buttons$random_down$raw_n502<*1*> _n556 down_floor_buttons$_n556$raw_n580<*1*> |
|---|
| 5505 | - - 0 =down_floor_buttons$random_down$raw_n502<*1*> |
|---|
| 5506 | - - 1 =down_floor_buttons$_n558$raw_n578<*1*> |
|---|
| 5507 | .names down_floor_buttons$_n558$raw_n578<*2*> down_floor_buttons$random_down$raw_n502<*2*> _n556 down_floor_buttons$_n556$raw_n580<*2*> |
|---|
| 5508 | - - 0 =down_floor_buttons$random_down$raw_n502<*2*> |
|---|
| 5509 | - - 1 =down_floor_buttons$_n558$raw_n578<*2*> |
|---|
| 5510 | .names _n589<0> |
|---|
| 5511 | 0 |
|---|
| 5512 | .names _n589<1> |
|---|
| 5513 | 1 |
|---|
| 5514 | .names locations<*1*><0> locations<*2*><0> _n589<1> _n589<0> _n58a<0> |
|---|
| 5515 | - - 0 0 0 |
|---|
| 5516 | - - 0 0 0 |
|---|
| 5517 | 0 - 0 1 0 |
|---|
| 5518 | 1 - 0 1 1 |
|---|
| 5519 | - 0 1 0 0 |
|---|
| 5520 | - 1 1 0 1 |
|---|
| 5521 | - - 1 1 0 |
|---|
| 5522 | - - 1 1 0 |
|---|
| 5523 | .names locations<*1*><1> locations<*2*><1> _n589<1> _n589<0> _n58a<1> |
|---|
| 5524 | - - 0 0 0 |
|---|
| 5525 | - - 0 0 0 |
|---|
| 5526 | 0 - 0 1 0 |
|---|
| 5527 | 1 - 0 1 1 |
|---|
| 5528 | - 0 1 0 0 |
|---|
| 5529 | - 1 1 0 1 |
|---|
| 5530 | - - 1 1 0 |
|---|
| 5531 | - - 1 1 0 |
|---|
| 5532 | .names _n58b<0> |
|---|
| 5533 | 1 |
|---|
| 5534 | .names _n58b<1> |
|---|
| 5535 | 1 |
|---|
| 5536 | .names _n58c<0> |
|---|
| 5537 | 1 |
|---|
| 5538 | .names _n58c<1> |
|---|
| 5539 | 0 |
|---|
| 5540 | # 3 - 1 |
|---|
| 5541 | .names _n58e |
|---|
| 5542 | 0 |
|---|
| 5543 | .names _n58b<0> _n58c<0> _n58e _n58d<0> |
|---|
| 5544 | .def 0 |
|---|
| 5545 | 0 0 1 1 |
|---|
| 5546 | 0 1 0 1 |
|---|
| 5547 | 1 0 0 1 |
|---|
| 5548 | 1 1 1 1 |
|---|
| 5549 | # carry/borrow |
|---|
| 5550 | .names _n590 |
|---|
| 5551 | 0 |
|---|
| 5552 | .names _n58b<0> _n58c<0> _n590 _n58f |
|---|
| 5553 | .def 0 |
|---|
| 5554 | 0 0 1 1 |
|---|
| 5555 | 0 1 0 1 |
|---|
| 5556 | 0 1 1 1 |
|---|
| 5557 | 1 1 1 1 |
|---|
| 5558 | .names _n58b<1> _n58c<1> _n58f _n58d<1> |
|---|
| 5559 | .def 0 |
|---|
| 5560 | 0 0 1 1 |
|---|
| 5561 | 0 1 0 1 |
|---|
| 5562 | 1 0 0 1 |
|---|
| 5563 | 1 1 1 1 |
|---|
| 5564 | # locations [2] != 3 - 1 |
|---|
| 5565 | .names _n58a<0> _n58d<0> _n591<0> |
|---|
| 5566 | .def 0 |
|---|
| 5567 | 0 1 1 |
|---|
| 5568 | 1 0 1 |
|---|
| 5569 | .names _n58a<1> _n58d<1> _n591<1> |
|---|
| 5570 | .def 0 |
|---|
| 5571 | 0 1 1 |
|---|
| 5572 | 1 0 1 |
|---|
| 5573 | .names _n591<0> _n591<1> _n592 |
|---|
| 5574 | .def 1 |
|---|
| 5575 | 0 0 0 |
|---|
| 5576 | .names _n592 _n588 |
|---|
| 5577 | - =_n592 |
|---|
| 5578 | .names _n594<0> |
|---|
| 5579 | 0 |
|---|
| 5580 | .names _n594<1> |
|---|
| 5581 | 1 |
|---|
| 5582 | .mv _n595 2 UP DOWN |
|---|
| 5583 | .names direction<*1*> direction<*2*> _n594<1> _n594<0> _n595 |
|---|
| 5584 | - - 0 0 UP |
|---|
| 5585 | - - 0 1 =direction<*1*> |
|---|
| 5586 | - - 1 0 =direction<*2*> |
|---|
| 5587 | - - 1 1 UP |
|---|
| 5588 | .mv _n596 2 UP DOWN |
|---|
| 5589 | .names _n596 |
|---|
| 5590 | UP |
|---|
| 5591 | # direction [2] == 0 |
|---|
| 5592 | .names _n595 _n596 _n593 |
|---|
| 5593 | .def 0 |
|---|
| 5594 | - =_n595 1 |
|---|
| 5595 | # (locations [2] != 3 - 1) && (direction [2] == 0) |
|---|
| 5596 | .names _n588 _n593 _n597 |
|---|
| 5597 | .def 0 |
|---|
| 5598 | 1 1 1 |
|---|
| 5599 | .names _n597 _n598 |
|---|
| 5600 | - =_n597 |
|---|
| 5601 | .names _n59a<0> |
|---|
| 5602 | 0 |
|---|
| 5603 | .names _n59a<1> |
|---|
| 5604 | 1 |
|---|
| 5605 | .names locations<*1*><0> locations<*2*><0> _n59a<1> _n59a<0> _n59b<0> |
|---|
| 5606 | - - 0 0 0 |
|---|
| 5607 | - - 0 0 0 |
|---|
| 5608 | 0 - 0 1 0 |
|---|
| 5609 | 1 - 0 1 1 |
|---|
| 5610 | - 0 1 0 0 |
|---|
| 5611 | - 1 1 0 1 |
|---|
| 5612 | - - 1 1 0 |
|---|
| 5613 | - - 1 1 0 |
|---|
| 5614 | .names locations<*1*><1> locations<*2*><1> _n59a<1> _n59a<0> _n59b<1> |
|---|
| 5615 | - - 0 0 0 |
|---|
| 5616 | - - 0 0 0 |
|---|
| 5617 | 0 - 0 1 0 |
|---|
| 5618 | 1 - 0 1 1 |
|---|
| 5619 | - 0 1 0 0 |
|---|
| 5620 | - 1 1 0 1 |
|---|
| 5621 | - - 1 1 0 |
|---|
| 5622 | - - 1 1 0 |
|---|
| 5623 | .names _n59c<0> |
|---|
| 5624 | 1 |
|---|
| 5625 | .names _n59c<1> |
|---|
| 5626 | 0 |
|---|
| 5627 | # locations [2] + 1 |
|---|
| 5628 | .names _n59e |
|---|
| 5629 | 0 |
|---|
| 5630 | .names _n59b<0> _n59c<0> _n59e _n59d<0> |
|---|
| 5631 | .def 0 |
|---|
| 5632 | 0 0 1 1 |
|---|
| 5633 | 0 1 0 1 |
|---|
| 5634 | 1 0 0 1 |
|---|
| 5635 | 1 1 1 1 |
|---|
| 5636 | # carry/borrow |
|---|
| 5637 | .names _n5a0 |
|---|
| 5638 | 0 |
|---|
| 5639 | .names _n59b<0> _n59c<0> _n5a0 _n59f |
|---|
| 5640 | .def 0 |
|---|
| 5641 | 0 1 1 1 |
|---|
| 5642 | 1 0 1 1 |
|---|
| 5643 | 1 1 0 1 |
|---|
| 5644 | 1 1 1 1 |
|---|
| 5645 | .names _n59b<1> _n59c<1> _n59f _n59d<1> |
|---|
| 5646 | .def 0 |
|---|
| 5647 | 0 0 1 1 |
|---|
| 5648 | 0 1 0 1 |
|---|
| 5649 | 1 0 0 1 |
|---|
| 5650 | 1 1 1 1 |
|---|
| 5651 | .mv _n5a1 2 ON OFF |
|---|
| 5652 | .names up_floor_buttons$_n51a$raw_n545<*0*> up_floor_buttons$_n51a$raw_n545<*1*> up_floor_buttons$_n51a$raw_n545<*2*> _n59d<1> _n59d<0> _n5a1 |
|---|
| 5653 | - - - 0 0 =up_floor_buttons$_n51a$raw_n545<*0*> |
|---|
| 5654 | - - - 0 1 =up_floor_buttons$_n51a$raw_n545<*1*> |
|---|
| 5655 | - - - 1 0 =up_floor_buttons$_n51a$raw_n545<*2*> |
|---|
| 5656 | - - - 1 1 ON |
|---|
| 5657 | .mv _n5a2 2 ON OFF |
|---|
| 5658 | .names _n5a2 |
|---|
| 5659 | ON |
|---|
| 5660 | # up_floor_buttons [locations [2] + 1] == 0 |
|---|
| 5661 | .names _n5a1 _n5a2 _n599 |
|---|
| 5662 | .def 0 |
|---|
| 5663 | - =_n5a1 1 |
|---|
| 5664 | .names _n599 _n5a3 |
|---|
| 5665 | - =_n599 |
|---|
| 5666 | # up_floor_buttons [locations [2] + 1] = 1 |
|---|
| 5667 | .mv up_floor_buttons$_n599_n5a4$true<*0*> 2 ON OFF |
|---|
| 5668 | .mv up_floor_buttons$_n599_n5a4$true<*1*> 2 ON OFF |
|---|
| 5669 | .mv up_floor_buttons$_n599_n5a4$true<*2*> 2 ON OFF |
|---|
| 5670 | .names _n5a5<0> |
|---|
| 5671 | 0 |
|---|
| 5672 | .names _n5a5<1> |
|---|
| 5673 | 1 |
|---|
| 5674 | .names locations<*1*><0> locations<*2*><0> _n5a5<1> _n5a5<0> _n5a6<0> |
|---|
| 5675 | - - 0 0 0 |
|---|
| 5676 | - - 0 0 0 |
|---|
| 5677 | 0 - 0 1 0 |
|---|
| 5678 | 1 - 0 1 1 |
|---|
| 5679 | - 0 1 0 0 |
|---|
| 5680 | - 1 1 0 1 |
|---|
| 5681 | - - 1 1 0 |
|---|
| 5682 | - - 1 1 0 |
|---|
| 5683 | .names locations<*1*><1> locations<*2*><1> _n5a5<1> _n5a5<0> _n5a6<1> |
|---|
| 5684 | - - 0 0 0 |
|---|
| 5685 | - - 0 0 0 |
|---|
| 5686 | 0 - 0 1 0 |
|---|
| 5687 | 1 - 0 1 1 |
|---|
| 5688 | - 0 1 0 0 |
|---|
| 5689 | - 1 1 0 1 |
|---|
| 5690 | - - 1 1 0 |
|---|
| 5691 | - - 1 1 0 |
|---|
| 5692 | .names _n5a7<0> |
|---|
| 5693 | 1 |
|---|
| 5694 | .names _n5a7<1> |
|---|
| 5695 | 0 |
|---|
| 5696 | # locations [2] + 1 |
|---|
| 5697 | .names _n5a9 |
|---|
| 5698 | 0 |
|---|
| 5699 | .names _n5a6<0> _n5a7<0> _n5a9 _n5a8<0> |
|---|
| 5700 | .def 0 |
|---|
| 5701 | 0 0 1 1 |
|---|
| 5702 | 0 1 0 1 |
|---|
| 5703 | 1 0 0 1 |
|---|
| 5704 | 1 1 1 1 |
|---|
| 5705 | # carry/borrow |
|---|
| 5706 | .names _n5ab |
|---|
| 5707 | 0 |
|---|
| 5708 | .names _n5a6<0> _n5a7<0> _n5ab _n5aa |
|---|
| 5709 | .def 0 |
|---|
| 5710 | 0 1 1 1 |
|---|
| 5711 | 1 0 1 1 |
|---|
| 5712 | 1 1 0 1 |
|---|
| 5713 | 1 1 1 1 |
|---|
| 5714 | .names _n5a6<1> _n5a7<1> _n5aa _n5a8<1> |
|---|
| 5715 | .def 0 |
|---|
| 5716 | 0 0 1 1 |
|---|
| 5717 | 0 1 0 1 |
|---|
| 5718 | 1 0 0 1 |
|---|
| 5719 | 1 1 1 1 |
|---|
| 5720 | .mv _n5ac 2 ON OFF |
|---|
| 5721 | .names _n5ad<0> |
|---|
| 5722 | 0 |
|---|
| 5723 | .names _n5ad<1> |
|---|
| 5724 | 0 |
|---|
| 5725 | .names _n5ad<0> _n5a8<0> _n5af<0> |
|---|
| 5726 | .def 0 |
|---|
| 5727 | 0 1 1 |
|---|
| 5728 | 1 0 1 |
|---|
| 5729 | .names _n5ad<1> _n5a8<1> _n5af<1> |
|---|
| 5730 | .def 0 |
|---|
| 5731 | 0 1 1 |
|---|
| 5732 | 1 0 1 |
|---|
| 5733 | .names _n5af<0> _n5af<1> _n5b0 |
|---|
| 5734 | .def 1 |
|---|
| 5735 | 0 0 0 |
|---|
| 5736 | .names _n5b0 _n5ae |
|---|
| 5737 | 0 1 |
|---|
| 5738 | 1 0 |
|---|
| 5739 | .names _n5ac up_floor_buttons$_n51a$raw_n545<*0*> _n5ae up_floor_buttons$_n599_n5a4$true<*0*> |
|---|
| 5740 | - - 0 =up_floor_buttons$_n51a$raw_n545<*0*> |
|---|
| 5741 | - - 1 =_n5ac |
|---|
| 5742 | .names _n5b1<0> |
|---|
| 5743 | 1 |
|---|
| 5744 | .names _n5b1<1> |
|---|
| 5745 | 0 |
|---|
| 5746 | .names _n5b1<0> _n5a8<0> _n5b3<0> |
|---|
| 5747 | .def 0 |
|---|
| 5748 | 0 1 1 |
|---|
| 5749 | 1 0 1 |
|---|
| 5750 | .names _n5b1<1> _n5a8<1> _n5b3<1> |
|---|
| 5751 | .def 0 |
|---|
| 5752 | 0 1 1 |
|---|
| 5753 | 1 0 1 |
|---|
| 5754 | .names _n5b3<0> _n5b3<1> _n5b4 |
|---|
| 5755 | .def 1 |
|---|
| 5756 | 0 0 0 |
|---|
| 5757 | .names _n5b4 _n5b2 |
|---|
| 5758 | 0 1 |
|---|
| 5759 | 1 0 |
|---|
| 5760 | .names _n5ac up_floor_buttons$_n51a$raw_n545<*1*> _n5b2 up_floor_buttons$_n599_n5a4$true<*1*> |
|---|
| 5761 | - - 0 =up_floor_buttons$_n51a$raw_n545<*1*> |
|---|
| 5762 | - - 1 =_n5ac |
|---|
| 5763 | .names _n5b5<0> |
|---|
| 5764 | 0 |
|---|
| 5765 | .names _n5b5<1> |
|---|
| 5766 | 1 |
|---|
| 5767 | .names _n5b5<0> _n5a8<0> _n5b7<0> |
|---|
| 5768 | .def 0 |
|---|
| 5769 | 0 1 1 |
|---|
| 5770 | 1 0 1 |
|---|
| 5771 | .names _n5b5<1> _n5a8<1> _n5b7<1> |
|---|
| 5772 | .def 0 |
|---|
| 5773 | 0 1 1 |
|---|
| 5774 | 1 0 1 |
|---|
| 5775 | .names _n5b7<0> _n5b7<1> _n5b8 |
|---|
| 5776 | .def 1 |
|---|
| 5777 | 0 0 0 |
|---|
| 5778 | .names _n5b8 _n5b6 |
|---|
| 5779 | 0 1 |
|---|
| 5780 | 1 0 |
|---|
| 5781 | .names _n5ac up_floor_buttons$_n51a$raw_n545<*2*> _n5b6 up_floor_buttons$_n599_n5a4$true<*2*> |
|---|
| 5782 | - - 0 =up_floor_buttons$_n51a$raw_n545<*2*> |
|---|
| 5783 | - - 1 =_n5ac |
|---|
| 5784 | .names _n5ac |
|---|
| 5785 | OFF |
|---|
| 5786 | # if/else (up_floor_buttons [locations [2] + 1] == 0) |
|---|
| 5787 | .mv up_floor_buttons$_n599$raw_n5ba<*0*> 2 ON OFF |
|---|
| 5788 | .mv up_floor_buttons$_n599$raw_n5ba<*1*> 2 ON OFF |
|---|
| 5789 | .mv up_floor_buttons$_n599$raw_n5ba<*2*> 2 ON OFF |
|---|
| 5790 | .names up_floor_buttons$_n599_n5a4$true<*0*> up_floor_buttons$_n51a$raw_n545<*0*> _n599 up_floor_buttons$_n599$raw_n5ba<*0*> |
|---|
| 5791 | - - 0 =up_floor_buttons$_n51a$raw_n545<*0*> |
|---|
| 5792 | - - 1 =up_floor_buttons$_n599_n5a4$true<*0*> |
|---|
| 5793 | .names up_floor_buttons$_n599_n5a4$true<*1*> up_floor_buttons$_n51a$raw_n545<*1*> _n599 up_floor_buttons$_n599$raw_n5ba<*1*> |
|---|
| 5794 | - - 0 =up_floor_buttons$_n51a$raw_n545<*1*> |
|---|
| 5795 | - - 1 =up_floor_buttons$_n599_n5a4$true<*1*> |
|---|
| 5796 | .names up_floor_buttons$_n599_n5a4$true<*2*> up_floor_buttons$_n51a$raw_n545<*2*> _n599 up_floor_buttons$_n599$raw_n5ba<*2*> |
|---|
| 5797 | - - 0 =up_floor_buttons$_n51a$raw_n545<*2*> |
|---|
| 5798 | - - 1 =up_floor_buttons$_n599_n5a4$true<*2*> |
|---|
| 5799 | # if/else ((locations [2] != 3 - 1) && (direction [2] == 0)) |
|---|
| 5800 | .mv up_floor_buttons$_n597$raw_n5c2<*0*> 2 ON OFF |
|---|
| 5801 | .mv up_floor_buttons$_n597$raw_n5c2<*1*> 2 ON OFF |
|---|
| 5802 | .mv up_floor_buttons$_n597$raw_n5c2<*2*> 2 ON OFF |
|---|
| 5803 | .names up_floor_buttons$_n599$raw_n5ba<*0*> up_floor_buttons$_n51a$raw_n545<*0*> _n597 up_floor_buttons$_n597$raw_n5c2<*0*> |
|---|
| 5804 | - - 0 =up_floor_buttons$_n51a$raw_n545<*0*> |
|---|
| 5805 | - - 1 =up_floor_buttons$_n599$raw_n5ba<*0*> |
|---|
| 5806 | .names up_floor_buttons$_n599$raw_n5ba<*1*> up_floor_buttons$_n51a$raw_n545<*1*> _n597 up_floor_buttons$_n597$raw_n5c2<*1*> |
|---|
| 5807 | - - 0 =up_floor_buttons$_n51a$raw_n545<*1*> |
|---|
| 5808 | - - 1 =up_floor_buttons$_n599$raw_n5ba<*1*> |
|---|
| 5809 | .names up_floor_buttons$_n599$raw_n5ba<*2*> up_floor_buttons$_n51a$raw_n545<*2*> _n597 up_floor_buttons$_n597$raw_n5c2<*2*> |
|---|
| 5810 | - - 0 =up_floor_buttons$_n51a$raw_n545<*2*> |
|---|
| 5811 | - - 1 =up_floor_buttons$_n599$raw_n5ba<*2*> |
|---|
| 5812 | .names _n5ca<0> |
|---|
| 5813 | 0 |
|---|
| 5814 | .names _n5ca<1> |
|---|
| 5815 | 1 |
|---|
| 5816 | .names locations<*1*><0> locations<*2*><0> _n5ca<1> _n5ca<0> _n5cb<0> |
|---|
| 5817 | - - 0 0 0 |
|---|
| 5818 | - - 0 0 0 |
|---|
| 5819 | 0 - 0 1 0 |
|---|
| 5820 | 1 - 0 1 1 |
|---|
| 5821 | - 0 1 0 0 |
|---|
| 5822 | - 1 1 0 1 |
|---|
| 5823 | - - 1 1 0 |
|---|
| 5824 | - - 1 1 0 |
|---|
| 5825 | .names locations<*1*><1> locations<*2*><1> _n5ca<1> _n5ca<0> _n5cb<1> |
|---|
| 5826 | - - 0 0 0 |
|---|
| 5827 | - - 0 0 0 |
|---|
| 5828 | 0 - 0 1 0 |
|---|
| 5829 | 1 - 0 1 1 |
|---|
| 5830 | - 0 1 0 0 |
|---|
| 5831 | - 1 1 0 1 |
|---|
| 5832 | - - 1 1 0 |
|---|
| 5833 | - - 1 1 0 |
|---|
| 5834 | .names _n5cc<0> |
|---|
| 5835 | 0 |
|---|
| 5836 | .names _n5cc<1> |
|---|
| 5837 | 0 |
|---|
| 5838 | # locations [2] != 0 |
|---|
| 5839 | .names _n5cb<0> _n5cc<0> _n5cd<0> |
|---|
| 5840 | .def 0 |
|---|
| 5841 | 0 1 1 |
|---|
| 5842 | 1 0 1 |
|---|
| 5843 | .names _n5cb<1> _n5cc<1> _n5cd<1> |
|---|
| 5844 | .def 0 |
|---|
| 5845 | 0 1 1 |
|---|
| 5846 | 1 0 1 |
|---|
| 5847 | .names _n5cd<0> _n5cd<1> _n5ce |
|---|
| 5848 | .def 1 |
|---|
| 5849 | 0 0 0 |
|---|
| 5850 | .names _n5ce _n5c9 |
|---|
| 5851 | - =_n5ce |
|---|
| 5852 | .names _n5d0<0> |
|---|
| 5853 | 0 |
|---|
| 5854 | .names _n5d0<1> |
|---|
| 5855 | 1 |
|---|
| 5856 | .mv _n5d1 2 UP DOWN |
|---|
| 5857 | .names direction<*1*> direction<*2*> _n5d0<1> _n5d0<0> _n5d1 |
|---|
| 5858 | - - 0 0 UP |
|---|
| 5859 | - - 0 1 =direction<*1*> |
|---|
| 5860 | - - 1 0 =direction<*2*> |
|---|
| 5861 | - - 1 1 UP |
|---|
| 5862 | .mv _n5d2 2 UP DOWN |
|---|
| 5863 | .names _n5d2 |
|---|
| 5864 | DOWN |
|---|
| 5865 | # direction [2] == 1 |
|---|
| 5866 | .names _n5d1 _n5d2 _n5cf |
|---|
| 5867 | .def 0 |
|---|
| 5868 | - =_n5d1 1 |
|---|
| 5869 | # (locations [2] != 0) && (direction [2] == 1) |
|---|
| 5870 | .names _n5c9 _n5cf _n5d3 |
|---|
| 5871 | .def 0 |
|---|
| 5872 | 1 1 1 |
|---|
| 5873 | .names _n5d3 _n5d4 |
|---|
| 5874 | - =_n5d3 |
|---|
| 5875 | .names _n5d6<0> |
|---|
| 5876 | 0 |
|---|
| 5877 | .names _n5d6<1> |
|---|
| 5878 | 1 |
|---|
| 5879 | .names locations<*1*><0> locations<*2*><0> _n5d6<1> _n5d6<0> _n5d7<0> |
|---|
| 5880 | - - 0 0 0 |
|---|
| 5881 | - - 0 0 0 |
|---|
| 5882 | 0 - 0 1 0 |
|---|
| 5883 | 1 - 0 1 1 |
|---|
| 5884 | - 0 1 0 0 |
|---|
| 5885 | - 1 1 0 1 |
|---|
| 5886 | - - 1 1 0 |
|---|
| 5887 | - - 1 1 0 |
|---|
| 5888 | .names locations<*1*><1> locations<*2*><1> _n5d6<1> _n5d6<0> _n5d7<1> |
|---|
| 5889 | - - 0 0 0 |
|---|
| 5890 | - - 0 0 0 |
|---|
| 5891 | 0 - 0 1 0 |
|---|
| 5892 | 1 - 0 1 1 |
|---|
| 5893 | - 0 1 0 0 |
|---|
| 5894 | - 1 1 0 1 |
|---|
| 5895 | - - 1 1 0 |
|---|
| 5896 | - - 1 1 0 |
|---|
| 5897 | .names _n5d8<0> |
|---|
| 5898 | 1 |
|---|
| 5899 | .names _n5d8<1> |
|---|
| 5900 | 0 |
|---|
| 5901 | # locations [2] - 1 |
|---|
| 5902 | .names _n5da |
|---|
| 5903 | 0 |
|---|
| 5904 | .names _n5d7<0> _n5d8<0> _n5da _n5d9<0> |
|---|
| 5905 | .def 0 |
|---|
| 5906 | 0 0 1 1 |
|---|
| 5907 | 0 1 0 1 |
|---|
| 5908 | 1 0 0 1 |
|---|
| 5909 | 1 1 1 1 |
|---|
| 5910 | # carry/borrow |
|---|
| 5911 | .names _n5dc |
|---|
| 5912 | 0 |
|---|
| 5913 | .names _n5d7<0> _n5d8<0> _n5dc _n5db |
|---|
| 5914 | .def 0 |
|---|
| 5915 | 0 0 1 1 |
|---|
| 5916 | 0 1 0 1 |
|---|
| 5917 | 0 1 1 1 |
|---|
| 5918 | 1 1 1 1 |
|---|
| 5919 | .names _n5d7<1> _n5d8<1> _n5db _n5d9<1> |
|---|
| 5920 | .def 0 |
|---|
| 5921 | 0 0 1 1 |
|---|
| 5922 | 0 1 0 1 |
|---|
| 5923 | 1 0 0 1 |
|---|
| 5924 | 1 1 1 1 |
|---|
| 5925 | .mv _n5dd 2 ON OFF |
|---|
| 5926 | .names down_floor_buttons$_n556$raw_n580<*0*> down_floor_buttons$_n556$raw_n580<*1*> down_floor_buttons$_n556$raw_n580<*2*> _n5d9<1> _n5d9<0> _n5dd |
|---|
| 5927 | - - - 0 0 =down_floor_buttons$_n556$raw_n580<*0*> |
|---|
| 5928 | - - - 0 1 =down_floor_buttons$_n556$raw_n580<*1*> |
|---|
| 5929 | - - - 1 0 =down_floor_buttons$_n556$raw_n580<*2*> |
|---|
| 5930 | - - - 1 1 ON |
|---|
| 5931 | .mv _n5de 2 ON OFF |
|---|
| 5932 | .names _n5de |
|---|
| 5933 | ON |
|---|
| 5934 | # down_floor_buttons [locations [2] - 1] == 0 |
|---|
| 5935 | .names _n5dd _n5de _n5d5 |
|---|
| 5936 | .def 0 |
|---|
| 5937 | - =_n5dd 1 |
|---|
| 5938 | .names _n5d5 _n5df |
|---|
| 5939 | - =_n5d5 |
|---|
| 5940 | # down_floor_buttons [locations [2] - 1] = 1 |
|---|
| 5941 | .mv down_floor_buttons$_n5d5_n5e0$true<*0*> 2 ON OFF |
|---|
| 5942 | .mv down_floor_buttons$_n5d5_n5e0$true<*1*> 2 ON OFF |
|---|
| 5943 | .mv down_floor_buttons$_n5d5_n5e0$true<*2*> 2 ON OFF |
|---|
| 5944 | .names _n5e1<0> |
|---|
| 5945 | 0 |
|---|
| 5946 | .names _n5e1<1> |
|---|
| 5947 | 1 |
|---|
| 5948 | .names locations<*1*><0> locations<*2*><0> _n5e1<1> _n5e1<0> _n5e2<0> |
|---|
| 5949 | - - 0 0 0 |
|---|
| 5950 | - - 0 0 0 |
|---|
| 5951 | 0 - 0 1 0 |
|---|
| 5952 | 1 - 0 1 1 |
|---|
| 5953 | - 0 1 0 0 |
|---|
| 5954 | - 1 1 0 1 |
|---|
| 5955 | - - 1 1 0 |
|---|
| 5956 | - - 1 1 0 |
|---|
| 5957 | .names locations<*1*><1> locations<*2*><1> _n5e1<1> _n5e1<0> _n5e2<1> |
|---|
| 5958 | - - 0 0 0 |
|---|
| 5959 | - - 0 0 0 |
|---|
| 5960 | 0 - 0 1 0 |
|---|
| 5961 | 1 - 0 1 1 |
|---|
| 5962 | - 0 1 0 0 |
|---|
| 5963 | - 1 1 0 1 |
|---|
| 5964 | - - 1 1 0 |
|---|
| 5965 | - - 1 1 0 |
|---|
| 5966 | .names _n5e3<0> |
|---|
| 5967 | 1 |
|---|
| 5968 | .names _n5e3<1> |
|---|
| 5969 | 0 |
|---|
| 5970 | # locations [2] - 1 |
|---|
| 5971 | .names _n5e5 |
|---|
| 5972 | 0 |
|---|
| 5973 | .names _n5e2<0> _n5e3<0> _n5e5 _n5e4<0> |
|---|
| 5974 | .def 0 |
|---|
| 5975 | 0 0 1 1 |
|---|
| 5976 | 0 1 0 1 |
|---|
| 5977 | 1 0 0 1 |
|---|
| 5978 | 1 1 1 1 |
|---|
| 5979 | # carry/borrow |
|---|
| 5980 | .names _n5e7 |
|---|
| 5981 | 0 |
|---|
| 5982 | .names _n5e2<0> _n5e3<0> _n5e7 _n5e6 |
|---|
| 5983 | .def 0 |
|---|
| 5984 | 0 0 1 1 |
|---|
| 5985 | 0 1 0 1 |
|---|
| 5986 | 0 1 1 1 |
|---|
| 5987 | 1 1 1 1 |
|---|
| 5988 | .names _n5e2<1> _n5e3<1> _n5e6 _n5e4<1> |
|---|
| 5989 | .def 0 |
|---|
| 5990 | 0 0 1 1 |
|---|
| 5991 | 0 1 0 1 |
|---|
| 5992 | 1 0 0 1 |
|---|
| 5993 | 1 1 1 1 |
|---|
| 5994 | .mv _n5e8 2 ON OFF |
|---|
| 5995 | .names _n5e9<0> |
|---|
| 5996 | 0 |
|---|
| 5997 | .names _n5e9<1> |
|---|
| 5998 | 0 |
|---|
| 5999 | .names _n5e9<0> _n5e4<0> _n5eb<0> |
|---|
| 6000 | .def 0 |
|---|
| 6001 | 0 1 1 |
|---|
| 6002 | 1 0 1 |
|---|
| 6003 | .names _n5e9<1> _n5e4<1> _n5eb<1> |
|---|
| 6004 | .def 0 |
|---|
| 6005 | 0 1 1 |
|---|
| 6006 | 1 0 1 |
|---|
| 6007 | .names _n5eb<0> _n5eb<1> _n5ec |
|---|
| 6008 | .def 1 |
|---|
| 6009 | 0 0 0 |
|---|
| 6010 | .names _n5ec _n5ea |
|---|
| 6011 | 0 1 |
|---|
| 6012 | 1 0 |
|---|
| 6013 | .names _n5e8 down_floor_buttons$_n556$raw_n580<*0*> _n5ea down_floor_buttons$_n5d5_n5e0$true<*0*> |
|---|
| 6014 | - - 0 =down_floor_buttons$_n556$raw_n580<*0*> |
|---|
| 6015 | - - 1 =_n5e8 |
|---|
| 6016 | .names _n5ed<0> |
|---|
| 6017 | 1 |
|---|
| 6018 | .names _n5ed<1> |
|---|
| 6019 | 0 |
|---|
| 6020 | .names _n5ed<0> _n5e4<0> _n5ef<0> |
|---|
| 6021 | .def 0 |
|---|
| 6022 | 0 1 1 |
|---|
| 6023 | 1 0 1 |
|---|
| 6024 | .names _n5ed<1> _n5e4<1> _n5ef<1> |
|---|
| 6025 | .def 0 |
|---|
| 6026 | 0 1 1 |
|---|
| 6027 | 1 0 1 |
|---|
| 6028 | .names _n5ef<0> _n5ef<1> _n5f0 |
|---|
| 6029 | .def 1 |
|---|
| 6030 | 0 0 0 |
|---|
| 6031 | .names _n5f0 _n5ee |
|---|
| 6032 | 0 1 |
|---|
| 6033 | 1 0 |
|---|
| 6034 | .names _n5e8 down_floor_buttons$_n556$raw_n580<*1*> _n5ee down_floor_buttons$_n5d5_n5e0$true<*1*> |
|---|
| 6035 | - - 0 =down_floor_buttons$_n556$raw_n580<*1*> |
|---|
| 6036 | - - 1 =_n5e8 |
|---|
| 6037 | .names _n5f1<0> |
|---|
| 6038 | 0 |
|---|
| 6039 | .names _n5f1<1> |
|---|
| 6040 | 1 |
|---|
| 6041 | .names _n5f1<0> _n5e4<0> _n5f3<0> |
|---|
| 6042 | .def 0 |
|---|
| 6043 | 0 1 1 |
|---|
| 6044 | 1 0 1 |
|---|
| 6045 | .names _n5f1<1> _n5e4<1> _n5f3<1> |
|---|
| 6046 | .def 0 |
|---|
| 6047 | 0 1 1 |
|---|
| 6048 | 1 0 1 |
|---|
| 6049 | .names _n5f3<0> _n5f3<1> _n5f4 |
|---|
| 6050 | .def 1 |
|---|
| 6051 | 0 0 0 |
|---|
| 6052 | .names _n5f4 _n5f2 |
|---|
| 6053 | 0 1 |
|---|
| 6054 | 1 0 |
|---|
| 6055 | .names _n5e8 down_floor_buttons$_n556$raw_n580<*2*> _n5f2 down_floor_buttons$_n5d5_n5e0$true<*2*> |
|---|
| 6056 | - - 0 =down_floor_buttons$_n556$raw_n580<*2*> |
|---|
| 6057 | - - 1 =_n5e8 |
|---|
| 6058 | .names _n5e8 |
|---|
| 6059 | OFF |
|---|
| 6060 | # if/else (down_floor_buttons [locations [2] - 1] == 0) |
|---|
| 6061 | .mv down_floor_buttons$_n5d5$raw_n5f5<*0*> 2 ON OFF |
|---|
| 6062 | .mv down_floor_buttons$_n5d5$raw_n5f5<*1*> 2 ON OFF |
|---|
| 6063 | .mv down_floor_buttons$_n5d5$raw_n5f5<*2*> 2 ON OFF |
|---|
| 6064 | .names down_floor_buttons$_n5d5_n5e0$true<*0*> down_floor_buttons$_n556$raw_n580<*0*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*0*> |
|---|
| 6065 | - - 0 =down_floor_buttons$_n556$raw_n580<*0*> |
|---|
| 6066 | - - 1 =down_floor_buttons$_n5d5_n5e0$true<*0*> |
|---|
| 6067 | .names down_floor_buttons$_n5d5_n5e0$true<*1*> down_floor_buttons$_n556$raw_n580<*1*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*1*> |
|---|
| 6068 | - - 0 =down_floor_buttons$_n556$raw_n580<*1*> |
|---|
| 6069 | - - 1 =down_floor_buttons$_n5d5_n5e0$true<*1*> |
|---|
| 6070 | .names down_floor_buttons$_n5d5_n5e0$true<*2*> down_floor_buttons$_n556$raw_n580<*2*> _n5d5 down_floor_buttons$_n5d5$raw_n5f5<*2*> |
|---|
| 6071 | - - 0 =down_floor_buttons$_n556$raw_n580<*2*> |
|---|
| 6072 | - - 1 =down_floor_buttons$_n5d5_n5e0$true<*2*> |
|---|
| 6073 | # if/else ((locations [2] != 0) && (direction [2] == 1)) |
|---|
| 6074 | .mv down_floor_buttons$_n5d3$raw_n5fd<*0*> 2 ON OFF |
|---|
| 6075 | .mv down_floor_buttons$_n5d3$raw_n5fd<*1*> 2 ON OFF |
|---|
| 6076 | .mv down_floor_buttons$_n5d3$raw_n5fd<*2*> 2 ON OFF |
|---|
| 6077 | .names down_floor_buttons$_n5d5$raw_n5f5<*0*> down_floor_buttons$_n556$raw_n580<*0*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*0*> |
|---|
| 6078 | - - 0 =down_floor_buttons$_n556$raw_n580<*0*> |
|---|
| 6079 | - - 1 =down_floor_buttons$_n5d5$raw_n5f5<*0*> |
|---|
| 6080 | .names down_floor_buttons$_n5d5$raw_n5f5<*1*> down_floor_buttons$_n556$raw_n580<*1*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*1*> |
|---|
| 6081 | - - 0 =down_floor_buttons$_n556$raw_n580<*1*> |
|---|
| 6082 | - - 1 =down_floor_buttons$_n5d5$raw_n5f5<*1*> |
|---|
| 6083 | .names down_floor_buttons$_n5d5$raw_n5f5<*2*> down_floor_buttons$_n556$raw_n580<*2*> _n5d3 down_floor_buttons$_n5d3$raw_n5fd<*2*> |
|---|
| 6084 | - - 0 =down_floor_buttons$_n556$raw_n580<*2*> |
|---|
| 6085 | - - 1 =down_floor_buttons$_n5d5$raw_n5f5<*2*> |
|---|
| 6086 | .names _n606<0> |
|---|
| 6087 | 1 |
|---|
| 6088 | .names _n606<1> |
|---|
| 6089 | 0 |
|---|
| 6090 | .names locations<*1*><0> locations<*2*><0> _n606<1> _n606<0> _n607<0> |
|---|
| 6091 | - - 0 0 0 |
|---|
| 6092 | - - 0 0 0 |
|---|
| 6093 | 0 - 0 1 0 |
|---|
| 6094 | 1 - 0 1 1 |
|---|
| 6095 | - 0 1 0 0 |
|---|
| 6096 | - 1 1 0 1 |
|---|
| 6097 | - - 1 1 0 |
|---|
| 6098 | - - 1 1 0 |
|---|
| 6099 | .names locations<*1*><1> locations<*2*><1> _n606<1> _n606<0> _n607<1> |
|---|
| 6100 | - - 0 0 0 |
|---|
| 6101 | - - 0 0 0 |
|---|
| 6102 | 0 - 0 1 0 |
|---|
| 6103 | 1 - 0 1 1 |
|---|
| 6104 | - 0 1 0 0 |
|---|
| 6105 | - 1 1 0 1 |
|---|
| 6106 | - - 1 1 0 |
|---|
| 6107 | - - 1 1 0 |
|---|
| 6108 | .names _n608<0> |
|---|
| 6109 | 1 |
|---|
| 6110 | .names _n608<1> |
|---|
| 6111 | 1 |
|---|
| 6112 | .names _n609<0> |
|---|
| 6113 | 1 |
|---|
| 6114 | .names _n609<1> |
|---|
| 6115 | 0 |
|---|
| 6116 | # 3 - 1 |
|---|
| 6117 | .names _n60b |
|---|
| 6118 | 0 |
|---|
| 6119 | .names _n608<0> _n609<0> _n60b _n60a<0> |
|---|
| 6120 | .def 0 |
|---|
| 6121 | 0 0 1 1 |
|---|
| 6122 | 0 1 0 1 |
|---|
| 6123 | 1 0 0 1 |
|---|
| 6124 | 1 1 1 1 |
|---|
| 6125 | # carry/borrow |
|---|
| 6126 | .names _n60d |
|---|
| 6127 | 0 |
|---|
| 6128 | .names _n608<0> _n609<0> _n60d _n60c |
|---|
| 6129 | .def 0 |
|---|
| 6130 | 0 0 1 1 |
|---|
| 6131 | 0 1 0 1 |
|---|
| 6132 | 0 1 1 1 |
|---|
| 6133 | 1 1 1 1 |
|---|
| 6134 | .names _n608<1> _n609<1> _n60c _n60a<1> |
|---|
| 6135 | .def 0 |
|---|
| 6136 | 0 0 1 1 |
|---|
| 6137 | 0 1 0 1 |
|---|
| 6138 | 1 0 0 1 |
|---|
| 6139 | 1 1 1 1 |
|---|
| 6140 | # locations [1] == 3 - 1 |
|---|
| 6141 | .names _n607<0> _n60a<0> _n60e<0> |
|---|
| 6142 | .def 0 |
|---|
| 6143 | 0 1 1 |
|---|
| 6144 | 1 0 1 |
|---|
| 6145 | .names _n607<1> _n60a<1> _n60e<1> |
|---|
| 6146 | .def 0 |
|---|
| 6147 | 0 1 1 |
|---|
| 6148 | 1 0 1 |
|---|
| 6149 | .names _n60e<0> _n60e<1> _n60f |
|---|
| 6150 | .def 1 |
|---|
| 6151 | 0 0 0 |
|---|
| 6152 | .names _n60f _n605 |
|---|
| 6153 | 0 1 |
|---|
| 6154 | 1 0 |
|---|
| 6155 | .names _n605 _n610 |
|---|
| 6156 | - =_n605 |
|---|
| 6157 | # direction [1] = 1 |
|---|
| 6158 | .mv direction$_n605_n611$true<*1*> 2 UP DOWN |
|---|
| 6159 | .mv direction$_n605_n611$true<*2*> 2 UP DOWN |
|---|
| 6160 | .mv _n612 2 UP DOWN |
|---|
| 6161 | .names _n613<0> |
|---|
| 6162 | 1 |
|---|
| 6163 | .names _n613<1> |
|---|
| 6164 | 0 |
|---|
| 6165 | .names _n614<0> |
|---|
| 6166 | 1 |
|---|
| 6167 | .names _n614<1> |
|---|
| 6168 | 0 |
|---|
| 6169 | .names _n614<0> _n613<0> _n616<0> |
|---|
| 6170 | .def 0 |
|---|
| 6171 | 0 1 1 |
|---|
| 6172 | 1 0 1 |
|---|
| 6173 | .names _n614<1> _n613<1> _n616<1> |
|---|
| 6174 | .def 0 |
|---|
| 6175 | 0 1 1 |
|---|
| 6176 | 1 0 1 |
|---|
| 6177 | .names _n616<0> _n616<1> _n617 |
|---|
| 6178 | .def 1 |
|---|
| 6179 | 0 0 0 |
|---|
| 6180 | .names _n617 _n615 |
|---|
| 6181 | 0 1 |
|---|
| 6182 | 1 0 |
|---|
| 6183 | .names _n612 direction<*1*> _n615 direction$_n605_n611$true<*1*> |
|---|
| 6184 | - - 0 =direction<*1*> |
|---|
| 6185 | - - 1 =_n612 |
|---|
| 6186 | .names _n618<0> |
|---|
| 6187 | 0 |
|---|
| 6188 | .names _n618<1> |
|---|
| 6189 | 1 |
|---|
| 6190 | .names _n618<0> _n613<0> _n61a<0> |
|---|
| 6191 | .def 0 |
|---|
| 6192 | 0 1 1 |
|---|
| 6193 | 1 0 1 |
|---|
| 6194 | .names _n618<1> _n613<1> _n61a<1> |
|---|
| 6195 | .def 0 |
|---|
| 6196 | 0 1 1 |
|---|
| 6197 | 1 0 1 |
|---|
| 6198 | .names _n61a<0> _n61a<1> _n61b |
|---|
| 6199 | .def 1 |
|---|
| 6200 | 0 0 0 |
|---|
| 6201 | .names _n61b _n619 |
|---|
| 6202 | 0 1 |
|---|
| 6203 | 1 0 |
|---|
| 6204 | .names _n612 direction<*2*> _n619 direction$_n605_n611$true<*2*> |
|---|
| 6205 | - - 0 =direction<*2*> |
|---|
| 6206 | - - 1 =_n612 |
|---|
| 6207 | .names _n612 |
|---|
| 6208 | DOWN |
|---|
| 6209 | # if/else (locations [1] == 3 - 1) |
|---|
| 6210 | .mv direction$_n605$raw_n61e<*1*> 2 UP DOWN |
|---|
| 6211 | .mv direction$_n605$raw_n61e<*2*> 2 UP DOWN |
|---|
| 6212 | .names direction$_n605_n611$true<*1*> direction<*1*> _n605 direction$_n605$raw_n61e<*1*> |
|---|
| 6213 | - - 0 =direction<*1*> |
|---|
| 6214 | - - 1 =direction$_n605_n611$true<*1*> |
|---|
| 6215 | .names direction$_n605_n611$true<*2*> direction<*2*> _n605 direction$_n605$raw_n61e<*2*> |
|---|
| 6216 | - - 0 =direction<*2*> |
|---|
| 6217 | - - 1 =direction$_n605_n611$true<*2*> |
|---|
| 6218 | .names _n620<0> |
|---|
| 6219 | 1 |
|---|
| 6220 | .names _n620<1> |
|---|
| 6221 | 0 |
|---|
| 6222 | .names locations<*1*><0> locations<*2*><0> _n620<1> _n620<0> _n621<0> |
|---|
| 6223 | - - 0 0 0 |
|---|
| 6224 | - - 0 0 0 |
|---|
| 6225 | 0 - 0 1 0 |
|---|
| 6226 | 1 - 0 1 1 |
|---|
| 6227 | - 0 1 0 0 |
|---|
| 6228 | - 1 1 0 1 |
|---|
| 6229 | - - 1 1 0 |
|---|
| 6230 | - - 1 1 0 |
|---|
| 6231 | .names locations<*1*><1> locations<*2*><1> _n620<1> _n620<0> _n621<1> |
|---|
| 6232 | - - 0 0 0 |
|---|
| 6233 | - - 0 0 0 |
|---|
| 6234 | 0 - 0 1 0 |
|---|
| 6235 | 1 - 0 1 1 |
|---|
| 6236 | - 0 1 0 0 |
|---|
| 6237 | - 1 1 0 1 |
|---|
| 6238 | - - 1 1 0 |
|---|
| 6239 | - - 1 1 0 |
|---|
| 6240 | .names _n622<0> |
|---|
| 6241 | 0 |
|---|
| 6242 | .names _n622<1> |
|---|
| 6243 | 0 |
|---|
| 6244 | # locations [1] == 0 |
|---|
| 6245 | .names _n621<0> _n622<0> _n623<0> |
|---|
| 6246 | .def 0 |
|---|
| 6247 | 0 1 1 |
|---|
| 6248 | 1 0 1 |
|---|
| 6249 | .names _n621<1> _n622<1> _n623<1> |
|---|
| 6250 | .def 0 |
|---|
| 6251 | 0 1 1 |
|---|
| 6252 | 1 0 1 |
|---|
| 6253 | .names _n623<0> _n623<1> _n624 |
|---|
| 6254 | .def 1 |
|---|
| 6255 | 0 0 0 |
|---|
| 6256 | .names _n624 _n61f |
|---|
| 6257 | 0 1 |
|---|
| 6258 | 1 0 |
|---|
| 6259 | .names _n61f _n625 |
|---|
| 6260 | - =_n61f |
|---|
| 6261 | # direction [1] = 0 |
|---|
| 6262 | .mv direction$_n61f_n626$true<*1*> 2 UP DOWN |
|---|
| 6263 | .mv direction$_n61f_n626$true<*2*> 2 UP DOWN |
|---|
| 6264 | .mv _n627 2 UP DOWN |
|---|
| 6265 | .names _n628<0> |
|---|
| 6266 | 1 |
|---|
| 6267 | .names _n628<1> |
|---|
| 6268 | 0 |
|---|
| 6269 | .names _n629<0> |
|---|
| 6270 | 1 |
|---|
| 6271 | .names _n629<1> |
|---|
| 6272 | 0 |
|---|
| 6273 | .names _n629<0> _n628<0> _n62b<0> |
|---|
| 6274 | .def 0 |
|---|
| 6275 | 0 1 1 |
|---|
| 6276 | 1 0 1 |
|---|
| 6277 | .names _n629<1> _n628<1> _n62b<1> |
|---|
| 6278 | .def 0 |
|---|
| 6279 | 0 1 1 |
|---|
| 6280 | 1 0 1 |
|---|
| 6281 | .names _n62b<0> _n62b<1> _n62c |
|---|
| 6282 | .def 1 |
|---|
| 6283 | 0 0 0 |
|---|
| 6284 | .names _n62c _n62a |
|---|
| 6285 | 0 1 |
|---|
| 6286 | 1 0 |
|---|
| 6287 | .names _n627 direction$_n605$raw_n61e<*1*> _n62a direction$_n61f_n626$true<*1*> |
|---|
| 6288 | - - 0 =direction$_n605$raw_n61e<*1*> |
|---|
| 6289 | - - 1 =_n627 |
|---|
| 6290 | .names _n62d<0> |
|---|
| 6291 | 0 |
|---|
| 6292 | .names _n62d<1> |
|---|
| 6293 | 1 |
|---|
| 6294 | .names _n62d<0> _n628<0> _n62f<0> |
|---|
| 6295 | .def 0 |
|---|
| 6296 | 0 1 1 |
|---|
| 6297 | 1 0 1 |
|---|
| 6298 | .names _n62d<1> _n628<1> _n62f<1> |
|---|
| 6299 | .def 0 |
|---|
| 6300 | 0 1 1 |
|---|
| 6301 | 1 0 1 |
|---|
| 6302 | .names _n62f<0> _n62f<1> _n630 |
|---|
| 6303 | .def 1 |
|---|
| 6304 | 0 0 0 |
|---|
| 6305 | .names _n630 _n62e |
|---|
| 6306 | 0 1 |
|---|
| 6307 | 1 0 |
|---|
| 6308 | .names _n627 direction$_n605$raw_n61e<*2*> _n62e direction$_n61f_n626$true<*2*> |
|---|
| 6309 | - - 0 =direction$_n605$raw_n61e<*2*> |
|---|
| 6310 | - - 1 =_n627 |
|---|
| 6311 | .names _n627 |
|---|
| 6312 | UP |
|---|
| 6313 | # if/else (locations [1] == 0) |
|---|
| 6314 | .mv direction$_n61f$raw_n631<*1*> 2 UP DOWN |
|---|
| 6315 | .mv direction$_n61f$raw_n631<*2*> 2 UP DOWN |
|---|
| 6316 | .names direction$_n61f_n626$true<*1*> direction$_n605$raw_n61e<*1*> _n61f direction$_n61f$raw_n631<*1*> |
|---|
| 6317 | - - 0 =direction$_n605$raw_n61e<*1*> |
|---|
| 6318 | - - 1 =direction$_n61f_n626$true<*1*> |
|---|
| 6319 | .names direction$_n61f_n626$true<*2*> direction$_n605$raw_n61e<*2*> _n61f direction$_n61f$raw_n631<*2*> |
|---|
| 6320 | - - 0 =direction$_n605$raw_n61e<*2*> |
|---|
| 6321 | - - 1 =direction$_n61f_n626$true<*2*> |
|---|
| 6322 | .names inc<1> _n636 |
|---|
| 6323 | .def 1 |
|---|
| 6324 | 0 0 |
|---|
| 6325 | .names _n636 _n635 |
|---|
| 6326 | - =_n636 |
|---|
| 6327 | # locations [1] = locations [1] + 1 |
|---|
| 6328 | .names _n639<0> |
|---|
| 6329 | 1 |
|---|
| 6330 | .names _n639<1> |
|---|
| 6331 | 0 |
|---|
| 6332 | .names _n63a<0> |
|---|
| 6333 | 1 |
|---|
| 6334 | .names _n63a<1> |
|---|
| 6335 | 0 |
|---|
| 6336 | .names _n63a<0> _n639<0> _n63c<0> |
|---|
| 6337 | .def 0 |
|---|
| 6338 | 0 1 1 |
|---|
| 6339 | 1 0 1 |
|---|
| 6340 | .names _n63a<1> _n639<1> _n63c<1> |
|---|
| 6341 | .def 0 |
|---|
| 6342 | 0 1 1 |
|---|
| 6343 | 1 0 1 |
|---|
| 6344 | .names _n63c<0> _n63c<1> _n63d |
|---|
| 6345 | .def 1 |
|---|
| 6346 | 0 0 0 |
|---|
| 6347 | .names _n63d _n63b |
|---|
| 6348 | 0 1 |
|---|
| 6349 | 1 0 |
|---|
| 6350 | .names _n638<0> locations<*1*><0> _n63b locations$inc_n637$true<*1*><0> |
|---|
| 6351 | 0 - 1 0 |
|---|
| 6352 | 1 - 1 1 |
|---|
| 6353 | - 0 0 0 |
|---|
| 6354 | - 1 0 1 |
|---|
| 6355 | .names _n638<1> locations<*1*><1> _n63b locations$inc_n637$true<*1*><1> |
|---|
| 6356 | 0 - 1 0 |
|---|
| 6357 | 1 - 1 1 |
|---|
| 6358 | - 0 0 0 |
|---|
| 6359 | - 1 0 1 |
|---|
| 6360 | .names _n640<0> |
|---|
| 6361 | 0 |
|---|
| 6362 | .names _n640<1> |
|---|
| 6363 | 1 |
|---|
| 6364 | .names _n640<0> _n639<0> _n642<0> |
|---|
| 6365 | .def 0 |
|---|
| 6366 | 0 1 1 |
|---|
| 6367 | 1 0 1 |
|---|
| 6368 | .names _n640<1> _n639<1> _n642<1> |
|---|
| 6369 | .def 0 |
|---|
| 6370 | 0 1 1 |
|---|
| 6371 | 1 0 1 |
|---|
| 6372 | .names _n642<0> _n642<1> _n643 |
|---|
| 6373 | .def 1 |
|---|
| 6374 | 0 0 0 |
|---|
| 6375 | .names _n643 _n641 |
|---|
| 6376 | 0 1 |
|---|
| 6377 | 1 0 |
|---|
| 6378 | .names _n638<0> locations<*2*><0> _n641 locations$inc_n637$true<*2*><0> |
|---|
| 6379 | 0 - 1 0 |
|---|
| 6380 | 1 - 1 1 |
|---|
| 6381 | - 0 0 0 |
|---|
| 6382 | - 1 0 1 |
|---|
| 6383 | .names _n638<1> locations<*2*><1> _n641 locations$inc_n637$true<*2*><1> |
|---|
| 6384 | 0 - 1 0 |
|---|
| 6385 | 1 - 1 1 |
|---|
| 6386 | - 0 0 0 |
|---|
| 6387 | - 1 0 1 |
|---|
| 6388 | .names _n646<0> |
|---|
| 6389 | 1 |
|---|
| 6390 | .names _n646<1> |
|---|
| 6391 | 0 |
|---|
| 6392 | .names locations<*1*><0> locations<*2*><0> _n646<1> _n646<0> _n647<0> |
|---|
| 6393 | - - 0 0 0 |
|---|
| 6394 | - - 0 0 0 |
|---|
| 6395 | 0 - 0 1 0 |
|---|
| 6396 | 1 - 0 1 1 |
|---|
| 6397 | - 0 1 0 0 |
|---|
| 6398 | - 1 1 0 1 |
|---|
| 6399 | - - 1 1 0 |
|---|
| 6400 | - - 1 1 0 |
|---|
| 6401 | .names locations<*1*><1> locations<*2*><1> _n646<1> _n646<0> _n647<1> |
|---|
| 6402 | - - 0 0 0 |
|---|
| 6403 | - - 0 0 0 |
|---|
| 6404 | 0 - 0 1 0 |
|---|
| 6405 | 1 - 0 1 1 |
|---|
| 6406 | - 0 1 0 0 |
|---|
| 6407 | - 1 1 0 1 |
|---|
| 6408 | - - 1 1 0 |
|---|
| 6409 | - - 1 1 0 |
|---|
| 6410 | .names _n648<0> |
|---|
| 6411 | 1 |
|---|
| 6412 | .names _n648<1> |
|---|
| 6413 | 0 |
|---|
| 6414 | # locations [1] + 1 |
|---|
| 6415 | .names _n64a |
|---|
| 6416 | 0 |
|---|
| 6417 | .names _n647<0> _n648<0> _n64a _n649<0> |
|---|
| 6418 | .def 0 |
|---|
| 6419 | 0 0 1 1 |
|---|
| 6420 | 0 1 0 1 |
|---|
| 6421 | 1 0 0 1 |
|---|
| 6422 | 1 1 1 1 |
|---|
| 6423 | # carry/borrow |
|---|
| 6424 | .names _n64c |
|---|
| 6425 | 0 |
|---|
| 6426 | .names _n647<0> _n648<0> _n64c _n64b |
|---|
| 6427 | .def 0 |
|---|
| 6428 | 0 1 1 1 |
|---|
| 6429 | 1 0 1 1 |
|---|
| 6430 | 1 1 0 1 |
|---|
| 6431 | 1 1 1 1 |
|---|
| 6432 | .names _n647<1> _n648<1> _n64b _n649<1> |
|---|
| 6433 | .def 0 |
|---|
| 6434 | 0 0 1 1 |
|---|
| 6435 | 0 1 0 1 |
|---|
| 6436 | 1 0 0 1 |
|---|
| 6437 | 1 1 1 1 |
|---|
| 6438 | .names _n649<0> _n638<0> |
|---|
| 6439 | - =_n649<0> |
|---|
| 6440 | .names _n649<1> _n638<1> |
|---|
| 6441 | - =_n649<1> |
|---|
| 6442 | # direction [1] = 0 |
|---|
| 6443 | .mv direction$inc_n64d$true<*1*> 2 UP DOWN |
|---|
| 6444 | .mv direction$inc_n64d$true<*2*> 2 UP DOWN |
|---|
| 6445 | .mv _n64e 2 UP DOWN |
|---|
| 6446 | .names _n64f<0> |
|---|
| 6447 | 1 |
|---|
| 6448 | .names _n64f<1> |
|---|
| 6449 | 0 |
|---|
| 6450 | .names _n650<0> |
|---|
| 6451 | 1 |
|---|
| 6452 | .names _n650<1> |
|---|
| 6453 | 0 |
|---|
| 6454 | .names _n650<0> _n64f<0> _n652<0> |
|---|
| 6455 | .def 0 |
|---|
| 6456 | 0 1 1 |
|---|
| 6457 | 1 0 1 |
|---|
| 6458 | .names _n650<1> _n64f<1> _n652<1> |
|---|
| 6459 | .def 0 |
|---|
| 6460 | 0 1 1 |
|---|
| 6461 | 1 0 1 |
|---|
| 6462 | .names _n652<0> _n652<1> _n653 |
|---|
| 6463 | .def 1 |
|---|
| 6464 | 0 0 0 |
|---|
| 6465 | .names _n653 _n651 |
|---|
| 6466 | 0 1 |
|---|
| 6467 | 1 0 |
|---|
| 6468 | .names _n64e direction$_n61f$raw_n631<*1*> _n651 direction$inc_n64d$true<*1*> |
|---|
| 6469 | - - 0 =direction$_n61f$raw_n631<*1*> |
|---|
| 6470 | - - 1 =_n64e |
|---|
| 6471 | .names _n654<0> |
|---|
| 6472 | 0 |
|---|
| 6473 | .names _n654<1> |
|---|
| 6474 | 1 |
|---|
| 6475 | .names _n654<0> _n64f<0> _n656<0> |
|---|
| 6476 | .def 0 |
|---|
| 6477 | 0 1 1 |
|---|
| 6478 | 1 0 1 |
|---|
| 6479 | .names _n654<1> _n64f<1> _n656<1> |
|---|
| 6480 | .def 0 |
|---|
| 6481 | 0 1 1 |
|---|
| 6482 | 1 0 1 |
|---|
| 6483 | .names _n656<0> _n656<1> _n657 |
|---|
| 6484 | .def 1 |
|---|
| 6485 | 0 0 0 |
|---|
| 6486 | .names _n657 _n655 |
|---|
| 6487 | 0 1 |
|---|
| 6488 | 1 0 |
|---|
| 6489 | .names _n64e direction$_n61f$raw_n631<*2*> _n655 direction$inc_n64d$true<*2*> |
|---|
| 6490 | - - 0 =direction$_n61f$raw_n631<*2*> |
|---|
| 6491 | - - 1 =_n64e |
|---|
| 6492 | .names _n64e |
|---|
| 6493 | UP |
|---|
| 6494 | # if/else (inc [1]) |
|---|
| 6495 | .mv direction$inc$raw_n658<*1*> 2 UP DOWN |
|---|
| 6496 | .mv direction$inc$raw_n658<*2*> 2 UP DOWN |
|---|
| 6497 | .names inc<1> _n659 |
|---|
| 6498 | .def 1 |
|---|
| 6499 | 0 0 |
|---|
| 6500 | .names direction$inc_n64d$true<*1*> direction$_n61f$raw_n631<*1*> _n659 direction$inc$raw_n658<*1*> |
|---|
| 6501 | - - 0 =direction$_n61f$raw_n631<*1*> |
|---|
| 6502 | - - 1 =direction$inc_n64d$true<*1*> |
|---|
| 6503 | .names direction$inc_n64d$true<*2*> direction$_n61f$raw_n631<*2*> _n659 direction$inc$raw_n658<*2*> |
|---|
| 6504 | - - 0 =direction$_n61f$raw_n631<*2*> |
|---|
| 6505 | - - 1 =direction$inc_n64d$true<*2*> |
|---|
| 6506 | .names inc<1> _n65f |
|---|
| 6507 | .def 1 |
|---|
| 6508 | 0 0 |
|---|
| 6509 | .names locations$inc_n637$true<*1*><0> locations<*1*><0> _n65f locations$inc$raw_n65e<*1*><0> |
|---|
| 6510 | 0 - 1 0 |
|---|
| 6511 | 1 - 1 1 |
|---|
| 6512 | - 0 0 0 |
|---|
| 6513 | - 1 0 1 |
|---|
| 6514 | .names locations$inc_n637$true<*1*><1> locations<*1*><1> _n65f locations$inc$raw_n65e<*1*><1> |
|---|
| 6515 | 0 - 1 0 |
|---|
| 6516 | 1 - 1 1 |
|---|
| 6517 | - 0 0 0 |
|---|
| 6518 | - 1 0 1 |
|---|
| 6519 | .names locations$inc_n637$true<*2*><0> locations<*2*><0> _n65f locations$inc$raw_n65e<*2*><0> |
|---|
| 6520 | 0 - 1 0 |
|---|
| 6521 | 1 - 1 1 |
|---|
| 6522 | - 0 0 0 |
|---|
| 6523 | - 1 0 1 |
|---|
| 6524 | .names locations$inc_n637$true<*2*><1> locations<*2*><1> _n65f locations$inc$raw_n65e<*2*><1> |
|---|
| 6525 | 0 - 1 0 |
|---|
| 6526 | 1 - 1 1 |
|---|
| 6527 | - 0 0 0 |
|---|
| 6528 | - 1 0 1 |
|---|
| 6529 | .names dec<1> _n666 |
|---|
| 6530 | .def 1 |
|---|
| 6531 | 0 0 |
|---|
| 6532 | .names _n666 _n665 |
|---|
| 6533 | - =_n666 |
|---|
| 6534 | # locations [1] = locations [1] - 1 |
|---|
| 6535 | .names _n669<0> |
|---|
| 6536 | 1 |
|---|
| 6537 | .names _n669<1> |
|---|
| 6538 | 0 |
|---|
| 6539 | .names _n66a<0> |
|---|
| 6540 | 1 |
|---|
| 6541 | .names _n66a<1> |
|---|
| 6542 | 0 |
|---|
| 6543 | .names _n66a<0> _n669<0> _n66c<0> |
|---|
| 6544 | .def 0 |
|---|
| 6545 | 0 1 1 |
|---|
| 6546 | 1 0 1 |
|---|
| 6547 | .names _n66a<1> _n669<1> _n66c<1> |
|---|
| 6548 | .def 0 |
|---|
| 6549 | 0 1 1 |
|---|
| 6550 | 1 0 1 |
|---|
| 6551 | .names _n66c<0> _n66c<1> _n66d |
|---|
| 6552 | .def 1 |
|---|
| 6553 | 0 0 0 |
|---|
| 6554 | .names _n66d _n66b |
|---|
| 6555 | 0 1 |
|---|
| 6556 | 1 0 |
|---|
| 6557 | .names _n668<0> locations$inc$raw_n65e<*1*><0> _n66b locations$dec_n667$true<*1*><0> |
|---|
| 6558 | 0 - 1 0 |
|---|
| 6559 | 1 - 1 1 |
|---|
| 6560 | - 0 0 0 |
|---|
| 6561 | - 1 0 1 |
|---|
| 6562 | .names _n668<1> locations$inc$raw_n65e<*1*><1> _n66b locations$dec_n667$true<*1*><1> |
|---|
| 6563 | 0 - 1 0 |
|---|
| 6564 | 1 - 1 1 |
|---|
| 6565 | - 0 0 0 |
|---|
| 6566 | - 1 0 1 |
|---|
| 6567 | .names _n670<0> |
|---|
| 6568 | 0 |
|---|
| 6569 | .names _n670<1> |
|---|
| 6570 | 1 |
|---|
| 6571 | .names _n670<0> _n669<0> _n672<0> |
|---|
| 6572 | .def 0 |
|---|
| 6573 | 0 1 1 |
|---|
| 6574 | 1 0 1 |
|---|
| 6575 | .names _n670<1> _n669<1> _n672<1> |
|---|
| 6576 | .def 0 |
|---|
| 6577 | 0 1 1 |
|---|
| 6578 | 1 0 1 |
|---|
| 6579 | .names _n672<0> _n672<1> _n673 |
|---|
| 6580 | .def 1 |
|---|
| 6581 | 0 0 0 |
|---|
| 6582 | .names _n673 _n671 |
|---|
| 6583 | 0 1 |
|---|
| 6584 | 1 0 |
|---|
| 6585 | .names _n668<0> locations$inc$raw_n65e<*2*><0> _n671 locations$dec_n667$true<*2*><0> |
|---|
| 6586 | 0 - 1 0 |
|---|
| 6587 | 1 - 1 1 |
|---|
| 6588 | - 0 0 0 |
|---|
| 6589 | - 1 0 1 |
|---|
| 6590 | .names _n668<1> locations$inc$raw_n65e<*2*><1> _n671 locations$dec_n667$true<*2*><1> |
|---|
| 6591 | 0 - 1 0 |
|---|
| 6592 | 1 - 1 1 |
|---|
| 6593 | - 0 0 0 |
|---|
| 6594 | - 1 0 1 |
|---|
| 6595 | .names _n676<0> |
|---|
| 6596 | 1 |
|---|
| 6597 | .names _n676<1> |
|---|
| 6598 | 0 |
|---|
| 6599 | .names locations$inc$raw_n65e<*1*><0> locations$inc$raw_n65e<*2*><0> _n676<1> _n676<0> _n677<0> |
|---|
| 6600 | - - 0 0 0 |
|---|
| 6601 | - - 0 0 0 |
|---|
| 6602 | 0 - 0 1 0 |
|---|
| 6603 | 1 - 0 1 1 |
|---|
| 6604 | - 0 1 0 0 |
|---|
| 6605 | - 1 1 0 1 |
|---|
| 6606 | - - 1 1 0 |
|---|
| 6607 | - - 1 1 0 |
|---|
| 6608 | .names locations$inc$raw_n65e<*1*><1> locations$inc$raw_n65e<*2*><1> _n676<1> _n676<0> _n677<1> |
|---|
| 6609 | - - 0 0 0 |
|---|
| 6610 | - - 0 0 0 |
|---|
| 6611 | 0 - 0 1 0 |
|---|
| 6612 | 1 - 0 1 1 |
|---|
| 6613 | - 0 1 0 0 |
|---|
| 6614 | - 1 1 0 1 |
|---|
| 6615 | - - 1 1 0 |
|---|
| 6616 | - - 1 1 0 |
|---|
| 6617 | .names _n678<0> |
|---|
| 6618 | 1 |
|---|
| 6619 | .names _n678<1> |
|---|
| 6620 | 0 |
|---|
| 6621 | # locations [1] - 1 |
|---|
| 6622 | .names _n67a |
|---|
| 6623 | 0 |
|---|
| 6624 | .names _n677<0> _n678<0> _n67a _n679<0> |
|---|
| 6625 | .def 0 |
|---|
| 6626 | 0 0 1 1 |
|---|
| 6627 | 0 1 0 1 |
|---|
| 6628 | 1 0 0 1 |
|---|
| 6629 | 1 1 1 1 |
|---|
| 6630 | # carry/borrow |
|---|
| 6631 | .names _n67c |
|---|
| 6632 | 0 |
|---|
| 6633 | .names _n677<0> _n678<0> _n67c _n67b |
|---|
| 6634 | .def 0 |
|---|
| 6635 | 0 0 1 1 |
|---|
| 6636 | 0 1 0 1 |
|---|
| 6637 | 0 1 1 1 |
|---|
| 6638 | 1 1 1 1 |
|---|
| 6639 | .names _n677<1> _n678<1> _n67b _n679<1> |
|---|
| 6640 | .def 0 |
|---|
| 6641 | 0 0 1 1 |
|---|
| 6642 | 0 1 0 1 |
|---|
| 6643 | 1 0 0 1 |
|---|
| 6644 | 1 1 1 1 |
|---|
| 6645 | .names _n679<0> _n668<0> |
|---|
| 6646 | - =_n679<0> |
|---|
| 6647 | .names _n679<1> _n668<1> |
|---|
| 6648 | - =_n679<1> |
|---|
| 6649 | # direction [1] = 1 |
|---|
| 6650 | .mv direction$dec_n67d$true<*1*> 2 UP DOWN |
|---|
| 6651 | .mv direction$dec_n67d$true<*2*> 2 UP DOWN |
|---|
| 6652 | .mv _n67e 2 UP DOWN |
|---|
| 6653 | .names _n67f<0> |
|---|
| 6654 | 1 |
|---|
| 6655 | .names _n67f<1> |
|---|
| 6656 | 0 |
|---|
| 6657 | .names _n680<0> |
|---|
| 6658 | 1 |
|---|
| 6659 | .names _n680<1> |
|---|
| 6660 | 0 |
|---|
| 6661 | .names _n680<0> _n67f<0> _n682<0> |
|---|
| 6662 | .def 0 |
|---|
| 6663 | 0 1 1 |
|---|
| 6664 | 1 0 1 |
|---|
| 6665 | .names _n680<1> _n67f<1> _n682<1> |
|---|
| 6666 | .def 0 |
|---|
| 6667 | 0 1 1 |
|---|
| 6668 | 1 0 1 |
|---|
| 6669 | .names _n682<0> _n682<1> _n683 |
|---|
| 6670 | .def 1 |
|---|
| 6671 | 0 0 0 |
|---|
| 6672 | .names _n683 _n681 |
|---|
| 6673 | 0 1 |
|---|
| 6674 | 1 0 |
|---|
| 6675 | .names _n67e direction$inc$raw_n658<*1*> _n681 direction$dec_n67d$true<*1*> |
|---|
| 6676 | - - 0 =direction$inc$raw_n658<*1*> |
|---|
| 6677 | - - 1 =_n67e |
|---|
| 6678 | .names _n684<0> |
|---|
| 6679 | 0 |
|---|
| 6680 | .names _n684<1> |
|---|
| 6681 | 1 |
|---|
| 6682 | .names _n684<0> _n67f<0> _n686<0> |
|---|
| 6683 | .def 0 |
|---|
| 6684 | 0 1 1 |
|---|
| 6685 | 1 0 1 |
|---|
| 6686 | .names _n684<1> _n67f<1> _n686<1> |
|---|
| 6687 | .def 0 |
|---|
| 6688 | 0 1 1 |
|---|
| 6689 | 1 0 1 |
|---|
| 6690 | .names _n686<0> _n686<1> _n687 |
|---|
| 6691 | .def 1 |
|---|
| 6692 | 0 0 0 |
|---|
| 6693 | .names _n687 _n685 |
|---|
| 6694 | 0 1 |
|---|
| 6695 | 1 0 |
|---|
| 6696 | .names _n67e direction$inc$raw_n658<*2*> _n685 direction$dec_n67d$true<*2*> |
|---|
| 6697 | - - 0 =direction$inc$raw_n658<*2*> |
|---|
| 6698 | - - 1 =_n67e |
|---|
| 6699 | .names _n67e |
|---|
| 6700 | DOWN |
|---|
| 6701 | # if/else (dec [1]) |
|---|
| 6702 | .mv direction$dec$raw_n688<*1*> 2 UP DOWN |
|---|
| 6703 | .mv direction$dec$raw_n688<*2*> 2 UP DOWN |
|---|
| 6704 | .names dec<1> _n689 |
|---|
| 6705 | .def 1 |
|---|
| 6706 | 0 0 |
|---|
| 6707 | .names direction$dec_n67d$true<*1*> direction$inc$raw_n658<*1*> _n689 direction$dec$raw_n688<*1*> |
|---|
| 6708 | - - 0 =direction$inc$raw_n658<*1*> |
|---|
| 6709 | - - 1 =direction$dec_n67d$true<*1*> |
|---|
| 6710 | .names direction$dec_n67d$true<*2*> direction$inc$raw_n658<*2*> _n689 direction$dec$raw_n688<*2*> |
|---|
| 6711 | - - 0 =direction$inc$raw_n658<*2*> |
|---|
| 6712 | - - 1 =direction$dec_n67d$true<*2*> |
|---|
| 6713 | .names dec<1> _n68b |
|---|
| 6714 | .def 1 |
|---|
| 6715 | 0 0 |
|---|
| 6716 | .names locations$dec_n667$true<*1*><0> locations$inc$raw_n65e<*1*><0> _n68b locations$dec$raw_n68a<*1*><0> |
|---|
| 6717 | 0 - 1 0 |
|---|
| 6718 | 1 - 1 1 |
|---|
| 6719 | - 0 0 0 |
|---|
| 6720 | - 1 0 1 |
|---|
| 6721 | .names locations$dec_n667$true<*1*><1> locations$inc$raw_n65e<*1*><1> _n68b locations$dec$raw_n68a<*1*><1> |
|---|
| 6722 | 0 - 1 0 |
|---|
| 6723 | 1 - 1 1 |
|---|
| 6724 | - 0 0 0 |
|---|
| 6725 | - 1 0 1 |
|---|
| 6726 | .names locations$dec_n667$true<*2*><0> locations$inc$raw_n65e<*2*><0> _n68b locations$dec$raw_n68a<*2*><0> |
|---|
| 6727 | 0 - 1 0 |
|---|
| 6728 | 1 - 1 1 |
|---|
| 6729 | - 0 0 0 |
|---|
| 6730 | - 1 0 1 |
|---|
| 6731 | .names locations$dec_n667$true<*2*><1> locations$inc$raw_n65e<*2*><1> _n68b locations$dec$raw_n68a<*2*><1> |
|---|
| 6732 | 0 - 1 0 |
|---|
| 6733 | 1 - 1 1 |
|---|
| 6734 | - 0 0 0 |
|---|
| 6735 | - 1 0 1 |
|---|
| 6736 | .names _n697<0> |
|---|
| 6737 | 0 |
|---|
| 6738 | .names _n697<1> |
|---|
| 6739 | 1 |
|---|
| 6740 | .names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n697<1> _n697<0> _n698<0> |
|---|
| 6741 | - - 0 0 0 |
|---|
| 6742 | - - 0 0 0 |
|---|
| 6743 | 0 - 0 1 0 |
|---|
| 6744 | 1 - 0 1 1 |
|---|
| 6745 | - 0 1 0 0 |
|---|
| 6746 | - 1 1 0 1 |
|---|
| 6747 | - - 1 1 0 |
|---|
| 6748 | - - 1 1 0 |
|---|
| 6749 | .names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n697<1> _n697<0> _n698<1> |
|---|
| 6750 | - - 0 0 0 |
|---|
| 6751 | - - 0 0 0 |
|---|
| 6752 | 0 - 0 1 0 |
|---|
| 6753 | 1 - 0 1 1 |
|---|
| 6754 | - 0 1 0 0 |
|---|
| 6755 | - 1 1 0 1 |
|---|
| 6756 | - - 1 1 0 |
|---|
| 6757 | - - 1 1 0 |
|---|
| 6758 | .names _n699<0> |
|---|
| 6759 | 1 |
|---|
| 6760 | .names _n699<1> |
|---|
| 6761 | 1 |
|---|
| 6762 | .names _n69a<0> |
|---|
| 6763 | 1 |
|---|
| 6764 | .names _n69a<1> |
|---|
| 6765 | 0 |
|---|
| 6766 | # 3 - 1 |
|---|
| 6767 | .names _n69c |
|---|
| 6768 | 0 |
|---|
| 6769 | .names _n699<0> _n69a<0> _n69c _n69b<0> |
|---|
| 6770 | .def 0 |
|---|
| 6771 | 0 0 1 1 |
|---|
| 6772 | 0 1 0 1 |
|---|
| 6773 | 1 0 0 1 |
|---|
| 6774 | 1 1 1 1 |
|---|
| 6775 | # carry/borrow |
|---|
| 6776 | .names _n69e |
|---|
| 6777 | 0 |
|---|
| 6778 | .names _n699<0> _n69a<0> _n69e _n69d |
|---|
| 6779 | .def 0 |
|---|
| 6780 | 0 0 1 1 |
|---|
| 6781 | 0 1 0 1 |
|---|
| 6782 | 0 1 1 1 |
|---|
| 6783 | 1 1 1 1 |
|---|
| 6784 | .names _n699<1> _n69a<1> _n69d _n69b<1> |
|---|
| 6785 | .def 0 |
|---|
| 6786 | 0 0 1 1 |
|---|
| 6787 | 0 1 0 1 |
|---|
| 6788 | 1 0 0 1 |
|---|
| 6789 | 1 1 1 1 |
|---|
| 6790 | # locations [2] == 3 - 1 |
|---|
| 6791 | .names _n698<0> _n69b<0> _n69f<0> |
|---|
| 6792 | .def 0 |
|---|
| 6793 | 0 1 1 |
|---|
| 6794 | 1 0 1 |
|---|
| 6795 | .names _n698<1> _n69b<1> _n69f<1> |
|---|
| 6796 | .def 0 |
|---|
| 6797 | 0 1 1 |
|---|
| 6798 | 1 0 1 |
|---|
| 6799 | .names _n69f<0> _n69f<1> _n6a0 |
|---|
| 6800 | .def 1 |
|---|
| 6801 | 0 0 0 |
|---|
| 6802 | .names _n6a0 _n696 |
|---|
| 6803 | 0 1 |
|---|
| 6804 | 1 0 |
|---|
| 6805 | .names _n696 _n6a1 |
|---|
| 6806 | - =_n696 |
|---|
| 6807 | # direction [2] = 1 |
|---|
| 6808 | .mv direction$_n696_n6a2$true<*1*> 2 UP DOWN |
|---|
| 6809 | .mv direction$_n696_n6a2$true<*2*> 2 UP DOWN |
|---|
| 6810 | .mv _n6a3 2 UP DOWN |
|---|
| 6811 | .names _n6a4<0> |
|---|
| 6812 | 0 |
|---|
| 6813 | .names _n6a4<1> |
|---|
| 6814 | 1 |
|---|
| 6815 | .names _n6a5<0> |
|---|
| 6816 | 1 |
|---|
| 6817 | .names _n6a5<1> |
|---|
| 6818 | 0 |
|---|
| 6819 | .names _n6a5<0> _n6a4<0> _n6a7<0> |
|---|
| 6820 | .def 0 |
|---|
| 6821 | 0 1 1 |
|---|
| 6822 | 1 0 1 |
|---|
| 6823 | .names _n6a5<1> _n6a4<1> _n6a7<1> |
|---|
| 6824 | .def 0 |
|---|
| 6825 | 0 1 1 |
|---|
| 6826 | 1 0 1 |
|---|
| 6827 | .names _n6a7<0> _n6a7<1> _n6a8 |
|---|
| 6828 | .def 1 |
|---|
| 6829 | 0 0 0 |
|---|
| 6830 | .names _n6a8 _n6a6 |
|---|
| 6831 | 0 1 |
|---|
| 6832 | 1 0 |
|---|
| 6833 | .names _n6a3 direction$dec$raw_n688<*1*> _n6a6 direction$_n696_n6a2$true<*1*> |
|---|
| 6834 | - - 0 =direction$dec$raw_n688<*1*> |
|---|
| 6835 | - - 1 =_n6a3 |
|---|
| 6836 | .names _n6a9<0> |
|---|
| 6837 | 0 |
|---|
| 6838 | .names _n6a9<1> |
|---|
| 6839 | 1 |
|---|
| 6840 | .names _n6a9<0> _n6a4<0> _n6ab<0> |
|---|
| 6841 | .def 0 |
|---|
| 6842 | 0 1 1 |
|---|
| 6843 | 1 0 1 |
|---|
| 6844 | .names _n6a9<1> _n6a4<1> _n6ab<1> |
|---|
| 6845 | .def 0 |
|---|
| 6846 | 0 1 1 |
|---|
| 6847 | 1 0 1 |
|---|
| 6848 | .names _n6ab<0> _n6ab<1> _n6ac |
|---|
| 6849 | .def 1 |
|---|
| 6850 | 0 0 0 |
|---|
| 6851 | .names _n6ac _n6aa |
|---|
| 6852 | 0 1 |
|---|
| 6853 | 1 0 |
|---|
| 6854 | .names _n6a3 direction$dec$raw_n688<*2*> _n6aa direction$_n696_n6a2$true<*2*> |
|---|
| 6855 | - - 0 =direction$dec$raw_n688<*2*> |
|---|
| 6856 | - - 1 =_n6a3 |
|---|
| 6857 | .names _n6a3 |
|---|
| 6858 | DOWN |
|---|
| 6859 | # if/else (locations [2] == 3 - 1) |
|---|
| 6860 | .mv direction$_n696$raw_n6ad<*1*> 2 UP DOWN |
|---|
| 6861 | .mv direction$_n696$raw_n6ad<*2*> 2 UP DOWN |
|---|
| 6862 | .names direction$_n696_n6a2$true<*1*> direction$dec$raw_n688<*1*> _n696 direction$_n696$raw_n6ad<*1*> |
|---|
| 6863 | - - 0 =direction$dec$raw_n688<*1*> |
|---|
| 6864 | - - 1 =direction$_n696_n6a2$true<*1*> |
|---|
| 6865 | .names direction$_n696_n6a2$true<*2*> direction$dec$raw_n688<*2*> _n696 direction$_n696$raw_n6ad<*2*> |
|---|
| 6866 | - - 0 =direction$dec$raw_n688<*2*> |
|---|
| 6867 | - - 1 =direction$_n696_n6a2$true<*2*> |
|---|
| 6868 | .names _n6b6<0> |
|---|
| 6869 | 0 |
|---|
| 6870 | .names _n6b6<1> |
|---|
| 6871 | 1 |
|---|
| 6872 | .names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n6b6<1> _n6b6<0> _n6b7<0> |
|---|
| 6873 | - - 0 0 0 |
|---|
| 6874 | - - 0 0 0 |
|---|
| 6875 | 0 - 0 1 0 |
|---|
| 6876 | 1 - 0 1 1 |
|---|
| 6877 | - 0 1 0 0 |
|---|
| 6878 | - 1 1 0 1 |
|---|
| 6879 | - - 1 1 0 |
|---|
| 6880 | - - 1 1 0 |
|---|
| 6881 | .names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n6b6<1> _n6b6<0> _n6b7<1> |
|---|
| 6882 | - - 0 0 0 |
|---|
| 6883 | - - 0 0 0 |
|---|
| 6884 | 0 - 0 1 0 |
|---|
| 6885 | 1 - 0 1 1 |
|---|
| 6886 | - 0 1 0 0 |
|---|
| 6887 | - 1 1 0 1 |
|---|
| 6888 | - - 1 1 0 |
|---|
| 6889 | - - 1 1 0 |
|---|
| 6890 | .names _n6b8<0> |
|---|
| 6891 | 0 |
|---|
| 6892 | .names _n6b8<1> |
|---|
| 6893 | 0 |
|---|
| 6894 | # locations [2] == 0 |
|---|
| 6895 | .names _n6b7<0> _n6b8<0> _n6b9<0> |
|---|
| 6896 | .def 0 |
|---|
| 6897 | 0 1 1 |
|---|
| 6898 | 1 0 1 |
|---|
| 6899 | .names _n6b7<1> _n6b8<1> _n6b9<1> |
|---|
| 6900 | .def 0 |
|---|
| 6901 | 0 1 1 |
|---|
| 6902 | 1 0 1 |
|---|
| 6903 | .names _n6b9<0> _n6b9<1> _n6ba |
|---|
| 6904 | .def 1 |
|---|
| 6905 | 0 0 0 |
|---|
| 6906 | .names _n6ba _n6b5 |
|---|
| 6907 | 0 1 |
|---|
| 6908 | 1 0 |
|---|
| 6909 | .names _n6b5 _n6bb |
|---|
| 6910 | - =_n6b5 |
|---|
| 6911 | # direction [2] = 0 |
|---|
| 6912 | .mv direction$_n6b5_n6bc$true<*1*> 2 UP DOWN |
|---|
| 6913 | .mv direction$_n6b5_n6bc$true<*2*> 2 UP DOWN |
|---|
| 6914 | .mv _n6bd 2 UP DOWN |
|---|
| 6915 | .names _n6be<0> |
|---|
| 6916 | 0 |
|---|
| 6917 | .names _n6be<1> |
|---|
| 6918 | 1 |
|---|
| 6919 | .names _n6bf<0> |
|---|
| 6920 | 1 |
|---|
| 6921 | .names _n6bf<1> |
|---|
| 6922 | 0 |
|---|
| 6923 | .names _n6bf<0> _n6be<0> _n6c1<0> |
|---|
| 6924 | .def 0 |
|---|
| 6925 | 0 1 1 |
|---|
| 6926 | 1 0 1 |
|---|
| 6927 | .names _n6bf<1> _n6be<1> _n6c1<1> |
|---|
| 6928 | .def 0 |
|---|
| 6929 | 0 1 1 |
|---|
| 6930 | 1 0 1 |
|---|
| 6931 | .names _n6c1<0> _n6c1<1> _n6c2 |
|---|
| 6932 | .def 1 |
|---|
| 6933 | 0 0 0 |
|---|
| 6934 | .names _n6c2 _n6c0 |
|---|
| 6935 | 0 1 |
|---|
| 6936 | 1 0 |
|---|
| 6937 | .names _n6bd direction$_n696$raw_n6ad<*1*> _n6c0 direction$_n6b5_n6bc$true<*1*> |
|---|
| 6938 | - - 0 =direction$_n696$raw_n6ad<*1*> |
|---|
| 6939 | - - 1 =_n6bd |
|---|
| 6940 | .names _n6c3<0> |
|---|
| 6941 | 0 |
|---|
| 6942 | .names _n6c3<1> |
|---|
| 6943 | 1 |
|---|
| 6944 | .names _n6c3<0> _n6be<0> _n6c5<0> |
|---|
| 6945 | .def 0 |
|---|
| 6946 | 0 1 1 |
|---|
| 6947 | 1 0 1 |
|---|
| 6948 | .names _n6c3<1> _n6be<1> _n6c5<1> |
|---|
| 6949 | .def 0 |
|---|
| 6950 | 0 1 1 |
|---|
| 6951 | 1 0 1 |
|---|
| 6952 | .names _n6c5<0> _n6c5<1> _n6c6 |
|---|
| 6953 | .def 1 |
|---|
| 6954 | 0 0 0 |
|---|
| 6955 | .names _n6c6 _n6c4 |
|---|
| 6956 | 0 1 |
|---|
| 6957 | 1 0 |
|---|
| 6958 | .names _n6bd direction$_n696$raw_n6ad<*2*> _n6c4 direction$_n6b5_n6bc$true<*2*> |
|---|
| 6959 | - - 0 =direction$_n696$raw_n6ad<*2*> |
|---|
| 6960 | - - 1 =_n6bd |
|---|
| 6961 | .names _n6bd |
|---|
| 6962 | UP |
|---|
| 6963 | # if/else (locations [2] == 0) |
|---|
| 6964 | .mv direction$_n6b5$raw_n6c7<*1*> 2 UP DOWN |
|---|
| 6965 | .mv direction$_n6b5$raw_n6c7<*2*> 2 UP DOWN |
|---|
| 6966 | .names direction$_n6b5_n6bc$true<*1*> direction$_n696$raw_n6ad<*1*> _n6b5 direction$_n6b5$raw_n6c7<*1*> |
|---|
| 6967 | - - 0 =direction$_n696$raw_n6ad<*1*> |
|---|
| 6968 | - - 1 =direction$_n6b5_n6bc$true<*1*> |
|---|
| 6969 | .names direction$_n6b5_n6bc$true<*2*> direction$_n696$raw_n6ad<*2*> _n6b5 direction$_n6b5$raw_n6c7<*2*> |
|---|
| 6970 | - - 0 =direction$_n696$raw_n6ad<*2*> |
|---|
| 6971 | - - 1 =direction$_n6b5_n6bc$true<*2*> |
|---|
| 6972 | .names inc<2> _n6d0 |
|---|
| 6973 | .def 1 |
|---|
| 6974 | 0 0 |
|---|
| 6975 | .names _n6d0 _n6cf |
|---|
| 6976 | - =_n6d0 |
|---|
| 6977 | # locations [2] = locations [2] + 1 |
|---|
| 6978 | .names _n6d3<0> |
|---|
| 6979 | 0 |
|---|
| 6980 | .names _n6d3<1> |
|---|
| 6981 | 1 |
|---|
| 6982 | .names _n6d4<0> |
|---|
| 6983 | 1 |
|---|
| 6984 | .names _n6d4<1> |
|---|
| 6985 | 0 |
|---|
| 6986 | .names _n6d4<0> _n6d3<0> _n6d6<0> |
|---|
| 6987 | .def 0 |
|---|
| 6988 | 0 1 1 |
|---|
| 6989 | 1 0 1 |
|---|
| 6990 | .names _n6d4<1> _n6d3<1> _n6d6<1> |
|---|
| 6991 | .def 0 |
|---|
| 6992 | 0 1 1 |
|---|
| 6993 | 1 0 1 |
|---|
| 6994 | .names _n6d6<0> _n6d6<1> _n6d7 |
|---|
| 6995 | .def 1 |
|---|
| 6996 | 0 0 0 |
|---|
| 6997 | .names _n6d7 _n6d5 |
|---|
| 6998 | 0 1 |
|---|
| 6999 | 1 0 |
|---|
| 7000 | .names _n6d2<0> locations$dec$raw_n68a<*1*><0> _n6d5 locations$inc_n6d1$true<*1*><0> |
|---|
| 7001 | 0 - 1 0 |
|---|
| 7002 | 1 - 1 1 |
|---|
| 7003 | - 0 0 0 |
|---|
| 7004 | - 1 0 1 |
|---|
| 7005 | .names _n6d2<1> locations$dec$raw_n68a<*1*><1> _n6d5 locations$inc_n6d1$true<*1*><1> |
|---|
| 7006 | 0 - 1 0 |
|---|
| 7007 | 1 - 1 1 |
|---|
| 7008 | - 0 0 0 |
|---|
| 7009 | - 1 0 1 |
|---|
| 7010 | .names _n6da<0> |
|---|
| 7011 | 0 |
|---|
| 7012 | .names _n6da<1> |
|---|
| 7013 | 1 |
|---|
| 7014 | .names _n6da<0> _n6d3<0> _n6dc<0> |
|---|
| 7015 | .def 0 |
|---|
| 7016 | 0 1 1 |
|---|
| 7017 | 1 0 1 |
|---|
| 7018 | .names _n6da<1> _n6d3<1> _n6dc<1> |
|---|
| 7019 | .def 0 |
|---|
| 7020 | 0 1 1 |
|---|
| 7021 | 1 0 1 |
|---|
| 7022 | .names _n6dc<0> _n6dc<1> _n6dd |
|---|
| 7023 | .def 1 |
|---|
| 7024 | 0 0 0 |
|---|
| 7025 | .names _n6dd _n6db |
|---|
| 7026 | 0 1 |
|---|
| 7027 | 1 0 |
|---|
| 7028 | .names _n6d2<0> locations$dec$raw_n68a<*2*><0> _n6db locations$inc_n6d1$true<*2*><0> |
|---|
| 7029 | 0 - 1 0 |
|---|
| 7030 | 1 - 1 1 |
|---|
| 7031 | - 0 0 0 |
|---|
| 7032 | - 1 0 1 |
|---|
| 7033 | .names _n6d2<1> locations$dec$raw_n68a<*2*><1> _n6db locations$inc_n6d1$true<*2*><1> |
|---|
| 7034 | 0 - 1 0 |
|---|
| 7035 | 1 - 1 1 |
|---|
| 7036 | - 0 0 0 |
|---|
| 7037 | - 1 0 1 |
|---|
| 7038 | .names _n6e0<0> |
|---|
| 7039 | 0 |
|---|
| 7040 | .names _n6e0<1> |
|---|
| 7041 | 1 |
|---|
| 7042 | .names locations$dec$raw_n68a<*1*><0> locations$dec$raw_n68a<*2*><0> _n6e0<1> _n6e0<0> _n6e1<0> |
|---|
| 7043 | - - 0 0 0 |
|---|
| 7044 | - - 0 0 0 |
|---|
| 7045 | 0 - 0 1 0 |
|---|
| 7046 | 1 - 0 1 1 |
|---|
| 7047 | - 0 1 0 0 |
|---|
| 7048 | - 1 1 0 1 |
|---|
| 7049 | - - 1 1 0 |
|---|
| 7050 | - - 1 1 0 |
|---|
| 7051 | .names locations$dec$raw_n68a<*1*><1> locations$dec$raw_n68a<*2*><1> _n6e0<1> _n6e0<0> _n6e1<1> |
|---|
| 7052 | - - 0 0 0 |
|---|
| 7053 | - - 0 0 0 |
|---|
| 7054 | 0 - 0 1 0 |
|---|
| 7055 | 1 - 0 1 1 |
|---|
| 7056 | - 0 1 0 0 |
|---|
| 7057 | - 1 1 0 1 |
|---|
| 7058 | - - 1 1 0 |
|---|
| 7059 | - - 1 1 0 |
|---|
| 7060 | .names _n6e2<0> |
|---|
| 7061 | 1 |
|---|
| 7062 | .names _n6e2<1> |
|---|
| 7063 | 0 |
|---|
| 7064 | # locations [2] + 1 |
|---|
| 7065 | .names _n6e4 |
|---|
| 7066 | 0 |
|---|
| 7067 | .names _n6e1<0> _n6e2<0> _n6e4 _n6e3<0> |
|---|
| 7068 | .def 0 |
|---|
| 7069 | 0 0 1 1 |
|---|
| 7070 | 0 1 0 1 |
|---|
| 7071 | 1 0 0 1 |
|---|
| 7072 | 1 1 1 1 |
|---|
| 7073 | # carry/borrow |
|---|
| 7074 | .names _n6e6 |
|---|
| 7075 | 0 |
|---|
| 7076 | .names _n6e1<0> _n6e2<0> _n6e6 _n6e5 |
|---|
| 7077 | .def 0 |
|---|
| 7078 | 0 1 1 1 |
|---|
| 7079 | 1 0 1 1 |
|---|
| 7080 | 1 1 0 1 |
|---|
| 7081 | 1 1 1 1 |
|---|
| 7082 | .names _n6e1<1> _n6e2<1> _n6e5 _n6e3<1> |
|---|
| 7083 | .def 0 |
|---|
| 7084 | 0 0 1 1 |
|---|
| 7085 | 0 1 0 1 |
|---|
| 7086 | 1 0 0 1 |
|---|
| 7087 | 1 1 1 1 |
|---|
| 7088 | .names _n6e3<0> _n6d2<0> |
|---|
| 7089 | - =_n6e3<0> |
|---|
| 7090 | .names _n6e3<1> _n6d2<1> |
|---|
| 7091 | - =_n6e3<1> |
|---|
| 7092 | # direction [2] = 0 |
|---|
| 7093 | .mv direction$inc_n6e7$true<*1*> 2 UP DOWN |
|---|
| 7094 | .mv direction$inc_n6e7$true<*2*> 2 UP DOWN |
|---|
| 7095 | .mv _n6e8 2 UP DOWN |
|---|
| 7096 | .names _n6e9<0> |
|---|
| 7097 | 0 |
|---|
| 7098 | .names _n6e9<1> |
|---|
| 7099 | 1 |
|---|
| 7100 | .names _n6ea<0> |
|---|
| 7101 | 1 |
|---|
| 7102 | .names _n6ea<1> |
|---|
| 7103 | 0 |
|---|
| 7104 | .names _n6ea<0> _n6e9<0> _n6ec<0> |
|---|
| 7105 | .def 0 |
|---|
| 7106 | 0 1 1 |
|---|
| 7107 | 1 0 1 |
|---|
| 7108 | .names _n6ea<1> _n6e9<1> _n6ec<1> |
|---|
| 7109 | .def 0 |
|---|
| 7110 | 0 1 1 |
|---|
| 7111 | 1 0 1 |
|---|
| 7112 | .names _n6ec<0> _n6ec<1> _n6ed |
|---|
| 7113 | .def 1 |
|---|
| 7114 | 0 0 0 |
|---|
| 7115 | .names _n6ed _n6eb |
|---|
| 7116 | 0 1 |
|---|
| 7117 | 1 0 |
|---|
| 7118 | .names _n6e8 direction$_n6b5$raw_n6c7<*1*> _n6eb direction$inc_n6e7$true<*1*> |
|---|
| 7119 | - - 0 =direction$_n6b5$raw_n6c7<*1*> |
|---|
| 7120 | - - 1 =_n6e8 |
|---|
| 7121 | .names _n6ee<0> |
|---|
| 7122 | 0 |
|---|
| 7123 | .names _n6ee<1> |
|---|
| 7124 | 1 |
|---|
| 7125 | .names _n6ee<0> _n6e9<0> _n6f0<0> |
|---|
| 7126 | .def 0 |
|---|
| 7127 | 0 1 1 |
|---|
| 7128 | 1 0 1 |
|---|
| 7129 | .names _n6ee<1> _n6e9<1> _n6f0<1> |
|---|
| 7130 | .def 0 |
|---|
| 7131 | 0 1 1 |
|---|
| 7132 | 1 0 1 |
|---|
| 7133 | .names _n6f0<0> _n6f0<1> _n6f1 |
|---|
| 7134 | .def 1 |
|---|
| 7135 | 0 0 0 |
|---|
| 7136 | .names _n6f1 _n6ef |
|---|
| 7137 | 0 1 |
|---|
| 7138 | 1 0 |
|---|
| 7139 | .names _n6e8 direction$_n6b5$raw_n6c7<*2*> _n6ef direction$inc_n6e7$true<*2*> |
|---|
| 7140 | - - 0 =direction$_n6b5$raw_n6c7<*2*> |
|---|
| 7141 | - - 1 =_n6e8 |
|---|
| 7142 | .names _n6e8 |
|---|
| 7143 | UP |
|---|
| 7144 | # if/else (inc [2]) |
|---|
| 7145 | .mv direction$inc$raw_n6f2<*1*> 2 UP DOWN |
|---|
| 7146 | .mv direction$inc$raw_n6f2<*2*> 2 UP DOWN |
|---|
| 7147 | .names inc<2> _n6f3 |
|---|
| 7148 | .def 1 |
|---|
| 7149 | 0 0 |
|---|
| 7150 | .names direction$inc_n6e7$true<*1*> direction$_n6b5$raw_n6c7<*1*> _n6f3 direction$inc$raw_n6f2<*1*> |
|---|
| 7151 | - - 0 =direction$_n6b5$raw_n6c7<*1*> |
|---|
| 7152 | - - 1 =direction$inc_n6e7$true<*1*> |
|---|
| 7153 | .names direction$inc_n6e7$true<*2*> direction$_n6b5$raw_n6c7<*2*> _n6f3 direction$inc$raw_n6f2<*2*> |
|---|
| 7154 | - - 0 =direction$_n6b5$raw_n6c7<*2*> |
|---|
| 7155 | - - 1 =direction$inc_n6e7$true<*2*> |
|---|
| 7156 | .names inc<2> _n6f5 |
|---|
| 7157 | .def 1 |
|---|
| 7158 | 0 0 |
|---|
| 7159 | .names locations$inc_n6d1$true<*1*><0> locations$dec$raw_n68a<*1*><0> _n6f5 locations$inc$raw_n6f4<*1*><0> |
|---|
| 7160 | 0 - 1 0 |
|---|
| 7161 | 1 - 1 1 |
|---|
| 7162 | - 0 0 0 |
|---|
| 7163 | - 1 0 1 |
|---|
| 7164 | .names locations$inc_n6d1$true<*1*><1> locations$dec$raw_n68a<*1*><1> _n6f5 locations$inc$raw_n6f4<*1*><1> |
|---|
| 7165 | 0 - 1 0 |
|---|
| 7166 | 1 - 1 1 |
|---|
| 7167 | - 0 0 0 |
|---|
| 7168 | - 1 0 1 |
|---|
| 7169 | .names locations$inc_n6d1$true<*2*><0> locations$dec$raw_n68a<*2*><0> _n6f5 locations$inc$raw_n6f4<*2*><0> |
|---|
| 7170 | 0 - 1 0 |
|---|
| 7171 | 1 - 1 1 |
|---|
| 7172 | - 0 0 0 |
|---|
| 7173 | - 1 0 1 |
|---|
| 7174 | .names locations$inc_n6d1$true<*2*><1> locations$dec$raw_n68a<*2*><1> _n6f5 locations$inc$raw_n6f4<*2*><1> |
|---|
| 7175 | 0 - 1 0 |
|---|
| 7176 | 1 - 1 1 |
|---|
| 7177 | - 0 0 0 |
|---|
| 7178 | - 1 0 1 |
|---|
| 7179 | .names dec<2> _n701 |
|---|
| 7180 | .def 1 |
|---|
| 7181 | 0 0 |
|---|
| 7182 | .names _n701 _n700 |
|---|
| 7183 | - =_n701 |
|---|
| 7184 | # locations [2] = locations [2] - 1 |
|---|
| 7185 | .names _n704<0> |
|---|
| 7186 | 0 |
|---|
| 7187 | .names _n704<1> |
|---|
| 7188 | 1 |
|---|
| 7189 | .names _n705<0> |
|---|
| 7190 | 1 |
|---|
| 7191 | .names _n705<1> |
|---|
| 7192 | 0 |
|---|
| 7193 | .names _n705<0> _n704<0> _n707<0> |
|---|
| 7194 | .def 0 |
|---|
| 7195 | 0 1 1 |
|---|
| 7196 | 1 0 1 |
|---|
| 7197 | .names _n705<1> _n704<1> _n707<1> |
|---|
| 7198 | .def 0 |
|---|
| 7199 | 0 1 1 |
|---|
| 7200 | 1 0 1 |
|---|
| 7201 | .names _n707<0> _n707<1> _n708 |
|---|
| 7202 | .def 1 |
|---|
| 7203 | 0 0 0 |
|---|
| 7204 | .names _n708 _n706 |
|---|
| 7205 | 0 1 |
|---|
| 7206 | 1 0 |
|---|
| 7207 | .names _n703<0> locations$inc$raw_n6f4<*1*><0> _n706 locations$dec_n702$true<*1*><0> |
|---|
| 7208 | 0 - 1 0 |
|---|
| 7209 | 1 - 1 1 |
|---|
| 7210 | - 0 0 0 |
|---|
| 7211 | - 1 0 1 |
|---|
| 7212 | .names _n703<1> locations$inc$raw_n6f4<*1*><1> _n706 locations$dec_n702$true<*1*><1> |
|---|
| 7213 | 0 - 1 0 |
|---|
| 7214 | 1 - 1 1 |
|---|
| 7215 | - 0 0 0 |
|---|
| 7216 | - 1 0 1 |
|---|
| 7217 | .names _n70b<0> |
|---|
| 7218 | 0 |
|---|
| 7219 | .names _n70b<1> |
|---|
| 7220 | 1 |
|---|
| 7221 | .names _n70b<0> _n704<0> _n70d<0> |
|---|
| 7222 | .def 0 |
|---|
| 7223 | 0 1 1 |
|---|
| 7224 | 1 0 1 |
|---|
| 7225 | .names _n70b<1> _n704<1> _n70d<1> |
|---|
| 7226 | .def 0 |
|---|
| 7227 | 0 1 1 |
|---|
| 7228 | 1 0 1 |
|---|
| 7229 | .names _n70d<0> _n70d<1> _n70e |
|---|
| 7230 | .def 1 |
|---|
| 7231 | 0 0 0 |
|---|
| 7232 | .names _n70e _n70c |
|---|
| 7233 | 0 1 |
|---|
| 7234 | 1 0 |
|---|
| 7235 | .names _n703<0> locations$inc$raw_n6f4<*2*><0> _n70c locations$dec_n702$true<*2*><0> |
|---|
| 7236 | 0 - 1 0 |
|---|
| 7237 | 1 - 1 1 |
|---|
| 7238 | - 0 0 0 |
|---|
| 7239 | - 1 0 1 |
|---|
| 7240 | .names _n703<1> locations$inc$raw_n6f4<*2*><1> _n70c locations$dec_n702$true<*2*><1> |
|---|
| 7241 | 0 - 1 0 |
|---|
| 7242 | 1 - 1 1 |
|---|
| 7243 | - 0 0 0 |
|---|
| 7244 | - 1 0 1 |
|---|
| 7245 | .names _n711<0> |
|---|
| 7246 | 0 |
|---|
| 7247 | .names _n711<1> |
|---|
| 7248 | 1 |
|---|
| 7249 | .names locations$inc$raw_n6f4<*1*><0> locations$inc$raw_n6f4<*2*><0> _n711<1> _n711<0> _n712<0> |
|---|
| 7250 | - - 0 0 0 |
|---|
| 7251 | - - 0 0 0 |
|---|
| 7252 | 0 - 0 1 0 |
|---|
| 7253 | 1 - 0 1 1 |
|---|
| 7254 | - 0 1 0 0 |
|---|
| 7255 | - 1 1 0 1 |
|---|
| 7256 | - - 1 1 0 |
|---|
| 7257 | - - 1 1 0 |
|---|
| 7258 | .names locations$inc$raw_n6f4<*1*><1> locations$inc$raw_n6f4<*2*><1> _n711<1> _n711<0> _n712<1> |
|---|
| 7259 | - - 0 0 0 |
|---|
| 7260 | - - 0 0 0 |
|---|
| 7261 | 0 - 0 1 0 |
|---|
| 7262 | 1 - 0 1 1 |
|---|
| 7263 | - 0 1 0 0 |
|---|
| 7264 | - 1 1 0 1 |
|---|
| 7265 | - - 1 1 0 |
|---|
| 7266 | - - 1 1 0 |
|---|
| 7267 | .names _n713<0> |
|---|
| 7268 | 1 |
|---|
| 7269 | .names _n713<1> |
|---|
| 7270 | 0 |
|---|
| 7271 | # locations [2] - 1 |
|---|
| 7272 | .names _n715 |
|---|
| 7273 | 0 |
|---|
| 7274 | .names _n712<0> _n713<0> _n715 _n714<0> |
|---|
| 7275 | .def 0 |
|---|
| 7276 | 0 0 1 1 |
|---|
| 7277 | 0 1 0 1 |
|---|
| 7278 | 1 0 0 1 |
|---|
| 7279 | 1 1 1 1 |
|---|
| 7280 | # carry/borrow |
|---|
| 7281 | .names _n717 |
|---|
| 7282 | 0 |
|---|
| 7283 | .names _n712<0> _n713<0> _n717 _n716 |
|---|
| 7284 | .def 0 |
|---|
| 7285 | 0 0 1 1 |
|---|
| 7286 | 0 1 0 1 |
|---|
| 7287 | 0 1 1 1 |
|---|
| 7288 | 1 1 1 1 |
|---|
| 7289 | .names _n712<1> _n713<1> _n716 _n714<1> |
|---|
| 7290 | .def 0 |
|---|
| 7291 | 0 0 1 1 |
|---|
| 7292 | 0 1 0 1 |
|---|
| 7293 | 1 0 0 1 |
|---|
| 7294 | 1 1 1 1 |
|---|
| 7295 | .names _n714<0> _n703<0> |
|---|
| 7296 | - =_n714<0> |
|---|
| 7297 | .names _n714<1> _n703<1> |
|---|
| 7298 | - =_n714<1> |
|---|
| 7299 | # direction [2] = 1 |
|---|
| 7300 | .mv direction$dec_n718$true<*1*> 2 UP DOWN |
|---|
| 7301 | .mv direction$dec_n718$true<*2*> 2 UP DOWN |
|---|
| 7302 | .mv _n719 2 UP DOWN |
|---|
| 7303 | .names _n71a<0> |
|---|
| 7304 | 0 |
|---|
| 7305 | .names _n71a<1> |
|---|
| 7306 | 1 |
|---|
| 7307 | .names _n71b<0> |
|---|
| 7308 | 1 |
|---|
| 7309 | .names _n71b<1> |
|---|
| 7310 | 0 |
|---|
| 7311 | .names _n71b<0> _n71a<0> _n71d<0> |
|---|
| 7312 | .def 0 |
|---|
| 7313 | 0 1 1 |
|---|
| 7314 | 1 0 1 |
|---|
| 7315 | .names _n71b<1> _n71a<1> _n71d<1> |
|---|
| 7316 | .def 0 |
|---|
| 7317 | 0 1 1 |
|---|
| 7318 | 1 0 1 |
|---|
| 7319 | .names _n71d<0> _n71d<1> _n71e |
|---|
| 7320 | .def 1 |
|---|
| 7321 | 0 0 0 |
|---|
| 7322 | .names _n71e _n71c |
|---|
| 7323 | 0 1 |
|---|
| 7324 | 1 0 |
|---|
| 7325 | .names _n719 direction$inc$raw_n6f2<*1*> _n71c direction$dec_n718$true<*1*> |
|---|
| 7326 | - - 0 =direction$inc$raw_n6f2<*1*> |
|---|
| 7327 | - - 1 =_n719 |
|---|
| 7328 | .names _n71f<0> |
|---|
| 7329 | 0 |
|---|
| 7330 | .names _n71f<1> |
|---|
| 7331 | 1 |
|---|
| 7332 | .names _n71f<0> _n71a<0> _n721<0> |
|---|
| 7333 | .def 0 |
|---|
| 7334 | 0 1 1 |
|---|
| 7335 | 1 0 1 |
|---|
| 7336 | .names _n71f<1> _n71a<1> _n721<1> |
|---|
| 7337 | .def 0 |
|---|
| 7338 | 0 1 1 |
|---|
| 7339 | 1 0 1 |
|---|
| 7340 | .names _n721<0> _n721<1> _n722 |
|---|
| 7341 | .def 1 |
|---|
| 7342 | 0 0 0 |
|---|
| 7343 | .names _n722 _n720 |
|---|
| 7344 | 0 1 |
|---|
| 7345 | 1 0 |
|---|
| 7346 | .names _n719 direction$inc$raw_n6f2<*2*> _n720 direction$dec_n718$true<*2*> |
|---|
| 7347 | - - 0 =direction$inc$raw_n6f2<*2*> |
|---|
| 7348 | - - 1 =_n719 |
|---|
| 7349 | .names _n719 |
|---|
| 7350 | DOWN |
|---|
| 7351 | # if/else (dec [2]) |
|---|
| 7352 | .mv direction$dec$raw_n723<*1*> 2 UP DOWN |
|---|
| 7353 | .mv direction$dec$raw_n723<*2*> 2 UP DOWN |
|---|
| 7354 | .names dec<2> _n724 |
|---|
| 7355 | .def 1 |
|---|
| 7356 | 0 0 |
|---|
| 7357 | .names direction$dec_n718$true<*1*> direction$inc$raw_n6f2<*1*> _n724 direction$dec$raw_n723<*1*> |
|---|
| 7358 | - - 0 =direction$inc$raw_n6f2<*1*> |
|---|
| 7359 | - - 1 =direction$dec_n718$true<*1*> |
|---|
| 7360 | .names direction$dec_n718$true<*2*> direction$inc$raw_n6f2<*2*> _n724 direction$dec$raw_n723<*2*> |
|---|
| 7361 | - - 0 =direction$inc$raw_n6f2<*2*> |
|---|
| 7362 | - - 1 =direction$dec_n718$true<*2*> |
|---|
| 7363 | .names dec<2> _n726 |
|---|
| 7364 | .def 1 |
|---|
| 7365 | 0 0 |
|---|
| 7366 | .names locations$dec_n702$true<*1*><0> locations$inc$raw_n6f4<*1*><0> _n726 locations$dec$raw_n725<*1*><0> |
|---|
| 7367 | 0 - 1 0 |
|---|
| 7368 | 1 - 1 1 |
|---|
| 7369 | - 0 0 0 |
|---|
| 7370 | - 1 0 1 |
|---|
| 7371 | .names locations$dec_n702$true<*1*><1> locations$inc$raw_n6f4<*1*><1> _n726 locations$dec$raw_n725<*1*><1> |
|---|
| 7372 | 0 - 1 0 |
|---|
| 7373 | 1 - 1 1 |
|---|
| 7374 | - 0 0 0 |
|---|
| 7375 | - 1 0 1 |
|---|
| 7376 | .names locations$dec_n702$true<*2*><0> locations$inc$raw_n6f4<*2*><0> _n726 locations$dec$raw_n725<*2*><0> |
|---|
| 7377 | 0 - 1 0 |
|---|
| 7378 | 1 - 1 1 |
|---|
| 7379 | - 0 0 0 |
|---|
| 7380 | - 1 0 1 |
|---|
| 7381 | .names locations$dec_n702$true<*2*><1> locations$inc$raw_n6f4<*2*><1> _n726 locations$dec$raw_n725<*2*><1> |
|---|
| 7382 | 0 - 1 0 |
|---|
| 7383 | 1 - 1 1 |
|---|
| 7384 | - 0 0 0 |
|---|
| 7385 | - 1 0 1 |
|---|
| 7386 | # conflict arbitrators |
|---|
| 7387 | .names button_above$raw_n39a<1> button_above<1> |
|---|
| 7388 | - =button_above$raw_n39a<1> |
|---|
| 7389 | .names button_above$raw_n3c0<2> button_above<2> |
|---|
| 7390 | - =button_above$raw_n3c0<2> |
|---|
| 7391 | .names _n48a _n4bd _n4f1 _n557 _n562 _n5d4 _n5df _n731 |
|---|
| 7392 | .def 0 |
|---|
| 7393 | 1 - - - - - - 1 |
|---|
| 7394 | - 1 - - - - - 1 |
|---|
| 7395 | - - 1 - - - - 1 |
|---|
| 7396 | - - - 1 1 - - 1 |
|---|
| 7397 | - - - - - 1 1 1 |
|---|
| 7398 | .mv _n732<*0*> 2 ON OFF |
|---|
| 7399 | .mv _n732<*1*> 2 ON OFF |
|---|
| 7400 | .mv _n732<*2*> 2 ON OFF |
|---|
| 7401 | .names _n731 down_floor_buttons$_n5d3$raw_n5fd<*0*> down_floor_buttons<*0*> _n732<*0*> |
|---|
| 7402 | 1 - - =down_floor_buttons$_n5d3$raw_n5fd<*0*> |
|---|
| 7403 | 0 - - =down_floor_buttons<*0*> |
|---|
| 7404 | .names _n731 down_floor_buttons$_n5d3$raw_n5fd<*1*> down_floor_buttons<*1*> _n732<*1*> |
|---|
| 7405 | 1 - - =down_floor_buttons$_n5d3$raw_n5fd<*1*> |
|---|
| 7406 | 0 - - =down_floor_buttons<*1*> |
|---|
| 7407 | .names _n731 down_floor_buttons$_n5d3$raw_n5fd<*2*> down_floor_buttons<*2*> _n732<*2*> |
|---|
| 7408 | 1 - - =down_floor_buttons$_n5d3$raw_n5fd<*2*> |
|---|
| 7409 | 0 - - =down_floor_buttons<*2*> |
|---|
| 7410 | .names buttons$raw_n366<0> buttons<0> |
|---|
| 7411 | - =buttons$raw_n366<0> |
|---|
| 7412 | .names buttons$raw_n371<1> buttons<1> |
|---|
| 7413 | - =buttons$raw_n371<1> |
|---|
| 7414 | .names buttons$raw_n37c<2> buttons<2> |
|---|
| 7415 | - =buttons$raw_n37c<2> |
|---|
| 7416 | .names _n610 _n625 _n635 _n665 _n6a1 _n6bb _n6cf _n700 _n784 |
|---|
| 7417 | .def 0 |
|---|
| 7418 | 1 - - - - - - - 1 |
|---|
| 7419 | - 1 - - - - - - 1 |
|---|
| 7420 | - - 1 - - - - - 1 |
|---|
| 7421 | - - - 1 - - - - 1 |
|---|
| 7422 | - - - - 1 - - - 1 |
|---|
| 7423 | - - - - - 1 - - 1 |
|---|
| 7424 | - - - - - - 1 - 1 |
|---|
| 7425 | - - - - - - - 1 1 |
|---|
| 7426 | .mv _n785<*1*> 2 UP DOWN |
|---|
| 7427 | .mv _n785<*2*> 2 UP DOWN |
|---|
| 7428 | .names _n784 direction$dec$raw_n723<*1*> direction<*1*> _n785<*1*> |
|---|
| 7429 | 1 - - =direction$dec$raw_n723<*1*> |
|---|
| 7430 | 0 - - =direction<*1*> |
|---|
| 7431 | .names _n784 direction$dec$raw_n723<*2*> direction<*2*> _n785<*2*> |
|---|
| 7432 | 1 - - =direction$dec$raw_n723<*2*> |
|---|
| 7433 | 0 - - =direction<*2*> |
|---|
| 7434 | .names button_below$raw_n387<1> button_below<1> |
|---|
| 7435 | - =button_below$raw_n387<1> |
|---|
| 7436 | .names button_below$raw_n3ad<2> button_below<2> |
|---|
| 7437 | - =button_below$raw_n3ad<2> |
|---|
| 7438 | .names _n475 _n4a3 _n4d7 _n51b _n526 _n598 _n5a3 _n7bc |
|---|
| 7439 | .def 0 |
|---|
| 7440 | 1 - - - - - - 1 |
|---|
| 7441 | - 1 - - - - - 1 |
|---|
| 7442 | - - 1 - - - - 1 |
|---|
| 7443 | - - - 1 1 - - 1 |
|---|
| 7444 | - - - - - 1 1 1 |
|---|
| 7445 | .mv _n7bd<*0*> 2 ON OFF |
|---|
| 7446 | .mv _n7bd<*1*> 2 ON OFF |
|---|
| 7447 | .mv _n7bd<*2*> 2 ON OFF |
|---|
| 7448 | .names _n7bc up_floor_buttons$_n597$raw_n5c2<*0*> up_floor_buttons<*0*> _n7bd<*0*> |
|---|
| 7449 | 1 - - =up_floor_buttons$_n597$raw_n5c2<*0*> |
|---|
| 7450 | 0 - - =up_floor_buttons<*0*> |
|---|
| 7451 | .names _n7bc up_floor_buttons$_n597$raw_n5c2<*1*> up_floor_buttons<*1*> _n7bd<*1*> |
|---|
| 7452 | 1 - - =up_floor_buttons$_n597$raw_n5c2<*1*> |
|---|
| 7453 | 0 - - =up_floor_buttons<*1*> |
|---|
| 7454 | .names _n7bc up_floor_buttons$_n597$raw_n5c2<*2*> up_floor_buttons<*2*> _n7bd<*2*> |
|---|
| 7455 | 1 - - =up_floor_buttons$_n597$raw_n5c2<*2*> |
|---|
| 7456 | 0 - - =up_floor_buttons<*2*> |
|---|
| 7457 | .names stop_next$raw_n3ef<1> stop_next<1> |
|---|
| 7458 | - =stop_next$raw_n3ef<1> |
|---|
| 7459 | .names stop_next$raw_n42c<2> stop_next<2> |
|---|
| 7460 | - =stop_next$raw_n42c<2> |
|---|
| 7461 | .names _n635 _n665 _n6cf _n700 _n80f |
|---|
| 7462 | .def 0 |
|---|
| 7463 | 1 - - - 1 |
|---|
| 7464 | - 1 - - 1 |
|---|
| 7465 | - - 1 - 1 |
|---|
| 7466 | - - - 1 1 |
|---|
| 7467 | .names _n80f locations$dec$raw_n725<*1*><0> locations$dec$raw_n725<*1*><1> locations<*1*><0> locations<*1*><1> -> _n810<*1*><0> _n810<*1*><1> |
|---|
| 7468 | 1 - - - - =locations$dec$raw_n725<*1*><0> =locations$dec$raw_n725<*1*><1> |
|---|
| 7469 | 0 - - - - =locations<*1*><0> =locations<*1*><1> |
|---|
| 7470 | .names _n80f locations$dec$raw_n725<*2*><0> locations$dec$raw_n725<*2*><1> locations<*2*><0> locations<*2*><1> -> _n810<*2*><0> _n810<*2*><1> |
|---|
| 7471 | 1 - - - - =locations$dec$raw_n725<*2*><0> =locations$dec$raw_n725<*2*><1> |
|---|
| 7472 | 0 - - - - =locations<*2*><0> =locations<*2*><1> |
|---|
| 7473 | .names continue$raw_n3d3<1> continue<1> |
|---|
| 7474 | - =continue$raw_n3d3<1> |
|---|
| 7475 | .names continue$raw_n3e1<2> continue<2> |
|---|
| 7476 | - =continue$raw_n3e1<2> |
|---|
| 7477 | # non-blocking assignments |
|---|
| 7478 | # latches |
|---|
| 7479 | .r down_floor_buttons$raw_n33f<*0*> down_floor_buttons<*0*> |
|---|
| 7480 | .def ON |
|---|
| 7481 | OFF =down_floor_buttons$raw_n33f<*0*> |
|---|
| 7482 | .r down_floor_buttons$raw_n33f<*1*> down_floor_buttons<*1*> |
|---|
| 7483 | .def ON |
|---|
| 7484 | OFF =down_floor_buttons$raw_n33f<*1*> |
|---|
| 7485 | .r down_floor_buttons$raw_n33f<*2*> down_floor_buttons<*2*> |
|---|
| 7486 | .def ON |
|---|
| 7487 | OFF =down_floor_buttons$raw_n33f<*2*> |
|---|
| 7488 | .latch _n732<*0*> down_floor_buttons<*0*> |
|---|
| 7489 | .latch _n732<*1*> down_floor_buttons<*1*> |
|---|
| 7490 | .latch _n732<*2*> down_floor_buttons<*2*> |
|---|
| 7491 | .r up_floor_buttons$raw_n30f<*0*> up_floor_buttons<*0*> |
|---|
| 7492 | .def ON |
|---|
| 7493 | OFF =up_floor_buttons$raw_n30f<*0*> |
|---|
| 7494 | .r up_floor_buttons$raw_n30f<*1*> up_floor_buttons<*1*> |
|---|
| 7495 | .def ON |
|---|
| 7496 | OFF =up_floor_buttons$raw_n30f<*1*> |
|---|
| 7497 | .r up_floor_buttons$raw_n30f<*2*> up_floor_buttons<*2*> |
|---|
| 7498 | .def ON |
|---|
| 7499 | OFF =up_floor_buttons$raw_n30f<*2*> |
|---|
| 7500 | .latch _n7bd<*0*> up_floor_buttons<*0*> |
|---|
| 7501 | .latch _n7bd<*1*> up_floor_buttons<*1*> |
|---|
| 7502 | .latch _n7bd<*2*> up_floor_buttons<*2*> |
|---|
| 7503 | .r direction$raw_n35b<*1*> direction<*1*> |
|---|
| 7504 | .def UP |
|---|
| 7505 | DOWN =direction$raw_n35b<*1*> |
|---|
| 7506 | .r direction$raw_n35b<*2*> direction<*2*> |
|---|
| 7507 | .def UP |
|---|
| 7508 | DOWN =direction$raw_n35b<*2*> |
|---|
| 7509 | .latch _n785<*1*> direction<*1*> |
|---|
| 7510 | .latch _n785<*2*> direction<*2*> |
|---|
| 7511 | .r locations$raw_n2df<*1*><0> locations<*1*><0> |
|---|
| 7512 | .def 0 |
|---|
| 7513 | 1 1 |
|---|
| 7514 | .r locations$raw_n2df<*2*><0> locations<*2*><0> |
|---|
| 7515 | .def 0 |
|---|
| 7516 | 1 1 |
|---|
| 7517 | .r locations$raw_n2df<*1*><1> locations<*1*><1> |
|---|
| 7518 | .def 0 |
|---|
| 7519 | 1 1 |
|---|
| 7520 | .r locations$raw_n2df<*2*><1> locations<*2*><1> |
|---|
| 7521 | .def 0 |
|---|
| 7522 | 1 1 |
|---|
| 7523 | .latch _n810<*1*><0> locations<*1*><0> |
|---|
| 7524 | .latch _n810<*2*><0> locations<*2*><0> |
|---|
| 7525 | .latch _n810<*1*><1> locations<*1*><1> |
|---|
| 7526 | .latch _n810<*2*><1> locations<*2*><1> |
|---|
| 7527 | # quasi-continuous assignment |
|---|
| 7528 | .end |
|---|
| 7529 | |
|---|
| 7530 | |
|---|