dma20.s 60.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148
/************************************************************************
  DMA BLOCK READ TESTS: File #0
************************************************************************/
	.word	0x2C0A5D8D
	.word	0x7DC66DB9
	.word	0x68F71B12
	.word	0x706636F3
	.word	0x3BE01E49
	.word	0x35456126
	.word	0x26611AC2
	.word	0x480A6D0E
	.word	0x13B34495
	.word	0x57807166
	.word	0x39712F3F
	.word	0x31465B26
	.word	0x39283E3F
	.word	0x3C39757C
	.word	0x4EA10375
	.word	0x2DA2758C
	.word	0x16ED2735
	.word	0x652005E8
	.word	0x3C35362E
	.word	0x1B540DCE
	.word	0x123E70FE
	.word	0x4F4E3024
	.word	0x6FBF7991
	.word	0x1EBA3E34
	.word	0x50637A3D
	.word	0x74CA1A27
	.word	0x0B9C229E
	.word	0x3BE34543
	.word	0x2C2E1633
	.word	0x7E0715E4
	.word	0x347628B5
	.word	0x2005513C
	.word	0x5B7E043B
	.word	0x236224CA
	.word	0x0EC3150F
	.word	0x1B063B9B
	.word	0x44C0574D
	.word	0x3EA66B44
	.word	0x6C426241
	.word	0x48F5349A
	.word	0x046B4D7E
	.word	0x0C8A1438
	.word	0x29834BBE
	.word	0x6B8F5EAE
	.word	0x2282177D
	.word	0x1E2F2489
	.word	0x3B5E0D54
	.word	0x73BD5A07
	.word	0x78151016
	.word	0x7AA53E97
	.word	0x6C7912AC
	.word	0x3B134012
	.word	0x44BE63B1
	.word	0x706555BC
	.word	0x4AC416CC
	.word	0x6D510EF9
	.word	0x742527D1
	.word	0x16D651CF
	.word	0x44FE3397
	.word	0x21E4051F
	.word	0x137E6297
	.word	0x7FCA22A3
	.word	0x78306149
	.word	0x25646CA6
	.word	0x7708023E
	.word	0x19004387
	.word	0x2D2F65FE
	.word	0x731556EB
	.word	0x0F8E449F
	.word	0x3DA22EC5
	.word	0x061C352A
	.word	0x5E674807
	.word	0x6FE80EAD
	.word	0x77C74125
	.word	0x5BE63F20
	.word	0x6C78524E
	.word	0x027933F8
	.word	0x71F00D6A
	.word	0x4BC4308D
	.word	0x5D8F21D2
	.word	0x6EB12E2C
	.word	0x188D1FD1
	.word	0x74BD21FC
	.word	0x66A277DE
	.word	0x2E8A4491
	.word	0x6B773197
	.word	0x65223752
	.word	0x1ACF167D
	.word	0x540C238B
	.word	0x7F744C72
	.word	0x38112F51
	.word	0x04E41BF3
	.word	0x7ECB6419
	.word	0x2FB95E15
	.word	0x62F26317
	.word	0x70D94E41
	.word	0x01660358
	.word	0x7F613BAF
	.word	0x32FC359E
	.word	0x655256A3
	.word	0x370949FF
	.word	0x2AF9156A
	.word	0x7AAF733C
	.word	0x4D206D14
	.word	0x08EA23E2
	.word	0x69F759EE
	.word	0x6F592123
	.word	0x50BF73C6
	.word	0x23CD6772
	.word	0x603C09DE
	.word	0x36933CE0
	.word	0x5FD802AC
	.word	0x5D810D39
	.word	0x3F977B58
	.word	0x23C36BDD
	.word	0x6ABF62F2
	.word	0x4A635760
	.word	0x19430D76
	.word	0x25991AE1
	.word	0x4BF37A82
	.word	0x02D8692B
	.word	0x5F664BD1
	.word	0x63950D8D
	.word	0x61A3277F
	.word	0x18D54E79
	.word	0x169201FB
	.word	0x0B7E5DDF
	.word	0x57250BCB
	.word	0x3D597347
	.word	0x37453F03
	.word	0x4EEA6BB1
	.word	0x1E7F4883
	.word	0x15F00B2C
	.word	0x3F6B48F3
	.word	0x10BA3C38
	.word	0x19E02980
	.word	0x423068DD
	.word	0x73D90053
	.word	0x429D4988
	.word	0x752540D6
	.word	0x113D45A8
	.word	0x51D233A6
	.word	0x728A420C
	.word	0x2F577256
	.word	0x674778FB
	.word	0x308462E9
	.word	0x08493811
	.word	0x542A6F0E
	.word	0x53081FDC
	.word	0x128A7319
	.word	0x32E9413A
	.word	0x657E20C6
	.word	0x53493470
	.word	0x276951AC
	.word	0x0649060B
	.word	0x74E00582
	.word	0x4C5C1577
	.word	0x7D150815
	.word	0x48914160
	.word	0x6D087B05
	.word	0x2DA17DCC
	.word	0x616C3F43
	.word	0x6FB82FF5
	.word	0x0B5A7A4B
	.word	0x47046BE8
	.word	0x73B73320
	.word	0x4EFE6FDE
	.word	0x0966430C
	.word	0x4E7B795D
	.word	0x662E1614
	.word	0x7471500E
	.word	0x766A773D
	.word	0x158A225D
	.word	0x6F736482
	.word	0x366B0FD3
	.word	0x40CE2690
	.word	0x6EC17D33
	.word	0x6C142847
	.word	0x71100E56
	.word	0x6FA549F1
	.word	0x433A61C6
	.word	0x300C2C40
	.word	0x73D26A1D
	.word	0x0C302F09
	.word	0x581E011C
	.word	0x08401FC3
	.word	0x1EEE108A
	.word	0x3B5C53BE
	.word	0x44206CD2
	.word	0x6C042A23
	.word	0x30EE3D5C
	.word	0x074131AF
	.word	0x14FE0EA7
	.word	0x5E956E2E
	.word	0x44276A2B
	.word	0x58A479BA
	.word	0x25040FF0
	.word	0x009F7DB1
	.word	0x7C3B2DEE
	.word	0x20743F77
	.word	0x208B3123
	.word	0x51B63CF1
	.word	0x63970C77
	.word	0x314E14BC
	.word	0x3B74114F
	.word	0x21DF3631
	.word	0x78F435F3
	.word	0x48FA151A
	.word	0x16B065A0
	.word	0x33075D31
	.word	0x6CD7366C
	.word	0x49EE615C
	.word	0x55BA20DE
	.word	0x0A8842AA
	.word	0x0F131549
	.word	0x24C90B0D
	.word	0x64180AED
	.word	0x72AA37D5
	.word	0x6C4464CB
	.word	0x71D76FF1
	.word	0x6AE0484C
	.word	0x2C1D61E4
	.word	0x1B544190
	.word	0x3A910588
	.word	0x762F5197
	.word	0x4F813D86
	.word	0x3AF74212
	.word	0x731C1491
	.word	0x4AB25B07
	.word	0x5EE11265
	.word	0x1F315627
	.word	0x23C86483
	.word	0x6B1F2BEF
	.word	0x073156A9
	.word	0x2ECD1681
	.word	0x42905713
	.word	0x4DBB663F
	.word	0x11D60274
	.word	0x70E6042D
	.word	0x3C9E73B3
	.word	0x41D43E04
	.word	0x061C5366
	.word	0x4A603815
	.word	0x2FC6630F
	.word	0x054520E4
	.word	0x7AC00019
	.word	0x6B6D0280
	.word	0x54085A90
	.word	0x09F74DA3
	.word	0x17665BA3
	.word	0x6D0A7A8E
	.word	0x151177DB
	.word	0x6B5D5BA3
	.word	0x46216919
	.word	0x1E827DBF
	.word	0x5BB90C52
	.word	0x13F5325D
	.word	0x14F05F09
	.word	0x02E81F6C
	.word	0x0784588F
	.word	0x12CC70EB
	.word	0x473D1AFD
	.word	0x7E9F084A
	.word	0x182237EE
	.word	0x20F84581
	.word	0x175F04FD
	.word	0x34D445ED
	.word	0x06F13C02
	.word	0x571E34ED
	.word	0x2817630B
	.word	0x15000A40
	.word	0x5079381C
	.word	0x12EC521D
	.word	0x26151CA7
	.word	0x18695B0F
	.word	0x2DED3CCA
	.word	0x0C9E6597
	.word	0x19726E4B
	.word	0x2FA03180
	.word	0x7EAE0353
	.word	0x1C7B0500
	.word	0x67350CED
	.word	0x60020993
	.word	0x61C9493E
	.word	0x30571A97
	.word	0x02D03982
	.word	0x113961A8
	.word	0x7F761BCB
	.word	0x71105CB9
	.word	0x4FA24478
	.word	0x0ABA29F7
	.word	0x029A1376
	.word	0x1813355E
	.word	0x32750139
	.word	0x21462417
	.word	0x42447F79
	.word	0x74D71998
	.word	0x52FF29AD
	.word	0x146C327A
	.word	0x1B310148
	.word	0x225E5119
	.word	0x0D6331B6
	.word	0x1C0317EE
	.word	0x794A1815
	.word	0x6CB92DAB
	.word	0x13B00AB4
	.word	0x25B3271B
	.word	0x11221C4C
	.word	0x668332B8
	.word	0x3F5E5700
	.word	0x426B6209
	.word	0x497B2B16
	.word	0x2E632CC2
	.word	0x12D60D73
	.word	0x43EA099A
	.word	0x54C001D8
	.word	0x648D38EA
	.word	0x6AE90CDF
	.word	0x0A381D0A
	.word	0x7A8B49B3
	.word	0x50403C6B
	.word	0x60561F92
	.word	0x012C4974
	.word	0x111F5304
	.word	0x35474C1E
	.word	0x59476ED8
	.word	0x4DE6494E
	.word	0x26EC40E3
	.word	0x597903F5
	.word	0x4AD26678
	.word	0x2C5433EA
	.word	0x5C1024A6
	.word	0x3A3B4E82
	.word	0x2A7A0834
	.word	0x7CAF3CF5
	.word	0x6BD2095E
	.word	0x71FB1C70
	.word	0x0FAD2F4C
	.word	0x00FD63F9
	.word	0x66276F56
	.word	0x4DB50C07
	.word	0x054643FA
	.word	0x4A8F13DD
	.word	0x192F3799
	.word	0x127000AA
	.word	0x0B0B5EF4
	.word	0x57833262
	.word	0x2AB67F6A
	.word	0x72C02A5A
	.word	0x472E5CEF
	.word	0x60411FA6
	.word	0x61B66BCC
	.word	0x34447D32
	.word	0x67CD6219
	.word	0x54FF25A3
	.word	0x1FD264FA
	.word	0x052718EB
	.word	0x34744D9C
	.word	0x0B3F57AE
	.word	0x0ADB41EE
	.word	0x01A12058
	.word	0x4F981D20
	.word	0x1B4D61FB
	.word	0x664D63DC
	.word	0x697500E9
	.word	0x281C4047
	.word	0x6DC44915
	.word	0x1CD041B6
	.word	0x05722A2A
	.word	0x1ACE5C30
	.word	0x79091969
	.word	0x79BA63A8
	.word	0x3CF43543
	.word	0x43E87EF7
	.word	0x2ECC06BA
	.word	0x12894E9B
	.word	0x5B627C78
	.word	0x00924332
	.word	0x198C7BAC
	.word	0x606B5FB4
	.word	0x05B022A8
	.word	0x205D6373
	.word	0x2A12193C
	.word	0x09B817D4
	.word	0x5FDD0AD0
	.word	0x46C73DCB
	.word	0x34F32643
	.word	0x5B755718
	.word	0x62743F87
	.word	0x7CBB4743
	.word	0x20106EF8
	.word	0x72D10858
	.word	0x600D4A81
	.word	0x72106F63
	.word	0x4017146D
	.word	0x16A93CAA
	.word	0x3ACB7C0E
	.word	0x6F0873AD
	.word	0x66024C10
	.word	0x410636DE
	.word	0x49DD229A
	.word	0x75D12320
	.word	0x1C950F2A
	.word	0x589B6701
	.word	0x6F00322D
	.word	0x140511B8
	.word	0x15E23A61
	.word	0x1A4A55DD
	.word	0x5BF95BEB
	.word	0x642C3BEA
	.word	0x48C61D38
	.word	0x329F0076
	.word	0x081D1594
	.word	0x3F361A2B
	.word	0x3E6C798B
	.word	0x0751238C
	.word	0x55CB1103
	.word	0x1E042469
	.word	0x0FC77315
	.word	0x30C6771D
	.word	0x67EE23B0
	.word	0x2ADE458E
	.word	0x131A6EEC
	.word	0x238D59E2
	.word	0x277E1E2F
	.word	0x02FC3F01
	.word	0x39726302
	.word	0x09E46CCF
	.word	0x78FE13B1
	.word	0x27FF7C26
	.word	0x1C2815A4
	.word	0x4D321E96
	.word	0x21FE1180
	.word	0x217755DC
	.word	0x3A624CFD
	.word	0x4F8C2723
	.word	0x5E984685
	.word	0x4E5D45FC
	.word	0x66906E92
	.word	0x5532731F
	.word	0x26F41AC5
	.word	0x66980ADF
	.word	0x63F20EC5
	.word	0x1E117F6F
	.word	0x24C636DD
	.word	0x2C7B3AD7
	.word	0x340E7054
	.word	0x2F4024B4
	.word	0x58CD7B8B
	.word	0x4E4347B2
	.word	0x143C73D9
	.word	0x4C8652CA
	.word	0x70556927
	.word	0x779B723C
	.word	0x2B1D774A
	.word	0x21D03C4C
	.word	0x4AB47723
	.word	0x131A2DBC
	.word	0x661D2578
	.word	0x1CBD720C
	.word	0x2ECE5B91
	.word	0x3BC17374
	.word	0x06F73592
	.word	0x76156E9D
	.word	0x3093429C
	.word	0x5E800623
	.word	0x612F1AA2
	.word	0x6B4B11CC
	.word	0x467D760B
	.word	0x0BB02585
	.word	0x4798230C
	.word	0x28010C20
	.word	0x0F1574C4
	.word	0x789831D0
	.word	0x29CD0814
	.word	0x5F823A60
	.word	0x466D7A44
	.word	0x30EA3F36
	.word	0x61BA6D57
	.word	0x1647710B
	.word	0x6BA5762A
	.word	0x78451967
	.word	0x3112504F
	.word	0x1B7437DF
	.word	0x166873AB
	.word	0x5BB3370F
	.word	0x6ED967D1
	.word	0x325A7555
	.word	0x7C6E711D
	.word	0x732A1D52
	.word	0x64DA7391
	.word	0x6BF60A21
	.word	0x26FB276F
	.word	0x530E3355
	.word	0x5D2F7B9A
	.word	0x306E5CB5
	.word	0x585C41AD
	.word	0x2DAB05B7
	.word	0x5FBE7FD8
	.word	0x789954BD
	.word	0x216F047F
	.word	0x24BD7A11
	.word	0x1FB81791
	.word	0x377646A2
	.word	0x271965A8
	.word	0x4AEA727C
	.word	0x191A00E5
	.word	0x73B14F09
	.word	0x17D01389
	.word	0x55446109
	.word	0x5E2E2054
	.word	0x11241E52
	.word	0x51116C9E
	.word	0x7CCA4B49
	.word	0x15097036
	.word	0x4A52341C
	.word	0x34E866FE
	.word	0x0FE63DC5
	.word	0x250D6043
	.word	0x59EB0ABE
	.word	0x2F6E67DD
	.word	0x33EE2F84
	.word	0x1467250A
	.word	0x544D32CE
	.word	0x6C440B0B
	.word	0x56A5558A
	.word	0x158F777C
	.word	0x30FF5E9C
	.word	0x3C1B5A74
	.word	0x4FB96655
	.word	0x44CD4461
	.word	0x04365DB5
	.word	0x2A2D75A0
	.word	0x32454D61
	.word	0x15B04BDF
	.word	0x68520863
	.word	0x41C32933
	.word	0x4E4F4EA4
	.word	0x709730F8
	.word	0x17601B29
	.word	0x03AF766C
	.word	0x62491A10
	.word	0x002B790A
	.word	0x34980249
	.word	0x0BD20AA8
	.word	0x7C914F15
	.word	0x2EE17B4F
	.word	0x45DE1540
	.word	0x669526DE
	.word	0x0CF3701E
	.word	0x547A405D
	.word	0x5D434247
	.word	0x16727722
	.word	0x26244612
	.word	0x138451A6
	.word	0x728329D2
	.word	0x496A5A25
	.word	0x6F4733D3
	.word	0x66D978F7
	.word	0x6C862A13
	.word	0x3E8E18B1
	.word	0x456A79C0
	.word	0x5F1D6FFB
	.word	0x5AE15A76
	.word	0x5B790D2F
	.word	0x0D086935
	.word	0x10427FB7
	.word	0x5F557723
	.word	0x71D23B23
	.word	0x33860807
	.word	0x2F05100C
	.word	0x474D3C81
	.word	0x34CC56AD
	.word	0x60B8240B
	.word	0x5E71273A
	.word	0x556232B0
	.word	0x5EA73C07
	.word	0x585C568E
	.word	0x2D59595A
	.word	0x3AD9690D
	.word	0x062F570C
	.word	0x0B9B77DC
	.word	0x43E027E2
	.word	0x412121B0
	.word	0x243A7AAD
	.word	0x5A8D02BB
	.word	0x40F35123
	.word	0x23576CEE
	.word	0x492D287C
	.word	0x05B467EF
	.word	0x47CB0FCC
	.word	0x17C434D9
	.word	0x02764823
	.word	0x4F7E51B7
	.word	0x3D6D4A66
	.word	0x095C38BE
	.word	0x70114EEC
	.word	0x4DC5574C
	.word	0x362C32D8
	.word	0x013E78A4
	.word	0x0A055739
	.word	0x6B512067
	.word	0x132455E3
	.word	0x403910D1
	.word	0x15E5280B
	.word	0x195278B9
	.word	0x4FBF1AA4
	.word	0x08430547
	.word	0x4C522C7D
	.word	0x30E95372
	.word	0x7F323217
	.word	0x16027D41
	.word	0x2E765B47
	.word	0x049E3EBD
	.word	0x79FE7690
	.word	0x4A466EB8
	.word	0x0B880E3E
	.word	0x21E94741
	.word	0x3B723B42
	.word	0x038A39E2
	.word	0x364D49D1
	.word	0x42AC4BA0
	.word	0x6F260BBB
	.word	0x277934B0
	.word	0x6A93748C
	.word	0x6EB43FF9
	.word	0x2E7F5B64
	.word	0x5C65264D
	.word	0x62B67E96
	.word	0x4D3E6167
	.word	0x6E2F2503
	.word	0x72CF32A4
	.word	0x1D1D7935
	.word	0x266E5982
	.word	0x1BB47A3B
	.word	0x7EE435D9
	.word	0x51BB1E47
	.word	0x14D751DB
	.word	0x6AD60308
	.word	0x21FB0FCD
	.word	0x179147C8
	.word	0x66F97782
	.word	0x532C6D45
	.word	0x041B5F9C
	.word	0x3A295751
	.word	0x30BC6E82
	.word	0x3D964C29
	.word	0x7D712F20
	.word	0x3F1A0D95
	.word	0x0CF73562
	.word	0x61C267C3
	.word	0x6FDC0E6E
	.word	0x1B8951E4
	.word	0x0EEE78A4
	.word	0x53A97C84
	.word	0x50641F56
	.word	0x19A469AA
	.word	0x63CE5647
	.word	0x41116AB3
	.word	0x60BC10E5
	.word	0x6E271FEF
	.word	0x24311146
	.word	0x5F0B55F8
	.word	0x18C60AE4
	.word	0x7DD95CD6
	.word	0x559E3519
	.word	0x077434D4
	.word	0x400D0959
	.word	0x530E2D20
	.word	0x1C072931
	.word	0x06765026
	.word	0x374A2803
	.word	0x432539A9
	.word	0x1B4B347E
	.word	0x180632A6
	.word	0x71E25DE0
	.word	0x44092EE8
	.word	0x08B470EB
	.word	0x1566086A
	.word	0x1F6428A8
	.word	0x71B11471
	.word	0x6C792EDF
	.word	0x52A36E66
	.word	0x050D2851
	.word	0x43A21474
	.word	0x133B48BB
	.word	0x2C1531E6
	.word	0x07462A8C
	.word	0x726A333E
	.word	0x2F896661
	.word	0x43E40014
	.word	0x63232644
	.word	0x0D2576B5
	.word	0x2B5E30A9
	.word	0x6F7F0577
	.word	0x17E42724
	.word	0x3EFB7DDE
	.word	0x29A074EB
	.word	0x55257D70
	.word	0x00752910
	.word	0x449D0858
	.word	0x37A2387B
	.word	0x395F31BD
	.word	0x1CF063A8
	.word	0x11CD6DE0
	.word	0x2EA13C26
	.word	0x7C8269F8
	.word	0x0C1805CB
	.word	0x26D505CD
	.word	0x45476FB8
	.word	0x482F4B16
	.word	0x34DD6110
	.word	0x160D7E93
	.word	0x512D5577
	.word	0x6CD426EA
	.word	0x1FDD054C
	.word	0x39582543
	.word	0x385355A7
	.word	0x6F2A3BA2
	.word	0x00DF4C11
	.word	0x17A51D07
	.word	0x12A80206
	.word	0x45B76347
	.word	0x7058542B
	.word	0x7A7006A9
	.word	0x7B87494F
	.word	0x464D3340
	.word	0x54E86D24
	.word	0x3341180B
	.word	0x13361ABA
	.word	0x43870BCD
	.word	0x7CDC72BF
	.word	0x112A23AD
	.word	0x30677978
	.word	0x5A50178E
	.word	0x67AC187E
	.word	0x064B102C
	.word	0x41B90039
	.word	0x6F5E3AFB
	.word	0x3F7C251E
	.word	0x7D4F3FC0
	.word	0x5F3554A8
	.word	0x5CB073EB
	.word	0x029D1E17
	.word	0x5EEE67BB
	.word	0x0BD40AEB
	.word	0x4F162910
	.word	0x5D0B631F
	.word	0x476B580F
	.word	0x26F67926
	.word	0x53A86978
	.word	0x31EF39A7
	.word	0x6C1532C7
	.word	0x0DEA7AF7
	.word	0x154C1C0C
	.word	0x551C485A
	.word	0x30C8138A
	.word	0x6D6A24F9
	.word	0x4A321F12
	.word	0x749402A3
	.word	0x6D6C271D
	.word	0x431E6844
	.word	0x515A57AC
	.word	0x32020426
	.word	0x637332E0
	.word	0x0F1725E9
	.word	0x000A3158
	.word	0x6C3F5C43
	.word	0x635D0C4E
	.word	0x35533278
	.word	0x1F5A0D71
	.word	0x38D04998
	.word	0x22350080
	.word	0x0F3E497C
	.word	0x19AB22AB
	.word	0x0D64657E
	.word	0x3F132BA9
	.word	0x2D2D70FB
	.word	0x58294C98
	.word	0x19583F8A
	.word	0x789A4099
	.word	0x47E34CF9
	.word	0x504F4B27
	.word	0x4F35690C
	.word	0x1279403C
	.word	0x620E62F4
	.word	0x41617222
	.word	0x1E2F7091
	.word	0x6AED2119
	.word	0x19C84D67
	.word	0x21F148AE
	.word	0x5BA64D62
	.word	0x403B66D6
	.word	0x2A195F4A
	.word	0x3D5D18CD
	.word	0x5CA63B04
	.word	0x263829B1
	.word	0x1C72378E
	.word	0x014D6EDD
	.word	0x3F6904B8
	.word	0x2BC30E06
	.word	0x2A3144A3
	.word	0x7B380918
	.word	0x64D240FB
	.word	0x30482BCE
	.word	0x4E2137F4
	.word	0x05DE3714
	.word	0x19F17D05
	.word	0x693D661C
	.word	0x05F96967
	.word	0x26CD2942
	.word	0x7184584C
	.word	0x17A632A0
	.word	0x43DB2AE0
	.word	0x1BDE3071
	.word	0x4D721001
	.word	0x6D935126
	.word	0x0FD50BBD
	.word	0x18B76D4A
	.word	0x18507A8F
	.word	0x239E7316
	.word	0x59610C59
	.word	0x34496FD4
	.word	0x2EDF7321
	.word	0x3E7052F4
	.word	0x78E6418B
	.word	0x065146EF
	.word	0x798A351A
	.word	0x043B3BDF
	.word	0x61376827
	.word	0x74D97FDB
	.word	0x35E9279D
	.word	0x223F0114
	.word	0x0111687A
	.word	0x31B615B1
	.word	0x70431905
	.word	0x0248656A
	.word	0x54A049CF
	.word	0x680A50E6
	.word	0x2D066A6C
	.word	0x502C72D5
	.word	0x26F815EF
	.word	0x19C116CD
	.word	0x424F2B26
	.word	0x2F4F41E6
	.word	0x039E2C9A
	.word	0x2D162914
	.word	0x61662445
	.word	0x20213147
	.word	0x57FF0711
	.word	0x2A0D5544
	.word	0x50415415
	.word	0x159C0D41
	.word	0x44F56B8F
	.word	0x27F91443
	.word	0x52FE599F
	.word	0x3AC92738
	.word	0x204710C9
	.word	0x6AF619D4
	.word	0x456B5028
	.word	0x683A5D2B
	.word	0x26273173
	.word	0x316D5413
	.word	0x64811AB1
	.word	0x498F1137
	.word	0x5AB40FBC
	.word	0x31955AFB
	.word	0x47E21F77
	.word	0x32F41114
	.word	0x1B7968CF
	.word	0x46EE4FE3
	.word	0x0B617372
	.word	0x269F6D94
	.word	0x60EA5852
	.word	0x4FC62CFA
	.word	0x287875D8
	.word	0x0A554229
	.word	0x2FEB2BE9
	.word	0x3AB704D1
	.word	0x7FD15B99
	.word	0x0CE36C5D
	.word	0x3B4B26B2
	.word	0x442531CF
	.word	0x12C02AE3
	.word	0x3BA7335A
	.word	0x354334C8
	.word	0x63C275BC
	.word	0x6CC5269E
	.word	0x48075F62
	.word	0x50FA0EC2
	.word	0x6A0B093A
	.word	0x3D0C29EE
	.word	0x7CF64155
	.word	0x74024D33
	.word	0x4DCB1B45
	.word	0x1FEF73B6
	.word	0x64742A31
	.word	0x17DA6C2A
	.word	0x299540B8
	.word	0x18716211
	.word	0x1D0D528B
	.word	0x5B6C3EB2
	.word	0x694C53C9
	.word	0x39C21DD9
	.word	0x5F583219
	.word	0x448F5251
	.word	0x279C4389
	.word	0x00C03622
	.word	0x3377472A
	.word	0x3184428B
	.word	0x3B805367
	.word	0x5D722BBE
	.word	0x569B4E29
	.word	0x7A7A7C5E
	.word	0x75BD4AAD
	.word	0x6C8D6CB9
	.word	0x507F6920
	.word	0x430C71C5
	.word	0x0E6413FF
	.word	0x60F23FDC
	.word	0x38E93731
	.word	0x7BC03D37
	.word	0x42524CE1
	.word	0x1D2C202C
	.word	0x2D2F5C1D
	.word	0x13883527
	.word	0x20B04530
	.word	0x7CF3086A
	.word	0x75AE77C0
	.word	0x59436F84
	.word	0x08756EA6
	.word	0x4EAE2E92
	.word	0x5B530D90
	.word	0x0D3B3539
	.word	0x55E23C59
	.word	0x7CEB2F5F
	.word	0x2D155C23
	.word	0x22A665AC
	.word	0x4003723A
	.word	0x67E729C3
	.word	0x757624A8
	.word	0x31274A40
	.word	0x66336498
	.word	0x6F0A4A71
	.word	0x6007626B
	.word	0x164C59D5
	.word	0x0D96279C
	.word	0x2A6A4756
	.word	0x4EE37254
	.word	0x47106C45
	.word	0x0E9E2ECC
	.word	0x54464B19
	.word	0x20312A67
	.word	0x51595DE7
	.word	0x72895C8B
	.word	0x628A50A1
	.word	0x23A46143
	.word	0x0D79230F
	.word	0x40DF0195
	.word	0x504F6E8D
	.word	0x3FFD65A4
	.word	0x7FAE4B89
	.word	0x7CF74C86
	.word	0x175A12BB
	.word	0x488665E3
	.word	0x69A47623
	.word	0x53712952
	.word	0x599A2DC4
	.word	0x02964773
	.word	0x0BF03422
	.word	0x77BB10CC
	.word	0x3AAC4E7C
	.word	0x5B126E65
	.word	0x17955CCA
	.word	0x318E4822
	.word	0x69592D75
	.word	0x4BE874E3
	.word	0x4F8150D9
	.word	0x1A70105D
	.word	0x5915287B
	.word	0x719452B6
	.word	0x5A0E2E0A
	.word	0x0B3145E3
	.word	0x2B802E17
	.word	0x509D74C2
	.word	0x42847294
	.word	0x39716FF6
	.word	0x49E7190E
	.word	0x4B174486
	.word	0x2A9410AA
	.word	0x05174034
	.word	0x2EC17BE1
	.word	0x46201F9F
	.word	0x2BDC71FB
	.word	0x75D90218
	.word	0x5F345C4C
	.word	0x7F653F44
	.word	0x69686B31
	.word	0x68B87A76
	.word	0x14905ECA
	.word	0x129D0FC9
	.word	0x512D1F74
	.word	0x6D833700
	.word	0x15D1620D
	.word	0x2F0B781F
	.word	0x0D8D53E7
	.word	0x54524DC5
	.word	0x411F0A88
	.word	0x7CFE1150
	.word	0x26D83328
	.word	0x6B0A0CAF
	.word	0x454F3DE8
	.word	0x33524E05
	.word	0x54C800D2
	.word	0x6ADD1903
	.word	0x0B610E94
	.word	0x5CEE1202
	.word	0x00023CFC
	.word	0x15C97EE3
	.word	0x50021733
	.word	0x4E4639A7
	.word	0x739A37B9
	.word	0x041730CD
	.word	0x6D0A4624
	/****************************************************************
	                           DMA TEST #0.1
	 ****************************************************************/
	ori	$1,	$0,	0x0001		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F0
	lui	$12,	0x0080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read1:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read1		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0008		/* number of skips	*/
