1/* 2 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without modification, 6 * are permitted provided that the following conditions are met: 7 * 8 * Redistributions of source code must retain the above copyright notice, 9 * this list of conditions and the following disclaimer. 10 * Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 13 * Neither the name of Intel Corporation nor the names of its contributors 14 * may be used to endorse or promote products derived from this software 15 * without specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 26 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29/* 30 * Method execution control 31 * 32 * Simple checkings for {if,elseif,else} operators 33 * Two levels embedded {if,elseif,else} 34 */ 35 36Name(z004, 4) 37 38/////////////// {if} 39 40Method(m080, 1) 41{ 42 Store(0x12345678, Local0) 43 44 if (RNG0(arg0, 0, 1)) { 45 Store(0, Local0) 46 if (LEqual(arg0, 1)) { 47 Store(1, Local0) 48 } 49 } 50 51 return (Local0) 52} 53 54Method(m081, 1) 55{ 56 Store(0x12345678, Local0) 57 58 if (RNG0(arg0, 0, 2)) { 59 Store(0, Local0) 60 if (LEqual(arg0, 1)) { 61 Store(1, Local0) 62 } else { 63 Store(2, Local0) 64 } 65 } 66 67 return (Local0) 68} 69 70Method(m082, 1) 71{ 72 Store(0x12345678, Local0) 73 74 if (RNG0(arg0, 0, 2)) { 75 Store(0, Local0) 76 if (LEqual(arg0, 1)) { 77 Store(1, Local0) 78 } elseif (LEqual(arg0, 2)) { 79 Store(2, Local0) 80 } 81 } 82 83 return (Local0) 84} 85 86Method(m083, 1) 87{ 88 Store(0x12345678, Local0) 89 90 if (RNG0(arg0, 0, 3)) { 91 Store(0, Local0) 92 if (LEqual(arg0, 1)) { 93 Store(1, Local0) 94 } elseif (LEqual(arg0, 2)) { 95 Store(2, Local0) 96 } else { 97 Store(3, Local0) 98 } 99 } 100 101 return (Local0) 102} 103 104/////////////// {if,else} {if} 105 106Method(m090, 1) 107{ 108 Store(0x12345678, Local0) 109 110 if (RNG0(arg0, 0, 1)) { 111 Store(0, Local0) 112 if (LEqual(arg0, 1)) { 113 Store(1, Local0) 114 } 115 } else { 116 Store(2, Local0) 117 } 118 119 return (Local0) 120} 121 122Method(m091, 1) 123{ 124 Store(0x12345678, Local0) 125 126 if (LEqual(arg0, 0)) { 127 Store(0, Local0) 128 } else { 129 Store(1, Local0) 130 if (LEqual(arg0, 2)) { 131 Store(2, Local0) 132 } 133 } 134 135 return (Local0) 136} 137 138Method(m092, 1) 139{ 140 Store(0x12345678, Local0) 141 142 if (RNG0(arg0, 0, 1)) { 143 Store(0, Local0) 144 if (LEqual(arg0, 1)) { 145 Store(1, Local0) 146 } 147 } else { 148 Store(2, Local0) 149 if (LEqual(arg0, 3)) { 150 Store(3, Local0) 151 } 152 } 153 154 return (Local0) 155} 156 157/////////////// {if,else} {if,else} 158 159Method(m093, 1) 160{ 161 Store(0x12345678, Local0) 162 163 if (RNG0(arg0, 0, 2)) { 164 Store(0, Local0) 165 if (LEqual(arg0, 1)) { 166 Store(1, Local0) 167 } else { 168 Store(2, Local0) 169 } 170 } else { 171 Store(3, Local0) 172 } 173 174 return (Local0) 175} 176 177Method(m094, 1) 178{ 179 Store(0x12345678, Local0) 180 181 if (LEqual(arg0, 0)) { 182 Store(0, Local0) 183 } else { 184 Store(1, Local0) 185 if (LEqual(arg0, 2)) { 186 Store(2, Local0) 187 } else { 188 Store(3, Local0) 189 } 190 } 191 192 return (Local0) 193} 194 195Method(m095, 1) 196{ 197 Store(0x12345678, Local0) 198 199 if (RNG0(arg0, 0, 2)) { 200 Store(0, Local0) 201 if (LEqual(arg0, 1)) { 202 Store(1, Local0) 203 } else { 204 Store(2, Local0) 205 } 206 } else { 207 Store(3, Local0) 208 if (LEqual(arg0, 4)) { 209 Store(4, Local0) 210 } else { 211 Store(5, Local0) 212 } 213 } 214 215 return (Local0) 216} 217 218/////////////// {if,else} {if,elseif} 219 220Method(m096, 1) 221{ 222 Store(0x12345678, Local0) 223 224 if (RNG0(arg0, 0, 2)) { 225 Store(0, Local0) 226 if (LEqual(arg0, 1)) { 227 Store(1, Local0) 228 } elseif (LEqual(arg0, 2)) { 229 Store(2, Local0) 230 } 231 } else { 232 Store(3, Local0) 233 } 234 235 return (Local0) 236} 237 238Method(m097, 1) 239{ 240 Store(0x12345678, Local0) 241 242 if (LEqual(arg0, 0)) { 243 Store(0, Local0) 244 } else { 245 Store(1, Local0) 246 if (LEqual(arg0, 2)) { 247 Store(2, Local0) 248 } elseif (LEqual(arg0, 3)) { 249 Store(3, Local0) 250 } 251 } 252 253 return (Local0) 254} 255 256Method(m098, 1) 257{ 258 Store(0x12345678, Local0) 259 260 if (RNG0(arg0, 0, 2)) { 261 Store(0, Local0) 262 if (LEqual(arg0, 1)) { 263 Store(1, Local0) 264 } elseif (LEqual(arg0, 2)) { 265 Store(2, Local0) 266 } 267 } else { 268 Store(3, Local0) 269 if (LEqual(arg0, 4)) { 270 Store(4, Local0) 271 } elseif (LEqual(arg0, 5)) { 272 Store(5, Local0) 273 } 274 } 275 276 return (Local0) 277} 278 279/////////////// {if,else} {if,elseif,else} 280 281Method(m099, 1) 282{ 283 Store(0x12345678, Local0) 284 285 if (RNG0(arg0, 0, 3)) { 286 Store(0, Local0) 287 if (LEqual(arg0, 1)) { 288 Store(1, Local0) 289 } elseif (LEqual(arg0, 2)) { 290 Store(2, Local0) 291 } else { 292 Store(3, Local0) 293 } 294 } else { 295 Store(4, Local0) 296 } 297 298 return (Local0) 299} 300 301Method(m09a, 1) 302{ 303 Store(0x12345678, Local0) 304 305 if (LEqual(arg0, 0)) { 306 Store(0, Local0) 307 } else { 308 Store(1, Local0) 309 if (LEqual(arg0, 2)) { 310 Store(2, Local0) 311 } elseif (LEqual(arg0, 3)) { 312 Store(3, Local0) 313 } else { 314 Store(4, Local0) 315 } 316 } 317 318 return (Local0) 319} 320 321Method(m09b, 1) 322{ 323 Store(0x12345678, Local0) 324 325 if (RNG0(arg0, 0, 3)) { 326 Store(0, Local0) 327 if (LEqual(arg0, 1)) { 328 Store(1, Local0) 329 } elseif (LEqual(arg0, 2)) { 330 Store(2, Local0) 331 } else { 332 Store(3, Local0) 333 } 334 } else { 335 Store(4, Local0) 336 if (LEqual(arg0, 5)) { 337 Store(5, Local0) 338 } elseif (LEqual(arg0, 6)) { 339 Store(6, Local0) 340 } else { 341 Store(7, Local0) 342 } 343 } 344 345 return (Local0) 346} 347 348/////////////// {if,elseif} {if} 349 350Method(m09c, 1) 351{ 352 Store(0x12345678, Local0) 353 354 if (RNG0(arg0, 0, 1)) { 355 Store(0, Local0) 356 if (LEqual(arg0, 1)) { 357 Store(1, Local0) 358 } 359 } elseif (LEqual(arg0, 2)) { 360 Store(2, Local0) 361 } 362 363 return (Local0) 364} 365 366Method(m09d, 1) 367{ 368 Store(0x12345678, Local0) 369 370 if (LEqual(arg0, 0)) { 371 Store(0, Local0) 372 } elseif (RNG0(arg0, 1, 2)) { 373 Store(1, Local0) 374 if (LEqual(arg0, 2)) { 375 Store(2, Local0) 376 } 377 } 378 379 return (Local0) 380} 381 382Method(m09e, 1) 383{ 384 Store(0x12345678, Local0) 385 386 if (RNG0(arg0, 0, 1)) { 387 Store(0, Local0) 388 if (LEqual(arg0, 1)) { 389 Store(1, Local0) 390 } 391 } elseif (RNG0(arg0, 2, 3)) { 392 Store(2, Local0) 393 if (LEqual(arg0, 3)) { 394 Store(3, Local0) 395 } 396 } 397 398 return (Local0) 399} 400 401/////////////// {if,elseif} {if,else} 402 403Method(m09f, 1) 404{ 405 Store(0x12345678, Local0) 406 407 if (RNG0(arg0, 0, 2)) { 408 Store(0, Local0) 409 if (LEqual(arg0, 1)) { 410 Store(1, Local0) 411 } else { 412 Store(2, Local0) 413 } 414 } elseif (LEqual(arg0, 3)) { 415 Store(3, Local0) 416 } 417 418 return (Local0) 419} 420 421Method(m0a0, 1) 422{ 423 Store(0x12345678, Local0) 424 425 if (LEqual(arg0, 0)) { 426 Store(0, Local0) 427 } elseif (RNG0(arg0, 1, 3)) { 428 Store(1, Local0) 429 if (LEqual(arg0, 2)) { 430 Store(2, Local0) 431 } else { 432 Store(3, Local0) 433 } 434 } 435 436 return (Local0) 437} 438 439Method(m0a1, 1) 440{ 441 Store(0x12345678, Local0) 442 443 if (RNG0(arg0, 0, 2)) { 444 Store(0, Local0) 445 if (LEqual(arg0, 1)) { 446 Store(1, Local0) 447 } else { 448 Store(2, Local0) 449 } 450 } elseif (RNG0(arg0, 3, 5)) { 451 Store(3, Local0) 452 if (LEqual(arg0, 4)) { 453 Store(4, Local0) 454 } else { 455 Store(5, Local0) 456 } 457 } 458 459 return (Local0) 460} 461 462/////////////// {if,elseif} {if,elseif} 463 464Method(m0a2, 1) 465{ 466 Store(0x12345678, Local0) 467 468 if (RNG0(arg0, 0, 2)) { 469 Store(0, Local0) 470 if (LEqual(arg0, 1)) { 471 Store(1, Local0) 472 } elseif (LEqual(arg0, 2)) { 473 Store(2, Local0) 474 } 475 } elseif (LEqual(arg0, 3)) { 476 Store(3, Local0) 477 } 478 479 return (Local0) 480} 481 482Method(m0a3, 1) 483{ 484 Store(0x12345678, Local0) 485 486 if (LEqual(arg0, 0)) { 487 Store(0, Local0) 488 } elseif (RNG0(arg0, 1, 3)) { 489 Store(1, Local0) 490 if (LEqual(arg0, 2)) { 491 Store(2, Local0) 492 } elseif (LEqual(arg0, 3)) { 493 Store(3, Local0) 494 } 495 } 496 497 return (Local0) 498} 499 500Method(m0a4, 1) 501{ 502 Store(0x12345678, Local0) 503 504 if (RNG0(arg0, 0, 2)) { 505 Store(0, Local0) 506 if (LEqual(arg0, 1)) { 507 Store(1, Local0) 508 } elseif (LEqual(arg0, 2)) { 509 Store(2, Local0) 510 } 511 } elseif (RNG0(arg0, 3, 5)) { 512 Store(3, Local0) 513 if (LEqual(arg0, 4)) { 514 Store(4, Local0) 515 } elseif (LEqual(arg0, 5)) { 516 Store(5, Local0) 517 } 518 } 519 520 return (Local0) 521} 522 523/////////////// {if,elseif} {if,elseif,else} 524 525Method(m0a5, 1) 526{ 527 Store(0x12345678, Local0) 528 529 if (RNG0(arg0, 0, 3)) { 530 Store(0, Local0) 531 if (LEqual(arg0, 1)) { 532 Store(1, Local0) 533 } elseif (LEqual(arg0, 2)) { 534 Store(2, Local0) 535 } else { 536 Store(3, Local0) 537 } 538 } elseif (LEqual(arg0, 4)) { 539 Store(4, Local0) 540 } 541 542 return (Local0) 543} 544 545Method(m0a6, 1) 546{ 547 Store(0x12345678, Local0) 548 549 if (LEqual(arg0, 0)) { 550 Store(0, Local0) 551 } elseif (RNG0(arg0, 1, 4)) { 552 Store(1, Local0) 553 if (LEqual(arg0, 2)) { 554 Store(2, Local0) 555 } elseif (LEqual(arg0, 3)) { 556 Store(3, Local0) 557 } else { 558 Store(4, Local0) 559 } 560 } 561 562 return (Local0) 563} 564 565Method(m0a7, 1) 566{ 567 Store(0x12345678, Local0) 568 569 if (RNG0(arg0, 0, 3)) { 570 Store(0, Local0) 571 if (LEqual(arg0, 1)) { 572 Store(1, Local0) 573 } elseif (LEqual(arg0, 2)) { 574 Store(2, Local0) 575 } else { 576 Store(3, Local0) 577 } 578 } elseif (RNG0(arg0, 4, 7)) { 579 Store(4, Local0) 580 if (LEqual(arg0, 5)) { 581 Store(5, Local0) 582 } elseif (LEqual(arg0, 6)) { 583 Store(6, Local0) 584 } else { 585 Store(7, Local0) 586 } 587 } 588 589 return (Local0) 590} 591 592/////////////// {if,elseif,else} {if} (restricted) 593 594Method(m0a8, 1) 595{ 596 Store(0x12345678, Local0) 597 598 if (RNG0(arg0, 0, 1)) { 599 Store(0, Local0) 600 if (LEqual(arg0, 1)) { 601 Store(1, Local0) 602 } 603 } elseif (LEqual(arg0, 2)) { 604 Store(2, Local0) 605 } else { 606 Store(3, Local0) 607 } 608 609 return (Local0) 610} 611 612Method(m0a9, 1) 613{ 614 Store(0x12345678, Local0) 615 616 if (LEqual(arg0, 0)) { 617 Store(0, Local0) 618 } elseif (RNG0(arg0, 1, 2)) { 619 Store(1, Local0) 620 if (LEqual(arg0, 2)) { 621 Store(2, Local0) 622 } 623 } else { 624 Store(3, Local0) 625 } 626 627 return (Local0) 628} 629 630Method(m0aa, 1) 631{ 632 Store(0x12345678, Local0) 633 634 if (LEqual(arg0, 0)) { 635 Store(0, Local0) 636 } elseif (LEqual(arg0, 1)) { 637 Store(1, Local0) 638 } else { 639 Store(2, Local0) 640 if (LEqual(arg0, 3)) { 641 Store(3, Local0) 642 } 643 } 644 645 return (Local0) 646} 647 648Method(m0ab, 1) 649{ 650 Store(0x12345678, Local0) 651 652 if (RNG0(arg0, 0, 1)) { 653 Store(0, Local0) 654 if (LEqual(arg0, 1)) { 655 Store(1, Local0) 656 } 657 } elseif (RNG0(arg0, 2, 3)) { 658 Store(2, Local0) 659 if (LEqual(arg0, 3)) { 660 Store(3, Local0) 661 } 662 } else { 663 Store(4, Local0) 664 if (LEqual(arg0, 5)) { 665 Store(5, Local0) 666 } 667 } 668 669 return (Local0) 670} 671 672/////////////// {if,elseif,else} {if,else} (restricted) 673 674Method(m0ac, 1) 675{ 676 Store(0x12345678, Local0) 677 678 if (RNG0(arg0, 0, 2)) { 679 Store(0, Local0) 680 if (LEqual(arg0, 1)) { 681 Store(1, Local0) 682 } else { 683 Store(2, Local0) 684 } 685 } elseif (LEqual(arg0, 3)) { 686 Store(3, Local0) 687 } else { 688 Store(4, Local0) 689 } 690 691 return (Local0) 692} 693 694Method(m0ad, 1) 695{ 696 Store(0x12345678, Local0) 697 698 if (LEqual(arg0, 0)) { 699 Store(0, Local0) 700 } elseif (RNG0(arg0, 1, 3)) { 701 Store(1, Local0) 702 if (LEqual(arg0, 2)) { 703 Store(2, Local0) 704 } else { 705 Store(3, Local0) 706 } 707 } else { 708 Store(4, Local0) 709 } 710 711 return (Local0) 712} 713 714Method(m0ae, 1) 715{ 716 Store(0x12345678, Local0) 717 718 if (LEqual(arg0, 0)) { 719 Store(0, Local0) 720 } elseif (LEqual(arg0, 1)) { 721 Store(1, Local0) 722 } else { 723 Store(2, Local0) 724 if (LEqual(arg0, 3)) { 725 Store(3, Local0) 726 } else { 727 Store(4, Local0) 728 } 729 } 730 731 return (Local0) 732} 733 734Method(m0af, 1) 735{ 736 Store(0x12345678, Local0) 737 738 if (RNG0(arg0, 0, 2)) { 739 Store(0, Local0) 740 if (LEqual(arg0, 1)) { 741 Store(1, Local0) 742 } else { 743 Store(2, Local0) 744 } 745 } elseif (RNG0(arg0, 3, 5)) { 746 Store(3, Local0) 747 if (LEqual(arg0, 4)) { 748 Store(4, Local0) 749 } else { 750 Store(5, Local0) 751 } 752 } else { 753 Store(6, Local0) 754 if (LEqual(arg0, 7)) { 755 Store(7, Local0) 756 } else { 757 Store(8, Local0) 758 } 759 } 760 761 return (Local0) 762} 763 764/////////////// {if,elseif,else} {if,elseif} (restricted) 765 766Method(m0b0, 1) 767{ 768 Store(0x12345678, Local0) 769 770 if (RNG0(arg0, 0, 2)) { 771 Store(0, Local0) 772 if (LEqual(arg0, 1)) { 773 Store(1, Local0) 774 } elseif (LEqual(arg0, 2)) { 775 Store(2, Local0) 776 } 777 } elseif (LEqual(arg0, 3)) { 778 Store(3, Local0) 779 } else { 780 Store(4, Local0) 781 } 782 783 return (Local0) 784} 785 786Method(m0b1, 1) 787{ 788 Store(0x12345678, Local0) 789 790 if (LEqual(arg0, 0)) { 791 Store(0, Local0) 792 } elseif (RNG0(arg0, 1, 3)) { 793 Store(1, Local0) 794 if (LEqual(arg0, 2)) { 795 Store(2, Local0) 796 } elseif (LEqual(arg0, 3)) { 797 Store(3, Local0) 798 } 799 } else { 800 Store(4, Local0) 801 } 802 803 return (Local0) 804} 805 806Method(m0b2, 1) 807{ 808 Store(0x12345678, Local0) 809 810 if (LEqual(arg0, 0)) { 811 Store(0, Local0) 812 } elseif (LEqual(arg0, 1)) { 813 Store(1, Local0) 814 } else { 815 Store(2, Local0) 816 if (LEqual(arg0, 3)) { 817 Store(3, Local0) 818 } elseif (LEqual(arg0, 4)) { 819 Store(4, Local0) 820 } 821 } 822 823 return (Local0) 824} 825 826Method(m0b3, 1) 827{ 828 Store(0x12345678, Local0) 829 830 if (RNG0(arg0, 0, 2)) { 831 Store(0, Local0) 832 if (LEqual(arg0, 1)) { 833 Store(1, Local0) 834 } elseif (LEqual(arg0, 2)) { 835 Store(2, Local0) 836 } 837 } elseif (RNG0(arg0, 3, 5)) { 838 Store(3, Local0) 839 if (LEqual(arg0, 4)) { 840 Store(4, Local0) 841 } elseif (LEqual(arg0, 5)) { 842 Store(5, Local0) 843 } 844 } else { 845 Store(6, Local0) 846 if (LEqual(arg0, 7)) { 847 Store(7, Local0) 848 } elseif (LEqual(arg0, 8)) { 849 Store(8, Local0) 850 } 851 } 852 853 return (Local0) 854} 855 856/////////////// {if,elseif,else} {if,elseif,else} (restricted) 857 858Method(m0b4, 1) 859{ 860 Store(0x12345678, Local0) 861 862 if (RNG0(arg0, 0, 3)) { 863 Store(0, Local0) 864 if (LEqual(arg0, 1)) { 865 Store(1, Local0) 866 } elseif (LEqual(arg0, 2)) { 867 Store(2, Local0) 868 } else { 869 Store(3, Local0) 870 } 871 } elseif (LEqual(arg0, 4)) { 872 Store(4, Local0) 873 } else { 874 Store(5, Local0) 875 } 876 877 return (Local0) 878} 879 880Method(m0b5, 1) 881{ 882 Store(0x12345678, Local0) 883 884 if (LEqual(arg0, 0)) { 885 Store(0, Local0) 886 } elseif (RNG0(arg0, 1, 4)) { 887 Store(1, Local0) 888 if (LEqual(arg0, 2)) { 889 Store(2, Local0) 890 } elseif (LEqual(arg0, 3)) { 891 Store(3, Local0) 892 } else { 893 Store(4, Local0) 894 } 895 } else { 896 Store(5, Local0) 897 } 898 899 return (Local0) 900} 901 902Method(m0b6, 1) 903{ 904 Store(0x12345678, Local0) 905 906 if (LEqual(arg0, 0)) { 907 Store(0, Local0) 908 } elseif (LEqual(arg0, 1)) { 909 Store(1, Local0) 910 } else { 911 Store(2, Local0) 912 if (LEqual(arg0, 3)) { 913 Store(3, Local0) 914 } elseif (LEqual(arg0, 4)) { 915 Store(4, Local0) 916 } else { 917 Store(5, Local0) 918 } 919 } 920 921 return (Local0) 922} 923 924Method(m0b7, 1) 925{ 926 Store(0x12345678, Local0) 927 928 if (RNG0(arg0, 0, 3)) { 929 Store(0, Local0) 930 if (LEqual(arg0, 1)) { 931 Store(1, Local0) 932 } elseif (LEqual(arg0, 2)) { 933 Store(2, Local0) 934 } else { 935 Store(3, Local0) 936 } 937 } elseif (RNG0(arg0, 4, 7)) { 938 Store(4, Local0) 939 if (LEqual(arg0, 5)) { 940 Store(5, Local0) 941 } elseif (LEqual(arg0, 6)) { 942 Store(6, Local0) 943 } else { 944 Store(7, Local0) 945 } 946 } elseif (RNG0(arg0, 8, 11)) { 947 Store(8, Local0) 948 if (LEqual(arg0, 9)) { 949 Store(9, Local0) 950 } elseif (LEqual(arg0, 10)) { 951 Store(10, Local0) 952 } else { 953 Store(11, Local0) 954 } 955 } else { 956 Store(12, Local0) 957 if (LEqual(arg0, 13)) { 958 Store(13, Local0) 959 } elseif (LEqual(arg0, 14)) { 960 Store(14, Local0) 961 } else { 962 Store(15, Local0) 963 } 964 } 965 966 return (Local0) 967} 968 969////////////////////////////////////////////////////// 970 971// Run verify methods 972// NOTE: use here as few control operators as possible 973Method(m0b8,, Serialized) 974{ 975 Name(ts, "m0b8") 976 977 Store("TEST: m0b8, Two levels embedded {if, elseif, else}", Debug) 978 979 // m080 980 981 Store(0, Local7) 982 While(LLessEqual(Local7, 1)) { 983 Store(m080(Local7), Local0) 984 if (LNotEqual(Local0, Local7)){ 985 err(ts, z004, __LINE__, 0, 0, Local7, 0) 986 } 987 Increment(Local7) 988 } 989 990 Store(0x12345678, Local7) 991 Store(m080(Local7), Local0) 992 if (LNotEqual(Local0, Local7)){ 993 err(ts, z004, __LINE__, 0, 0, Local7, 0) 994 } 995 996 // m081 997 998 Store(0, Local7) 999 Store(m081(Local7), Local0) 1000 if (LNotEqual(Local0, 2)){ 1001 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1002 } 1003 1004 Store(1, Local7) 1005 While(LLessEqual(Local7, 2)) { 1006 Store(m081(Local7), Local0) 1007 if (LNotEqual(Local0, Local7)){ 1008 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1009 } 1010 Increment(Local7) 1011 } 1012 1013 Store(0x12345678, Local7) 1014 Store(m081(Local7), Local0) 1015 if (LNotEqual(Local0, Local7)){ 1016 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1017 } 1018 1019 // m082 1020 1021 Store(0, Local7) 1022 While(LLessEqual(Local7, 2)) { 1023 Store(m082(Local7), Local0) 1024 if (LNotEqual(Local0, Local7)){ 1025 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1026 } 1027 Increment(Local7) 1028 } 1029 1030 Store(0x12345678, Local7) 1031 Store(m082(Local7), Local0) 1032 if (LNotEqual(Local0, Local7)){ 1033 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1034 } 1035 1036 // m083 1037 1038 Store(0, Local7) 1039 Store(m083(Local7), Local0) 1040 if (LNotEqual(Local0, 3)){ 1041 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1042 } 1043 1044 Store(1, Local7) 1045 While(LLessEqual(Local7, 3)) { 1046 Store(m083(Local7), Local0) 1047 if (LNotEqual(Local0, Local7)){ 1048 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1049 } 1050 Increment(Local7) 1051 } 1052 1053 Store(0x12345678, Local7) 1054 Store(m083(Local7), Local0) 1055 if (LNotEqual(Local0, Local7)){ 1056 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1057 } 1058 1059 // m090 1060 1061 Store(0, Local7) 1062 While(LLessEqual(Local7, 2)) { 1063 Store(m090(Local7), Local0) 1064 if (LNotEqual(Local0, Local7)){ 1065 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1066 } 1067 Increment(Local7) 1068 } 1069 1070 Store(0x12345678, Local7) 1071 Store(m090(Local7), Local0) 1072 if (LNotEqual(Local0, 2)){ 1073 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1074 } 1075 1076 // m091 1077 1078 Store(0, Local7) 1079 While(LLessEqual(Local7, 2)) { 1080 Store(m091(Local7), Local0) 1081 if (LNotEqual(Local0, Local7)){ 1082 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1083 } 1084 Increment(Local7) 1085 } 1086 1087 Store(0x12345678, Local7) 1088 Store(m091(Local7), Local0) 1089 if (LNotEqual(Local0, 1)){ 1090 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1091 } 1092 1093 // m092 1094 1095 Store(0, Local7) 1096 While(LLessEqual(Local7, 3)) { 1097 Store(m092(Local7), Local0) 1098 if (LNotEqual(Local0, Local7)){ 1099 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1100 } 1101 Increment(Local7) 1102 } 1103 1104 Store(0x12345678, Local7) 1105 Store(m092(Local7), Local0) 1106 if (LNotEqual(Local0, 2)){ 1107 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1108 } 1109 1110 // m093 1111 1112 Store(0, Local7) 1113 Store(m093(Local7), Local0) 1114 if (LNotEqual(Local0, 2)){ 1115 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1116 } 1117 1118 Store(1, Local7) 1119 While(LLessEqual(Local7, 3)) { 1120 Store(m093(Local7), Local0) 1121 if (LNotEqual(Local0, Local7)){ 1122 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1123 } 1124 Increment(Local7) 1125 } 1126 1127 Store(0x12345678, Local7) 1128 Store(m093(Local7), Local0) 1129 if (LNotEqual(Local0, 3)){ 1130 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1131 } 1132 1133 // m094 1134 1135 Store(0, Local7) 1136 Store(m094(Local7), Local0) 1137 if (LNotEqual(Local0, Local7)){ 1138 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1139 } 1140 1141 Store(1, Local7) 1142 Store(m094(Local7), Local0) 1143 if (LNotEqual(Local0, 3)){ 1144 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1145 } 1146 1147 Store(2, Local7) 1148 While(LLessEqual(Local7, 3)) { 1149 Store(m094(Local7), Local0) 1150 if (LNotEqual(Local0, Local7)){ 1151 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1152 } 1153 Increment(Local7) 1154 } 1155 1156 Store(0x12345678, Local7) 1157 Store(m094(Local7), Local0) 1158 if (LNotEqual(Local0, 3)){ 1159 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1160 } 1161 1162 // m095 1163 1164 Store(0, Local7) 1165 Store(m095(Local7), Local0) 1166 if (LNotEqual(Local0, 2)){ 1167 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1168 } 1169 1170 Store(1, Local7) 1171 While(LLessEqual(Local7, 2)) { 1172 Store(m095(Local7), Local0) 1173 if (LNotEqual(Local0, Local7)){ 1174 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1175 } 1176 Increment(Local7) 1177 } 1178 1179 1180 Store(3, Local7) 1181 Store(m095(Local7), Local0) 1182 if (LNotEqual(Local0, 5)){ 1183 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1184 } 1185 1186 Store(4, Local7) 1187 While(LLessEqual(Local7, 5)) { 1188 Store(m095(Local7), Local0) 1189 if (LNotEqual(Local0, Local7)){ 1190 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1191 } 1192 Increment(Local7) 1193 } 1194 1195 1196 Store(0x12345678, Local7) 1197 Store(m095(Local7), Local0) 1198 if (LNotEqual(Local0, 5)){ 1199 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1200 } 1201 1202 // m096 1203 1204 Store(0, Local7) 1205 While(LLessEqual(Local7, 3)) { 1206 Store(m096(Local7), Local0) 1207 if (LNotEqual(Local0, Local7)){ 1208 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1209 } 1210 Increment(Local7) 1211 } 1212 1213 Store(0x12345678, Local7) 1214 Store(m096(Local7), Local0) 1215 if (LNotEqual(Local0, 3)){ 1216 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1217 } 1218 1219 // m097 1220 1221 Store(0, Local7) 1222 While(LLessEqual(Local7, 3)) { 1223 Store(m097(Local7), Local0) 1224 if (LNotEqual(Local0, Local7)){ 1225 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1226 } 1227 Increment(Local7) 1228 } 1229 1230 Store(0x12345678, Local7) 1231 Store(m097(Local7), Local0) 1232 if (LNotEqual(Local0, 1)){ 1233 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1234 } 1235 1236 // m098 1237 1238 Store(0, Local7) 1239 While(LLessEqual(Local7, 5)) { 1240 Store(m098(Local7), Local0) 1241 if (LNotEqual(Local0, Local7)){ 1242 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1243 } 1244 Increment(Local7) 1245 } 1246 1247 Store(0x12345678, Local7) 1248 Store(m098(Local7), Local0) 1249 if (LNotEqual(Local0, 3)){ 1250 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1251 } 1252 1253 // m099 1254 1255 Store(0, Local7) 1256 Store(m099(Local7), Local0) 1257 if (LNotEqual(Local0, 3)){ 1258 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1259 } 1260 1261 Store(1, Local7) 1262 While(LLessEqual(Local7, 4)) { 1263 Store(m099(Local7), Local0) 1264 if (LNotEqual(Local0, Local7)){ 1265 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1266 } 1267 Increment(Local7) 1268 } 1269 1270 Store(0x12345678, Local7) 1271 Store(m099(Local7), Local0) 1272 if (LNotEqual(Local0, 4)){ 1273 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1274 } 1275 1276 // m09a 1277 1278 Store(0, Local7) 1279 Store(m09a(Local7), Local0) 1280 if (LNotEqual(Local0, Local7)){ 1281 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1282 } 1283 1284 Store(1, Local7) 1285 Store(m09a(Local7), Local0) 1286 if (LNotEqual(Local0, 4)){ 1287 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1288 } 1289 1290 Store(2, Local7) 1291 While(LLessEqual(Local7, 4)) { 1292 Store(m09a(Local7), Local0) 1293 if (LNotEqual(Local0, Local7)){ 1294 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1295 } 1296 Increment(Local7) 1297 } 1298 1299 Store(0x12345678, Local7) 1300 Store(m09a(Local7), Local0) 1301 if (LNotEqual(Local0, 4)){ 1302 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1303 } 1304 1305 // m09b 1306 1307 Store(0, Local7) 1308 Store(m09b(Local7), Local0) 1309 if (LNotEqual(Local0, 3)){ 1310 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1311 } 1312 1313 Store(1, Local7) 1314 While(LLessEqual(Local7, 3)) { 1315 Store(m09b(Local7), Local0) 1316 if (LNotEqual(Local0, Local7)){ 1317 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1318 } 1319 Increment(Local7) 1320 } 1321 1322 Store(4, Local7) 1323 Store(m09b(Local7), Local0) 1324 if (LNotEqual(Local0, 7)){ 1325 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1326 } 1327 1328 Store(5, Local7) 1329 While(LLessEqual(Local7, 7)) { 1330 Store(m09b(Local7), Local0) 1331 if (LNotEqual(Local0, Local7)){ 1332 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1333 } 1334 Increment(Local7) 1335 } 1336 1337 Store(0x12345678, Local7) 1338 Store(m09b(Local7), Local0) 1339 if (LNotEqual(Local0, 7)){ 1340 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1341 } 1342 1343 // m09c 1344 1345 Store(0, Local7) 1346 While(LLessEqual(Local7, 2)) { 1347 Store(m09c(Local7), Local0) 1348 if (LNotEqual(Local0, Local7)){ 1349 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1350 } 1351 Increment(Local7) 1352 } 1353 1354 Store(0x12345678, Local7) 1355 Store(m09c(Local7), Local0) 1356 if (LNotEqual(Local0, Local7)){ 1357 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1358 } 1359 1360 // m09d 1361 1362 Store(0, Local7) 1363 While(LLessEqual(Local7, 2)) { 1364 Store(m09d(Local7), Local0) 1365 if (LNotEqual(Local0, Local7)){ 1366 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1367 } 1368 Increment(Local7) 1369 } 1370 1371 Store(0x12345678, Local7) 1372 Store(m09d(Local7), Local0) 1373 if (LNotEqual(Local0, Local7)){ 1374 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1375 } 1376 1377 // m09e 1378 1379 Store(0, Local7) 1380 While(LLessEqual(Local7, 3)) { 1381 Store(m09e(Local7), Local0) 1382 if (LNotEqual(Local0, Local7)){ 1383 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1384 } 1385 Increment(Local7) 1386 } 1387 1388 Store(0x12345678, Local7) 1389 Store(m09e(Local7), Local0) 1390 if (LNotEqual(Local0, Local7)){ 1391 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1392 } 1393 1394 // m09f 1395 1396 Store(0, Local7) 1397 Store(m09f(Local7), Local0) 1398 if (LNotEqual(Local0, 2)){ 1399 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1400 } 1401 1402 Store(1, Local7) 1403 While(LLessEqual(Local7, 3)) { 1404 Store(m09f(Local7), Local0) 1405 if (LNotEqual(Local0, Local7)){ 1406 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1407 } 1408 Increment(Local7) 1409 } 1410 1411 Store(0x12345678, Local7) 1412 Store(m09f(Local7), Local0) 1413 if (LNotEqual(Local0, Local7)){ 1414 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1415 } 1416 1417 // m0a0 1418 1419 Store(0, Local7) 1420 Store(m0a0(Local7), Local0) 1421 if (LNotEqual(Local0, Local7)){ 1422 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1423 } 1424 1425 Store(1, Local7) 1426 Store(m0a0(Local7), Local0) 1427 if (LNotEqual(Local0, 3)){ 1428 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1429 } 1430 1431 Store(2, Local7) 1432 While(LLessEqual(Local7, 3)) { 1433 Store(m0a0(Local7), Local0) 1434 if (LNotEqual(Local0, Local7)){ 1435 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1436 } 1437 Increment(Local7) 1438 } 1439 1440 Store(0x12345678, Local7) 1441 Store(m0a0(Local7), Local0) 1442 if (LNotEqual(Local0, Local7)){ 1443 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1444 } 1445 1446 // m0a1 1447 1448 Store(0, Local7) 1449 Store(m0a1(Local7), Local0) 1450 if (LNotEqual(Local0, 2)){ 1451 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1452 } 1453 1454 Store(1, Local7) 1455 While(LLessEqual(Local7, 2)) { 1456 Store(m0a1(Local7), Local0) 1457 if (LNotEqual(Local0, Local7)){ 1458 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1459 } 1460 Increment(Local7) 1461 } 1462 1463 Store(3, Local7) 1464 Store(m0a1(Local7), Local0) 1465 if (LNotEqual(Local0, 5)){ 1466 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1467 } 1468 1469 Store(4, Local7) 1470 While(LLessEqual(Local7, 5)) { 1471 Store(m0a1(Local7), Local0) 1472 if (LNotEqual(Local0, Local7)){ 1473 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1474 } 1475 Increment(Local7) 1476 } 1477 1478 Store(0x12345678, Local7) 1479 Store(m0a1(Local7), Local0) 1480 if (LNotEqual(Local0, Local7)){ 1481 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1482 } 1483 1484 // m0a2 1485 1486 Store(0, Local7) 1487 While(LLessEqual(Local7, 3)) { 1488 Store(m0a2(Local7), Local0) 1489 if (LNotEqual(Local0, Local7)){ 1490 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1491 } 1492 Increment(Local7) 1493 } 1494 1495 Store(0x12345678, Local7) 1496 Store(m0a2(Local7), Local0) 1497 if (LNotEqual(Local0, Local7)){ 1498 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1499 } 1500 1501 // m0a3 1502 1503 Store(0, Local7) 1504 While(LLessEqual(Local7, 3)) { 1505 Store(m0a3(Local7), Local0) 1506 if (LNotEqual(Local0, Local7)){ 1507 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1508 } 1509 Increment(Local7) 1510 } 1511 1512 Store(0x12345678, Local7) 1513 Store(m0a3(Local7), Local0) 1514 if (LNotEqual(Local0, Local7)){ 1515 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1516 } 1517 1518 // m0a4 1519 1520 Store(0, Local7) 1521 While(LLessEqual(Local7, 5)) { 1522 Store(m0a4(Local7), Local0) 1523 if (LNotEqual(Local0, Local7)){ 1524 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1525 } 1526 Increment(Local7) 1527 } 1528 1529 Store(0x12345678, Local7) 1530 Store(m0a4(Local7), Local0) 1531 if (LNotEqual(Local0, Local7)){ 1532 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1533 } 1534 1535 // m0a5 1536 1537 Store(0, Local7) 1538 Store(m0a5(Local7), Local0) 1539 if (LNotEqual(Local0, 3)){ 1540 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1541 } 1542 1543 Store(1, Local7) 1544 While(LLessEqual(Local7, 4)) { 1545 Store(m0a5(Local7), Local0) 1546 if (LNotEqual(Local0, Local7)){ 1547 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1548 } 1549 Increment(Local7) 1550 } 1551 1552 Store(0x12345678, Local7) 1553 Store(m0a5(Local7), Local0) 1554 if (LNotEqual(Local0, Local7)){ 1555 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1556 } 1557 1558 // m0a6 1559 1560 Store(0, Local7) 1561 Store(m0a6(Local7), Local0) 1562 if (LNotEqual(Local0, Local7)){ 1563 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1564 } 1565 1566 Store(1, Local7) 1567 Store(m0a6(Local7), Local0) 1568 if (LNotEqual(Local0, 4)){ 1569 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1570 } 1571 1572 Store(2, Local7) 1573 While(LLessEqual(Local7, 4)) { 1574 Store(m0a6(Local7), Local0) 1575 if (LNotEqual(Local0, Local7)){ 1576 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1577 } 1578 Increment(Local7) 1579 } 1580 1581 Store(0x12345678, Local7) 1582 Store(m0a6(Local7), Local0) 1583 if (LNotEqual(Local0, Local7)){ 1584 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1585 } 1586 1587 // m0a7 1588 1589 Store(0, Local7) 1590 Store(m0a7(Local7), Local0) 1591 if (LNotEqual(Local0, 3)){ 1592 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1593 } 1594 1595 Store(1, Local7) 1596 While(LLessEqual(Local7, 3)) { 1597 Store(m0a7(Local7), Local0) 1598 if (LNotEqual(Local0, Local7)){ 1599 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1600 } 1601 Increment(Local7) 1602 } 1603 1604 Store(4, Local7) 1605 Store(m0a7(Local7), Local0) 1606 if (LNotEqual(Local0, 7)){ 1607 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1608 } 1609 1610 Store(5, Local7) 1611 While(LLessEqual(Local7, 7)) { 1612 Store(m0a7(Local7), Local0) 1613 if (LNotEqual(Local0, Local7)){ 1614 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1615 } 1616 Increment(Local7) 1617 } 1618 1619 Store(0x12345678, Local7) 1620 Store(m0a7(Local7), Local0) 1621 if (LNotEqual(Local0, Local7)){ 1622 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1623 } 1624 1625 // m0a8 1626 1627 Store(0, Local7) 1628 While(LLessEqual(Local7, 3)) { 1629 Store(m0a8(Local7), Local0) 1630 if (LNotEqual(Local0, Local7)){ 1631 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1632 } 1633 Increment(Local7) 1634 } 1635 1636 Store(0x12345678, Local7) 1637 Store(m0a8(Local7), Local0) 1638 if (LNotEqual(Local0, 3)){ 1639 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1640 } 1641 1642 // m0a9 1643 1644 Store(0, Local7) 1645 While(LLessEqual(Local7, 3)) { 1646 Store(m0a9(Local7), Local0) 1647 if (LNotEqual(Local0, Local7)){ 1648 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1649 } 1650 Increment(Local7) 1651 } 1652 1653 Store(0x12345678, Local7) 1654 Store(m0a9(Local7), Local0) 1655 if (LNotEqual(Local0, 3)){ 1656 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1657 } 1658 1659 // m0aa 1660 1661 Store(0, Local7) 1662 While(LLessEqual(Local7, 3)) { 1663 Store(m0aa(Local7), Local0) 1664 if (LNotEqual(Local0, Local7)){ 1665 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1666 } 1667 Increment(Local7) 1668 } 1669 1670 Store(0x12345678, Local7) 1671 Store(m0aa(Local7), Local0) 1672 if (LNotEqual(Local0, 2)){ 1673 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1674 } 1675 1676 // m0ab 1677 1678 Store(0, Local7) 1679 While(LLessEqual(Local7, 5)) { 1680 Store(m0ab(Local7), Local0) 1681 if (LNotEqual(Local0, Local7)){ 1682 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1683 } 1684 Increment(Local7) 1685 } 1686 1687 Store(0x12345678, Local7) 1688 Store(m0ab(Local7), Local0) 1689 if (LNotEqual(Local0, 4)){ 1690 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1691 } 1692 // m0ac 1693 1694 Store(0, Local7) 1695 Store(m0ac(Local7), Local0) 1696 if (LNotEqual(Local0, 2)){ 1697 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1698 } 1699 1700 Store(1, Local7) 1701 While(LLessEqual(Local7, 4)) { 1702 Store(m0ac(Local7), Local0) 1703 if (LNotEqual(Local0, Local7)){ 1704 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1705 } 1706 Increment(Local7) 1707 } 1708 1709 Store(0x12345678, Local7) 1710 Store(m0ac(Local7), Local0) 1711 if (LNotEqual(Local0, 4)){ 1712 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1713 } 1714 1715 // m0ad 1716 1717 Store(0, Local7) 1718 Store(m0ad(Local7), Local0) 1719 if (LNotEqual(Local0, Local7)){ 1720 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1721 } 1722 1723 Store(1, Local7) 1724 Store(m0ad(Local7), Local0) 1725 if (LNotEqual(Local0, 3)){ 1726 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1727 } 1728 1729 Store(2, Local7) 1730 While(LLessEqual(Local7, 4)) { 1731 Store(m0ad(Local7), Local0) 1732 if (LNotEqual(Local0, Local7)){ 1733 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1734 } 1735 Increment(Local7) 1736 } 1737 1738 Store(0x12345678, Local7) 1739 Store(m0ad(Local7), Local0) 1740 if (LNotEqual(Local0, 4)){ 1741 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1742 } 1743 1744 // m0ae 1745 1746 Store(0, Local7) 1747 While(LLessEqual(Local7, 1)) { 1748 Store(m0ae(Local7), Local0) 1749 if (LNotEqual(Local0, Local7)){ 1750 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1751 } 1752 Increment(Local7) 1753 } 1754 1755 Store(2, Local7) 1756 Store(m0ae(Local7), Local0) 1757 if (LNotEqual(Local0, 4)){ 1758 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1759 } 1760 1761 Store(3, Local7) 1762 While(LLessEqual(Local7, 4)) { 1763 Store(m0ae(Local7), Local0) 1764 if (LNotEqual(Local0, Local7)){ 1765 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1766 } 1767 Increment(Local7) 1768 } 1769 1770 Store(0x12345678, Local7) 1771 Store(m0ae(Local7), Local0) 1772 if (LNotEqual(Local0, 4)){ 1773 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1774 } 1775 1776 // m0af 1777 1778 1779 Store(0, Local7) 1780 Store(m0af(Local7), Local0) 1781 if (LNotEqual(Local0, 2)){ 1782 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1783 } 1784 1785 Store(1, Local7) 1786 While(LLessEqual(Local7, 2)) { 1787 Store(m0af(Local7), Local0) 1788 if (LNotEqual(Local0, Local7)){ 1789 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1790 } 1791 Increment(Local7) 1792 } 1793 1794 Store(3, Local7) 1795 Store(m0af(Local7), Local0) 1796 if (LNotEqual(Local0, 5)){ 1797 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1798 } 1799 1800 Store(4, Local7) 1801 While(LLessEqual(Local7, 5)) { 1802 Store(m0af(Local7), Local0) 1803 if (LNotEqual(Local0, Local7)){ 1804 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1805 } 1806 Increment(Local7) 1807 } 1808 1809 1810 Store(6, Local7) 1811 Store(m0af(Local7), Local0) 1812 if (LNotEqual(Local0, 8)){ 1813 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1814 } 1815 1816 Store(7, Local7) 1817 While(LLessEqual(Local7, 8)) { 1818 Store(m0af(Local7), Local0) 1819 if (LNotEqual(Local0, Local7)){ 1820 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1821 } 1822 Increment(Local7) 1823 } 1824 1825 Store(0x12345678, Local7) 1826 Store(m0af(Local7), Local0) 1827 if (LNotEqual(Local0, 8)){ 1828 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1829 } 1830 1831 // m0b0 1832 1833 Store(0, Local7) 1834 While(LLessEqual(Local7, 4)) { 1835 Store(m0b0(Local7), Local0) 1836 if (LNotEqual(Local0, Local7)){ 1837 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1838 } 1839 Increment(Local7) 1840 } 1841 1842 Store(0x12345678, Local7) 1843 Store(m0b0(Local7), Local0) 1844 if (LNotEqual(Local0, 4)){ 1845 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1846 } 1847 1848 // m0b1 1849 1850 Store(0, Local7) 1851 While(LLessEqual(Local7, 4)) { 1852 Store(m0b1(Local7), Local0) 1853 if (LNotEqual(Local0, Local7)){ 1854 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1855 } 1856 Increment(Local7) 1857 } 1858 1859 Store(0x12345678, Local7) 1860 Store(m0b1(Local7), Local0) 1861 if (LNotEqual(Local0, 4)){ 1862 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1863 } 1864 1865 // m0b2 1866 1867 Store(0, Local7) 1868 While(LLessEqual(Local7, 4)) { 1869 Store(m0b2(Local7), Local0) 1870 if (LNotEqual(Local0, Local7)){ 1871 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1872 } 1873 Increment(Local7) 1874 } 1875 1876 Store(0x12345678, Local7) 1877 Store(m0b2(Local7), Local0) 1878 if (LNotEqual(Local0, 2)){ 1879 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1880 } 1881 1882 // m0b3 1883 1884 Store(0, Local7) 1885 While(LLessEqual(Local7, 4)) { 1886 Store(m0b3(Local7), Local0) 1887 if (LNotEqual(Local0, Local7)){ 1888 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1889 } 1890 Increment(Local7) 1891 } 1892 1893 Store(0x12345678, Local7) 1894 Store(m0b3(Local7), Local0) 1895 if (LNotEqual(Local0, 6)){ 1896 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1897 } 1898 1899 // m0b4 1900 1901 Store(0, Local7) 1902 Store(m0b4(Local7), Local0) 1903 if (LNotEqual(Local0, 3)){ 1904 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1905 } 1906 1907 Store(1, Local7) 1908 While(LLessEqual(Local7, 5)) { 1909 Store(m0b4(Local7), Local0) 1910 if (LNotEqual(Local0, Local7)){ 1911 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1912 } 1913 Increment(Local7) 1914 } 1915 1916 Store(0x12345678, Local7) 1917 Store(m0b4(Local7), Local0) 1918 if (LNotEqual(Local0, 5)){ 1919 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1920 } 1921 1922 // m0b5 1923 1924 Store(0, Local7) 1925 Store(m0b5(Local7), Local0) 1926 if (LNotEqual(Local0, Local7)){ 1927 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1928 } 1929 1930 Store(1, Local7) 1931 Store(m0b5(Local7), Local0) 1932 if (LNotEqual(Local0, 4)){ 1933 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1934 } 1935 1936 Store(2, Local7) 1937 While(LLessEqual(Local7, 5)) { 1938 Store(m0b5(Local7), Local0) 1939 if (LNotEqual(Local0, Local7)){ 1940 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1941 } 1942 Increment(Local7) 1943 } 1944 1945 Store(0x12345678, Local7) 1946 Store(m0b5(Local7), Local0) 1947 if (LNotEqual(Local0, 5)){ 1948 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1949 } 1950 1951 // m0b6 1952 1953 Store(0, Local7) 1954 While(LLessEqual(Local7, 1)) { 1955 Store(m0b6(Local7), Local0) 1956 if (LNotEqual(Local0, Local7)){ 1957 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1958 } 1959 Increment(Local7) 1960 } 1961 1962 Store(2, Local7) 1963 Store(m0b6(Local7), Local0) 1964 if (LNotEqual(Local0, 5)){ 1965 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1966 } 1967 1968 Store(3, Local7) 1969 While(LLessEqual(Local7, 5)) { 1970 Store(m0b6(Local7), Local0) 1971 if (LNotEqual(Local0, Local7)){ 1972 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1973 } 1974 Increment(Local7) 1975 } 1976 1977 Store(0x12345678, Local7) 1978 Store(m0b6(Local7), Local0) 1979 if (LNotEqual(Local0, 5)){ 1980 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1981 } 1982 1983 // m0b7 1984 1985 Store(0, Local7) 1986 Store(m0b7(Local7), Local0) 1987 if (LNotEqual(Local0, 3)){ 1988 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1989 } 1990 1991 Store(1, Local7) 1992 While(LLessEqual(Local7, 3)) { 1993 Store(m0b7(Local7), Local0) 1994 if (LNotEqual(Local0, Local7)){ 1995 err(ts, z004, __LINE__, 0, 0, Local7, 0) 1996 } 1997 Increment(Local7) 1998 } 1999 2000 Store(4, Local7) 2001 Store(m0b7(Local7), Local0) 2002 if (LNotEqual(Local0, 7)){ 2003 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2004 } 2005 2006 Store(5, Local7) 2007 While(LLessEqual(Local7, 7)) { 2008 Store(m0b7(Local7), Local0) 2009 if (LNotEqual(Local0, Local7)){ 2010 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2011 } 2012 Increment(Local7) 2013 } 2014 2015 Store(8, Local7) 2016 Store(m0b7(Local7), Local0) 2017 if (LNotEqual(Local0, 11)){ 2018 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2019 } 2020 2021 Store(9, Local7) 2022 While(LLessEqual(Local7, 11)) { 2023 Store(m0b7(Local7), Local0) 2024 if (LNotEqual(Local0, Local7)){ 2025 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2026 } 2027 Increment(Local7) 2028 } 2029 2030 Store(12, Local7) 2031 Store(m0b7(Local7), Local0) 2032 if (LNotEqual(Local0, 15)){ 2033 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2034 } 2035 2036 Store(13, Local7) 2037 While(LLessEqual(Local7, 15)) { 2038 Store(m0b7(Local7), Local0) 2039 if (LNotEqual(Local0, Local7)){ 2040 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2041 } 2042 Increment(Local7) 2043 } 2044 2045 Store(0x12345678, Local7) 2046 Store(m0b7(Local7), Local0) 2047 if (LNotEqual(Local0, 15)){ 2048 err(ts, z004, __LINE__, 0, 0, Local7, 0) 2049 } 2050} 2051 2052// Run-method 2053Method(CTL1) 2054{ 2055 Store("TEST: CTL1, Conditional execution", Debug) 2056 2057 m0b8() 2058} 2059