Chk1:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk1		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done1		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk1				/* go loop		*/
Done1:
	/****************************************************************
	                           DMA TEST #0.2
	 ****************************************************************/
	ori	$1,	$0,	0x0002		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read2:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read2		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk2:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk2		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done2		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk2				/* go loop		*/
Done2:
	/****************************************************************
	                           DMA TEST #0.3
	 ****************************************************************/
	ori	$1,	$0,	0x0003		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x0100			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read3:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read3		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0010		/* number of skips	*/
Chk3:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk3		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done3		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk3				/* go loop		*/
Done3:
	/****************************************************************
	                           DMA TEST #0.4
	 ****************************************************************/
	ori	$1,	$0,	0x0004		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0x0200			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read4:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read4		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0020		/* number of skips	*/
Chk4:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk4		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done4		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk4				/* go loop		*/
Done4:
	/****************************************************************
	                           DMA TEST #0.5
	 ****************************************************************/
	ori	$1,	$0,	0x0005		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF0
	lui	$12,	0x0400			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read5:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read5		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0040		/* number of skips	*/
Chk5:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk5		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done5		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk5				/* go loop		*/
Done5:
	/****************************************************************
	                           DMA TEST #0.6
	 ****************************************************************/
	ori	$1,	$0,	0x0006		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0x0800			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read6:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read6		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0080		/* number of skips	*/
Chk6:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk6		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done6		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk6				/* go loop		*/
Done6:
	/****************************************************************
	                           DMA TEST #0.7
	 ****************************************************************/
	ori	$1,	$0,	0x0007		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FF0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x3000
	lui	$12,	0x1000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read7:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read7		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0100		/* number of skips	*/
Chk7:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk7		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done7		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk7				/* go loop		*/
Done7:
	/****************************************************************
	                           DMA TEST #0.8
	 ****************************************************************/
	ori	$1,	$0,	0x0008		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FF8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x3008
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0007

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read8:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read8		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0008		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0000		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk8:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk8		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done8		/* exit if zero span	*/
	ori	$3,	$0,	0x0008		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk8				/* go loop		*/
Done8:
	/****************************************************************
	                           DMA TEST #0.9
	 ****************************************************************/
	ori	$1,	$0,	0x0009		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27E8
	lui	$12,	0x2000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x100F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read9:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read9		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0200		/* number of skips	*/
Chk9:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk9		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done9		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk9				/* go loop		*/
Done9:
	/****************************************************************
	                           DMA TEST #0.10
	 ****************************************************************/
	ori	$1,	$0,	0x000A		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F0
	lui	$12,	0x4000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x200F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read10:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read10		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0400		/* number of skips	*/
Chk10:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk10		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done10		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk10				/* go loop		*/
Done10:
	/****************************************************************
	                           DMA TEST #0.11
	 ****************************************************************/
	ori	$1,	$0,	0x000B		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07E8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F8
	lui	$12,	0x8000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x100F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read11:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read11		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0800		/* number of skips	*/
Chk11:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk11		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done11		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk11				/* go loop		*/
Done11:
	/****************************************************************
	                           DMA TEST #0.12
	 ****************************************************************/
	ori	$1,	$0,	0x000C		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0xC000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x200F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read12:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read12		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0C00		/* number of skips	*/
Chk12:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk12		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done12		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk12				/* go loop		*/
Done12:
	/****************************************************************
	                           DMA TEST #0.13
	 ****************************************************************/
	ori	$1,	$0,	0x000D		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0xA000			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x100F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read13:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read13		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0A00		/* number of skips	*/
Chk13:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk13		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done13		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk13				/* go loop		*/
Done13:
	/****************************************************************
	                           DMA TEST #0.14
	 ****************************************************************/
	ori	$1,	$0,	0x000E		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FE8
	lui	$12,	0x0180			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x200F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read14:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read14		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0018		/* number of skips	*/
Chk14:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk14		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done14		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk14				/* go loop		*/
Done14:
	/****************************************************************
	                           DMA TEST #0.15
	 ****************************************************************/
	ori	$1,	$0,	0x000F		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF0
	lui	$12,	0x0280			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x100F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read15:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read15		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0028		/* number of skips	*/
Chk15:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk15		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done15		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk15				/* go loop		*/
Done15:
	/****************************************************************
	                           DMA TEST #0.16
	 ****************************************************************/
	ori	$1,	$0,	0x0010		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FE8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x000F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read16:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read16		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0000		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk16:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk16		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done16		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk16				/* go loop		*/
Done16:
	/****************************************************************
	                           DMA TEST #0.17
	 ****************************************************************/
	ori	$1,	$0,	0x0011		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FF0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x3000
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x000F

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read17:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read17		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0010		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0000		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk17:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk17		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done17		/* exit if zero span	*/
	ori	$3,	$0,	0x0010		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk17				/* go loop		*/
Done17:
	/****************************************************************
	                           DMA TEST #0.18
	 ****************************************************************/
	ori	$1,	$0,	0x0012		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27E0
	lui	$12,	0x0480			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read18:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read18		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0048		/* number of skips	*/
Chk18:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk18		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done18		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk18				/* go loop		*/
Done18:
	/****************************************************************
	                           DMA TEST #0.19
	 ****************************************************************/
	ori	$1,	$0,	0x0013		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27E8
	lui	$12,	0x0880			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read19:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read19		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0088		/* number of skips	*/
Chk19:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk19		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done19		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk19				/* go loop		*/
Done19:
	/****************************************************************
	                           DMA TEST #0.20
	 ****************************************************************/
	ori	$1,	$0,	0x0014		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07E0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F0
	lui	$12,	0x1080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read20:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read20		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0108		/* number of skips	*/
Chk20:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk20		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done20		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk20				/* go loop		*/
Done20:
	/****************************************************************
	                           DMA TEST #0.21
	 ****************************************************************/
	ori	$1,	$0,	0x0015		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07E8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F8
	lui	$12,	0x2080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read21:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read21		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0208		/* number of skips	*/
Chk21:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk21		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done21		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk21				/* go loop		*/
Done21:
	/****************************************************************
	                           DMA TEST #0.22
	 ****************************************************************/
	ori	$1,	$0,	0x0016		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x4080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read22:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read22		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0408		/* number of skips	*/
Chk22:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk22		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done22		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk22				/* go loop		*/
Done22:
	/****************************************************************
	                           DMA TEST #0.23
	 ****************************************************************/
	ori	$1,	$0,	0x0017		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0x8080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read23:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read23		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0808		/* number of skips	*/
Chk23:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk23		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done23		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk23				/* go loop		*/
Done23:
	/****************************************************************
	                           DMA TEST #0.24
	 ****************************************************************/
	ori	$1,	$0,	0x0018		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FE8
	lui	$12,	0x0300			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read24:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read24		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0030		/* number of skips	*/
Chk24:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk24		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done24		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk24				/* go loop		*/
Done24:
	/****************************************************************
	                           DMA TEST #0.25
	 ****************************************************************/
	ori	$1,	$0,	0x0019		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF0
	lui	$12,	0x0500			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read25:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read25		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0050		/* number of skips	*/
Chk25:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk25		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done25		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk25				/* go loop		*/
Done25:
	/****************************************************************
	                           DMA TEST #0.26
	 ****************************************************************/
	ori	$1,	$0,	0x001A		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FE0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read26:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read26		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0000		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk26:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk26		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done26		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk26				/* go loop		*/
Done26:
	/****************************************************************
	                           DMA TEST #0.27
	 ****************************************************************/
	ori	$1,	$0,	0x001B		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0FE8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x3000
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0017

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read27:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read27		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0018		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0000		/* number of spans	*/
	ori	$8,	$0,	0x0FF8		/* number of skips	*/
Chk27:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk27		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done27		/* exit if zero span	*/
	ori	$3,	$0,	0x0018		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk27				/* go loop		*/
Done27:
	/****************************************************************
	                           DMA TEST #0.28
	 ****************************************************************/
	ori	$1,	$0,	0x001C		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2780
	lui	$12,	0x0900			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1077

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read28:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read28		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0090		/* number of skips	*/
Chk28:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk28		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done28		/* exit if zero span	*/
	ori	$3,	$0,	0x0078		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk28				/* go loop		*/
Done28:
	/****************************************************************
	                           DMA TEST #0.29
	 ****************************************************************/
	ori	$1,	$0,	0x001D		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2788
	lui	$12,	0x1100			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x2077

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read29:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read29		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0002		/* number of spans	*/
	ori	$8,	$0,	0x0110		/* number of skips	*/
Chk29:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk29		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done29		/* exit if zero span	*/
	ori	$3,	$0,	0x0078		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk29				/* go loop		*/
Done29:
	/****************************************************************
	                           DMA TEST #0.30
	 ****************************************************************/
	ori	$1,	$0,	0x001E		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$9,	$0,	0x0001		/* R9  = 1		*/
	ori	$10,	$0,	0x0780		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2790
	lui	$12,	0x2100			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x1077

	mtc0	$10,	$0			/* write into CP0 reg	*/
	mtc0	$11,	$1			/* write into CP0 reg	*/
	mtc0	$12,	$2			/* write into CP0 reg	*/
Read30:	mfc0	$14,	$4			/* read status reg	*/
	andi	$15,	$14,	0x0004		/* extract busy bit	*/
	bne	$15,	$0,	Read30		/* wait for DMA to end	*/

	or	$4,	$11,	$0		/* Init expected data	*/
	or	$6,	$10,	$0		/* R6 = R10 =DMEM addr	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$7,	$0,	0x0001		/* number of spans	*/
	ori	$8,	$0,	0x0210		/* number of skips	*/
Chk30:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	bne	$3,	$0,	Chk30		/* check if done	*/
	nop					/* bne delay slot	*/
	beq	$7,	$0,	Done30		/* exit if zero span	*/
	ori	$3,	$0,	0x0078		/* reload len (bytes)	*/
	add	$4,	$4,	$8		/* adjust predict data	*/
	sub	$7,	$7,	$9		/* decrement span cnt	*/
	j	Chk30				/* go loop		*/
Done30:
	/****************************************************************
	  Wrap up ...
	 ****************************************************************/
	nop					
Done:	ori	$1,	$0,	0xFEED		/* Test passed		*/
	break

Time:	ori	$1,	$0,	0xDEAD		/* Timed-out from DMA	*/
	break

Fail:	break