dma01.s 65.2 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 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298
/************************************************************************
  DMA READ TESTS: File #1
************************************************************************/
	.word	0x7A5F09C4
	.word	0x6F9118C5
	.word	0x74AA27CF
	.word	0x24B16A99
	.word	0x66AA256B
	.word	0x094A23CD
	.word	0x494F40A0
	.word	0x22B80772
	.word	0x13C716AD
	.word	0x7D966FF4
	.word	0x40A93FC4
	.word	0x44C4473A
	.word	0x79E56A88
	.word	0x3D3A6481
	.word	0x176D3347
	.word	0x32906BF8
	.word	0x5C9F32F7
	.word	0x20490C1C
	.word	0x207901F2
	.word	0x23E334D2
	.word	0x4C7B2A71
	.word	0x039F2446
	.word	0x5E5B46CA
	.word	0x56106585
	.word	0x586B4769
	.word	0x16661CDC
	.word	0x4CCB1C90
	.word	0x31783DF0
	.word	0x6F4E3FCE
	.word	0x5793079A
	.word	0x5A2D5940
	.word	0x1F046188
	.word	0x716E7C8B
	.word	0x43677795
	.word	0x11123995
	.word	0x0DAE2EE3
	.word	0x72017D06
	.word	0x30F050BE
	.word	0x71B67C82
	.word	0x27F70730
	.word	0x28AA2AA3
	.word	0x5F880764
	.word	0x7B826EB8
	.word	0x397005BB
	.word	0x12F71C3F
	.word	0x34534FB0
	.word	0x66896624
	.word	0x4434276C
	.word	0x45E349B8
	.word	0x27C33D28
	.word	0x0D0D2D70
	.word	0x466A6247
	.word	0x6F542F62
	.word	0x6316522F
	.word	0x04F95F7F
	.word	0x2FC62CEB
	.word	0x079C6191
	.word	0x0DD47F82
	.word	0x696632F4
	.word	0x07067614
	.word	0x32F91014
	.word	0x4B5413BA
	.word	0x541935AA
	.word	0x3F770C1B
	.word	0x531779B5
	.word	0x68361ACE
	.word	0x0701783A
	.word	0x3E707474
	.word	0x488B4FBC
	.word	0x37E82D90
	.word	0x45BC297B
	.word	0x10D3332D
	.word	0x6458096C
	.word	0x2223312E
	.word	0x5F1121FB
	.word	0x50910273
	.word	0x096C2783
	.word	0x606D06B1
	.word	0x66745F89
	.word	0x3A257A0E
	.word	0x7E2267BC
	.word	0x6B972A7F
	.word	0x1D8770AD
	.word	0x721626E2
	.word	0x6DBF684E
	.word	0x193E43DA
	.word	0x0D96502C
	.word	0x7A78126E
	.word	0x19F73B6C
	.word	0x694C2461
	.word	0x51193087
	.word	0x586A3A4F
	.word	0x3C676AC5
	.word	0x0376378C
	.word	0x0D33377B
	.word	0x699677BC
	.word	0x181B6B04
	.word	0x64BD6232
	.word	0x1B372980
	.word	0x69B65709
	.word	0x3B087F4F
	.word	0x3CF05205
	.word	0x6220054C
	.word	0x280C5F27
	.word	0x6F910CC9
	.word	0x7C273D12
	.word	0x60160F4F
	.word	0x6CE74920
	.word	0x5E045E12
	.word	0x10471143
	.word	0x63EE4D36
	.word	0x0F23279E
	.word	0x5E1B56C4
	.word	0x528313DF
	.word	0x76A9716A
	.word	0x39A77E62
	.word	0x787D16F6
	.word	0x24D67107
	.word	0x74F23691
	.word	0x60E749CF
	.word	0x183D0EBB
	.word	0x3F8C3B39
	.word	0x58A22B0A
	.word	0x6862765F
	.word	0x6C5801A2
	.word	0x2EB95ACF
	.word	0x323D6C73
	.word	0x7823482A
	.word	0x793A7A36
	.word	0x7FBE6D7F
	.word	0x52745325
	.word	0x02413265
	.word	0x5A372D7D
	.word	0x1EC915DA
	.word	0x23A30DB4
	.word	0x78611EDF
	.word	0x33144E7A
	.word	0x64533ACF
	.word	0x33532C72
	.word	0x31312583
	.word	0x517E51AD
	.word	0x52A23728
	.word	0x6BB71CEB
	.word	0x7DEE33DB
	.word	0x7E8F2090
	.word	0x03477909
	.word	0x7D311567
	.word	0x6FDD2489
	.word	0x004E3D1A
	.word	0x44A01176
	.word	0x77CC706D
	.word	0x4DD346CE
	.word	0x4B2E553E
	.word	0x675533CC
	.word	0x14C1783D
	.word	0x39AE5605
	.word	0x638C466B
	.word	0x3BDC2544
	.word	0x2FF52254
	.word	0x05DC6127
	.word	0x6F33110B
	.word	0x3FF71C76
	.word	0x71773AEA
	.word	0x3AD12246
	.word	0x76DA3C07
	.word	0x7C3310D2
	.word	0x27050075
	.word	0x4C934614
	.word	0x57A2283F
	.word	0x11697A27
	.word	0x4D862F25
	.word	0x0031235C
	.word	0x649B5414
	.word	0x763E001E
	.word	0x4A8F7C67
	.word	0x01456286
	.word	0x383E0EE0
	.word	0x64A519BD
	.word	0x55E00264
	.word	0x27771515
	.word	0x35F21C7A
	.word	0x775A1CE6
	.word	0x12E51B82
	.word	0x6BFB3D2A
	.word	0x3B8948B5
	.word	0x77673DD8
	.word	0x5A382DE0
	.word	0x0F104501
	.word	0x02C26AE0
	.word	0x59A07EAB
	.word	0x331C66DC
	.word	0x6D816671
	.word	0x32C75945
	.word	0x6C290ED7
	.word	0x7D02668F
	.word	0x0626026E
	.word	0x21AF4CAC
	.word	0x33ED1AAB
	.word	0x49055B4D
	.word	0x2F626888
	.word	0x45FB33D7
	.word	0x7A270AD8
	.word	0x63700D27
	.word	0x7CA50E6B
	.word	0x581A7706
	.word	0x09DB33E5
	.word	0x0D35596B
	.word	0x53E9375F
	.word	0x23E72B73
	.word	0x1D5B75BB
	.word	0x65751E21
	.word	0x33360BC7
	.word	0x0A2836D5
	.word	0x7BC54B19
	.word	0x02FD158E
	.word	0x262020A4
	.word	0x320F62DF
	.word	0x4681491E
	.word	0x3DC521B2
	.word	0x6B466F12
	.word	0x6ABB60C0
	.word	0x76C50EC4
	.word	0x287207CC
	.word	0x49D43BC8
	.word	0x3CB63CA2
	.word	0x0B132461
	.word	0x39D31BD3
	.word	0x17006E9A
	.word	0x2B77412D
	.word	0x64B84B26
	.word	0x26655BFD
	.word	0x6B8E59F9
	.word	0x26DF4B04
	.word	0x554D3CA3
	.word	0x69D07C3A
	.word	0x094D726F
	.word	0x2CBD0C44
	.word	0x5C385A3F
	.word	0x006A61B7
	.word	0x709A7625
	.word	0x1A4C400A
	.word	0x142A4CC2
	.word	0x50B20E5D
	.word	0x25DA045F
	.word	0x2DB14DEC
	.word	0x50A013CD
	.word	0x44D47C51
	.word	0x270224FC
	.word	0x37805D7D
	.word	0x6B64055E
	.word	0x14296975
	.word	0x11113FF9
	.word	0x7C3759CC
	.word	0x420B3D4E
	.word	0x3CB612E4
	.word	0x759304EE
	.word	0x45C064E3
	.word	0x63777CD5
	.word	0x2CAA6077
	.word	0x601E428D
	.word	0x24F13B4A
	.word	0x6D547A03
	.word	0x1BE30044
	.word	0x0BD62E28
	.word	0x630D0784
	.word	0x199D1F47
	.word	0x1568721C
	.word	0x48EB1B29
	.word	0x2342258E
	.word	0x7C163AEA
	.word	0x30EE030A
	.word	0x12172299
	.word	0x342B5665
	.word	0x6FD21E93
	.word	0x7C5538D9
	.word	0x52233A9C
	.word	0x114D637F
	.word	0x34AC2EC2
	.word	0x15292D8D
	.word	0x59613DF2
	.word	0x149C324F
	.word	0x3CD06257
	.word	0x72245AE7
	.word	0x03316376
	.word	0x57F647C4
	.word	0x2A32320B
	.word	0x5CA955E3
	.word	0x0B7F25A1
	.word	0x46A43BC8
	.word	0x7C1377F3
	.word	0x1A497A3B
	.word	0x14411A05
	.word	0x5EDE1CC3
	.word	0x6C813F02
	.word	0x464005E4
	.word	0x5AFB38D4
	.word	0x23464317
	.word	0x7DD50285
	.word	0x5AF6248D
	.word	0x1E3D1459
	.word	0x3C6A14A4
	.word	0x38355DA7
	.word	0x6B806B26
	.word	0x3322007B
	.word	0x4A453844
	.word	0x17122AEE
	.word	0x0D1F4355
	.word	0x4AD02A40
	.word	0x65BC394E
	.word	0x26AA13BA
	.word	0x70BE4700
	.word	0x67FD1F46
	.word	0x52231B15
	.word	0x51850FCA
	.word	0x2C760BC8
	.word	0x04664549
	.word	0x5EB75C67
	.word	0x5DF954B9
	.word	0x350B5E8A
	.word	0x665741A2
	.word	0x78236B11
	.word	0x1BA8357B
	.word	0x076E6EDF
	.word	0x262950C4
	.word	0x69FE0758
	.word	0x40FE71E2
	.word	0x023B6A9B
	.word	0x63BD0DBF
	.word	0x504A177F
	.word	0x78B6761E
	.word	0x6F3B094F
	.word	0x2C0429BE
	.word	0x38F56B46
	.word	0x1F550A36
	.word	0x3CE107C9
	.word	0x0E79138B
	.word	0x75596F66
	.word	0x30AB7192
	.word	0x67CF1390
	.word	0x62A20F09
	.word	0x1BBD5118
	.word	0x65577A73
	.word	0x1450266B
	.word	0x3D953CB7
	.word	0x38D4118E
	.word	0x00427D77
	.word	0x57DE51DA
	.word	0x176F1131
	.word	0x313B0977
	.word	0x4C214D18
	.word	0x329C7A99
	.word	0x20DD3CB0
	.word	0x52FD5C7D
	.word	0x48F5152C
	.word	0x38DA0422
	.word	0x48950287
	.word	0x17115CC8
	.word	0x098D2A64
	.word	0x6C956C2A
	.word	0x70DC00A7
	.word	0x12D95E7A
	.word	0x410049CF
	.word	0x46F65620
	.word	0x5500671A
	.word	0x19A27B33
	.word	0x00354857
	.word	0x71D106B4
	.word	0x1EDC1F89
	.word	0x0E28458D
	.word	0x235D3240
	.word	0x31264F4C
	.word	0x2C5964B7
	.word	0x64126C9E
	.word	0x6F765AAE
	.word	0x7CA2698E
	.word	0x04EA4A06
	.word	0x51704F7B
	.word	0x5FC85B1E
	.word	0x491D42DB
	.word	0x7F0D32F0
	.word	0x304200B2
	.word	0x236A02EA
	.word	0x021B37D0
	.word	0x15CF3A8D
	.word	0x0FF239CD
	.word	0x4ABC36C7
	.word	0x334D3FC5
	.word	0x6E470B11
	.word	0x76D73ED4
	.word	0x24EC4048
	.word	0x620F0850
	.word	0x0D17254C
	.word	0x53B231C9
	.word	0x4D730D5B
	.word	0x16E900C2
	.word	0x3BF0182B
	.word	0x1F32562C
	.word	0x69965FC9
	.word	0x171055A6
	.word	0x1F0D2834
	.word	0x2D724477
	.word	0x15E86CB8
	.word	0x4DE55C47
	.word	0x7AB5670C
	.word	0x2F780DA0
	.word	0x03C56C2B
	.word	0x66736E28
	.word	0x28BC3AF3
	.word	0x64B74E9C
	.word	0x46D7187E
	.word	0x14F3348C
	.word	0x3E005644
	.word	0x7C8C33D9
	.word	0x52931DED
	.word	0x104963EE
	.word	0x5FEE1EF7
	.word	0x27C26CC1
	.word	0x27BB7A0C
	.word	0x3B866788
	.word	0x49FD0620
	.word	0x5A0F0F3C
	.word	0x31DB4B4E
	.word	0x7F667CCF
	.word	0x032F4F70
	.word	0x3B966B2C
	.word	0x54CE1080
	.word	0x53D23EF2
	.word	0x439548B2
	.word	0x4A654DF0
	.word	0x2A38584D
	.word	0x795E2260
	.word	0x09CA714D
	.word	0x2BF735E4
	.word	0x6F0C60BA
	.word	0x62C96042
	.word	0x607511C6
	.word	0x2EB275DE
	.word	0x210526A9
	.word	0x4E8251FB
	.word	0x53CA433D
	.word	0x7B6848B1
	.word	0x4C2F6559
	.word	0x101F3CAD
	.word	0x170866ED
	.word	0x76D854AB
	.word	0x085D05E2
	.word	0x09E60CB4
	.word	0x59FA0DAF
	.word	0x532C1F18
	.word	0x26B37EBB
	.word	0x5646012B
	.word	0x4E774F76
	.word	0x517A6FBF
	.word	0x0F1C2335
	.word	0x215D4765
	.word	0x5DE412D1
	.word	0x33452462
	.word	0x4DD262FF
	.word	0x32720673
	.word	0x0EAF446E
	.word	0x5BFB7441
	.word	0x50DB79A3
	.word	0x257A5AA2
	.word	0x19D47E94
	.word	0x22772396
	.word	0x55880E06
	.word	0x549540FC
	.word	0x305B20A6
	.word	0x527E2717
	.word	0x05F641EA
	.word	0x719072C5
	.word	0x70D556A5
	.word	0x5E443779
	.word	0x468F316D
	.word	0x4F6230FD
	.word	0x0CE410AD
	.word	0x3FE754EA
	.word	0x33896288
	.word	0x5BB27FE2
	.word	0x1EB26A74
	.word	0x0AF13A94
	.word	0x4E632493
	.word	0x484D526D
	.word	0x2E7702D0
	.word	0x2DD8421E
	.word	0x5B6D5FBE
	.word	0x64B225D3
	.word	0x67F64330
	.word	0x637F372D
	.word	0x6F3F5498
	.word	0x27890D03
	.word	0x7FFE1721
	.word	0x54B41ADD
	.word	0x2C3E4B8A
	.word	0x68252C2C
	.word	0x49EB13C8
	.word	0x69B1574B
	.word	0x301D345B
	.word	0x48072436
	.word	0x7D240F6C
	.word	0x4B9E630D
	.word	0x315835AC
	.word	0x4C5C6E46
	.word	0x2A9D28EB
	.word	0x160B54B5
	.word	0x4CB82C7A
	.word	0x277C273D
	.word	0x62553F42
	.word	0x38796654
	.word	0x02D41BA1
	.word	0x326C4B38
	.word	0x08D75908
	.word	0x07D068F3
	.word	0x658D0B55
	.word	0x165B610F
	.word	0x5CBB7BF1
	.word	0x7FE8281A
	.word	0x758F58A9
	.word	0x262615D8
	.word	0x2C24744D
	.word	0x35033D4B
	.word	0x2FD4750B
	.word	0x67D64863
	.word	0x3A410C89
	.word	0x754F5385
	.word	0x4B2215C4
	.word	0x4E1F04BE
	.word	0x54CF34AB
	.word	0x1A665AC4
	.word	0x258B537A
	.word	0x21E06FB0
	.word	0x199319D7
	.word	0x0ACF2B7D
	.word	0x61EA39AF
	.word	0x1BA82240
	.word	0x6BE22DCF
	.word	0x6B7D1A25
	.word	0x356A4642
	.word	0x2D2D752D
	.word	0x1A1B1E6D
	.word	0x014D7AA9
	.word	0x650158EB
	.word	0x7AD53C76
	.word	0x33293D29
	.word	0x428B13F6
	.word	0x72EF12C1
	.word	0x053072D1
	.word	0x0C045697
	.word	0x186B0370
	.word	0x7C4225B6
	.word	0x02795536
	.word	0x752F79E8
	.word	0x5092107C
	.word	0x46531417
	.word	0x681A6E53
	.word	0x203A3066
	.word	0x3E8D6FF9
	.word	0x7C47600F
	.word	0x24271217
	.word	0x353F24FB
	.word	0x0D5677C0
	.word	0x1C912B23
	.word	0x06E0492A
	.word	0x18663BA9
	.word	0x40D4422A
	.word	0x166D45B5
	.word	0x5C322C71
	.word	0x5F641910
	.word	0x675A4189
	.word	0x17652E83
	.word	0x3535308D
	.word	0x76F619ED
	.word	0x7B2543AB
	.word	0x08CE0227
	.word	0x61AD615B
	.word	0x78683A98
	.word	0x73E0655C
	.word	0x3D4A5A97
	.word	0x198B0D73
	.word	0x2F126E84
	.word	0x082175E3
	.word	0x4E451EA4
	.word	0x566B61AB
	.word	0x4DD767C0
	.word	0x1EEC4A82
	.word	0x297A417D
	.word	0x5D157493
	.word	0x54A74E7A
	.word	0x712D01F8
	.word	0x4E6D722C
	.word	0x76FE41F8
	.word	0x25FC6878
	.word	0x5B403801
	.word	0x3BF03B15
	.word	0x5BC71664
	.word	0x4C5F30A0
	.word	0x5E6C28D2
	.word	0x0DA1117C
	.word	0x4ABB6A9A
	.word	0x6FE25E70
	.word	0x526144A0
	.word	0x496854FE
	.word	0x54532F1D
	.word	0x7BA55D84
	.word	0x46BF3318
	.word	0x5CFC3F15
	.word	0x53B407A8
	.word	0x73533515
	.word	0x149046E6
	.word	0x4B5D4296
	.word	0x182D76B4
	.word	0x78A55F75
	.word	0x1FCA6131
	.word	0x0A595B34
	.word	0x3EBB78F8
	.word	0x00DC1196
	.word	0x48D0451B
	.word	0x10094CFD
	.word	0x3B8710E2
	.word	0x3A487283
	.word	0x0DF15B43
	.word	0x105353DA
	.word	0x13644221
	.word	0x21C642E4
	.word	0x5CE66545
	.word	0x6A684311
	.word	0x45547D1D
	.word	0x483C747C
	.word	0x14562137
	.word	0x464614C5
	.word	0x64037A7B
	.word	0x481D31AD
	.word	0x35535D2B
	.word	0x62356973
	.word	0x5F48069C
	.word	0x6AE954F0
	.word	0x44DC7AB2
	.word	0x104B7774
	.word	0x7DA93D1C
	.word	0x7EAC505F
	.word	0x5D5A6255
	.word	0x63EA6A7F
	.word	0x05D53456
	.word	0x5B7C052D
	.word	0x7026671B
	.word	0x0F3E3326
	.word	0x182A18DC
	.word	0x18FD0B2A
	.word	0x37001A08
	.word	0x70C24657
	.word	0x382F3901
	.word	0x73DF6842
	.word	0x55970D9A
	.word	0x50BA4CDA
	.word	0x06190052
	.word	0x635C37FD
	.word	0x2B06094D
	.word	0x4EB942D7
	.word	0x28486316
	.word	0x5EBD42FF
	.word	0x53532D17
	.word	0x7F1B0750
	.word	0x64C939D4
	.word	0x52D50687
	.word	0x58F004EA
	.word	0x388A5BA1
	.word	0x6AD40CCB
	.word	0x47822BF2
	.word	0x163B0C36
	.word	0x117A5305
	.word	0x4C4D4F79
	.word	0x35307037
	.word	0x47002166
	.word	0x0DAF3212
	.word	0x27450C17
	.word	0x0A587B6A
	.word	0x49F46961
	.word	0x7BB43E3A
	.word	0x7F787F19
	.word	0x60FB283C
	.word	0x123A2309
	.word	0x02637D4A
	.word	0x47CE22B0
	.word	0x642A3B77
	.word	0x48E06ABD
	.word	0x5E6264EC
	.word	0x1BDD2A4A
	.word	0x65800B84
	.word	0x1E616DD9
	.word	0x4FA27A27
	.word	0x29636E0F
	.word	0x22A417E7
	.word	0x4C220E32
	.word	0x36E160DC
	.word	0x49CE4664
	.word	0x3AC910C0
	.word	0x45F7759D
	.word	0x63275B49
	.word	0x4BB6576A
	.word	0x542F4E4A
	.word	0x1B9E1967
	.word	0x0F4B3988
	.word	0x6C604C7D
	.word	0x71A2385D
	.word	0x0A402DDC
	.word	0x0F6C390F
	.word	0x013B03B7
	.word	0x77F91DEE
	.word	0x3DF509C2
	.word	0x2E7A542F
	.word	0x5164296D
	.word	0x63967C8B
	.word	0x433F79DD
	.word	0x3BAD0197
	.word	0x1F2443AF
	.word	0x2DEA37E2
	.word	0x288C046C
	.word	0x480B63D0
	.word	0x616F2DCA
	.word	0x62F04139
	.word	0x4FB61CA8
	.word	0x13E568C1
	.word	0x2D6503C7
	.word	0x66AF2EF5
	.word	0x6F85464A
	.word	0x2C58592A
	.word	0x4FD27DEC
	.word	0x6ABA4416
	.word	0x45292903
	.word	0x38CE582B
	.word	0x16B03C38
	.word	0x13B267B7
	.word	0x75C31403
	.word	0x787C52BD
	.word	0x4AA201E9
	.word	0x4EC10C91
	.word	0x1FDB7175
	.word	0x6FE35F35
	.word	0x587860F8
	.word	0x571E0876
	.word	0x1CE92A00
	.word	0x46510CC6
	.word	0x2AB05599
	.word	0x6B8E5BD8
	.word	0x72CE7846
	.word	0x536022FE
	.word	0x32F151BD
	.word	0x33DF6942
	.word	0x755A2C66
	.word	0x5C745146
	.word	0x23903892
	.word	0x566D1CDC
	.word	0x17C65F7B
	.word	0x02404E64
	.word	0x590D4A00
	.word	0x3D9F03E9
	.word	0x6E3A171D
	.word	0x5E3F67FA
	.word	0x73957E2C
	.word	0x0D68544A
	.word	0x5F4658DD
	.word	0x503D0207
	.word	0x208050F6
	.word	0x48C963FA
	.word	0x056A2DCB
	.word	0x7BCD0663
	.word	0x13D27D7D
	.word	0x274C1092
	.word	0x409115F2
	.word	0x75D24445
	.word	0x31BC2998
	.word	0x1A8816C5
	.word	0x778F6BD9
	.word	0x21F93FBF
	.word	0x681A015C
	.word	0x03A259E3
	.word	0x09A93802
	.word	0x403C713E
	.word	0x37F4429B
	.word	0x18C81B58
	.word	0x700B746C
	.word	0x2A5F750D
	.word	0x6F003861
	.word	0x7AB6222C
	.word	0x0F524012
	.word	0x41732AD1
	.word	0x111C2678
	.word	0x7A335282
	.word	0x3902026C
	.word	0x0B58450C
	.word	0x71D624E3
	.word	0x0D93351C
	.word	0x5D0E7EEB
	.word	0x0035489C
	.word	0x7DE76B64
	.word	0x76356ED3
	.word	0x6B55587F
	.word	0x08007C3B
	.word	0x34B10CF8
	.word	0x16042821
	.word	0x65210513
	.word	0x27FB47FF
	.word	0x51C62358
	.word	0x74F76499
	.word	0x1EA9310D
	.word	0x603204DA
	.word	0x26636A78
	.word	0x76934A6C
	.word	0x308E12D1
	.word	0x39003C19
	.word	0x22EE4C09
	.word	0x3F6659E4
	.word	0x195F2E3E
	.word	0x008956E6
	.word	0x107E5AF9
	.word	0x4A8C14EA
	.word	0x0F17082D
	.word	0x38403DC8
	.word	0x7A523EF0
	.word	0x2F2D1682
	.word	0x009C49F6
	.word	0x32616820
	.word	0x47570FD2
	.word	0x15FB1A4B
	.word	0x474054ED
	.word	0x5F755BAC
	.word	0x03A42142
	.word	0x5EB57402
	.word	0x084245DF
	.word	0x4BD31C05
	.word	0x59FF3E1B
	.word	0x75A876FE
	.word	0x464C6898
	.word	0x4D1B0A23
	.word	0x3D5853F7
	.word	0x592B4DB4
	.word	0x22F51B5E
	.word	0x5FBC33D6
	.word	0x424A0EAB
	.word	0x4F214132
	.word	0x503E2275
	.word	0x346D134D
	.word	0x289F63C7
	.word	0x4A7970A5
	.word	0x32166B9B
	.word	0x6DB53E91
	.word	0x14CB0E18
	.word	0x00B078D6
	.word	0x2FD8418B
	.word	0x0D650708
	.word	0x796F7927
	.word	0x2F4B0BA7
	.word	0x35CA6F7D
	.word	0x121B08F5
	.word	0x30D61CB9
	.word	0x115F7798
	.word	0x669E54A2
	.word	0x44BF2AF4
	.word	0x4678484F
	.word	0x050B1F46
	.word	0x7CF267AA
	.word	0x36070D81
	.word	0x707C5EA6
	.word	0x60FA60E9
	.word	0x5CD22A40
	.word	0x6BF56A70
	.word	0x392F0137
	.word	0x79E46DD3
	.word	0x55330C8A
	.word	0x3F566474
	.word	0x58912BB6
	.word	0x580C11F6
	.word	0x117840AC
	.word	0x6943469B
	.word	0x3DC73F94
	.word	0x1CC16B5D
	.word	0x3AF07E44
	.word	0x40A133CD
	.word	0x48A77F7F
	.word	0x17DF11AF
	.word	0x4A5335ED
	.word	0x27A34653
	.word	0x33327ADE
	.word	0x0D4E2DB1
	.word	0x094A34BF
	.word	0x29451F4C
	.word	0x2B136958
	.word	0x2A8000C3
	.word	0x43E637CB
	.word	0x46D16637
	.word	0x1B23764D
	.word	0x2BF55C61
	.word	0x2A256FA1
	.word	0x755C386E
	.word	0x24E77C59
	.word	0x32B809A1
	.word	0x617373CC
	.word	0x4B4708A7
	.word	0x4A0E30D6
	.word	0x49E120B9
	.word	0x46252652
	.word	0x5DC16E74
	.word	0x45F63F58
	.word	0x1C135078
	.word	0x5CFE0737
	.word	0x4E4165C2
	.word	0x17255531
	.word	0x58FE15CA
	.word	0x74AC77F9
	.word	0x080F7E5C
	.word	0x38D21CED
	.word	0x4ADC6337
	.word	0x77496F13
	.word	0x2DBA7B67
	.word	0x0C5C29D5
	.word	0x1BF53862
	.word	0x6BDD1B7D
	.word	0x36A062E5
	.word	0x72D0536F
	.word	0x4C1E298C
	.word	0x27D87828
	.word	0x3C6C7D34
	.word	0x166500FA
	.word	0x56345710
	.word	0x309B4F84
	.word	0x7891448E
	.word	0x640164F3
	.word	0x05A354E7
	.word	0x4CEE2EFC
	.word	0x71D24488
	.word	0x34B42895
	.word	0x7BE30224
	.word	0x46894A76
	.word	0x59BC6996
	.word	0x27390753
	.word	0x65F75078
	.word	0x5B8E4FD6
	.word	0x1A294083
	.word	0x297B5A5E
	.word	0x61EF7BAD
	.word	0x600B2A7A
	.word	0x12BC25FC
	.word	0x320C1424
	.word	0x1465312C
	.word	0x0F7A36BD
	.word	0x06696604
	.word	0x29AD2BCC
	.word	0x6E022778
	.word	0x0E426576
	.word	0x38ED4B7F
	.word	0x04CB78BD
	.word	0x20F825B2
	.word	0x1B364F79
	.word	0x3C501FAA
	.word	0x0CFE7E16
	.word	0x46877B16
	.word	0x71133913
	.word	0x6E68199E
	.word	0x5A8A2636
	.word	0x347B667B
	.word	0x5804058F
	.word	0x26563DD3
	.word	0x7DE06E33
	.word	0x02AA6DD6
	.word	0x67201AB6
	.word	0x12092D99
	.word	0x591C0165
	.word	0x407825B5
	.word	0x75E93448
	.word	0x43B9669F
	.word	0x298744DB
	.word	0x5A5568C5
	.word	0x3DCC2786
	.word	0x6F6B726E
	.word	0x411452E2
	.word	0x2F3B7F4E
	.word	0x2BA616AA
	.word	0x587205EC
	.word	0x6FE56683
	.word	0x563336B4
	.word	0x613B146C
	.word	0x6EE910DB
	.word	0x1DC53703
	.word	0x13CF68F7
	.word	0x66BE377D
	.word	0x1D3C3D5A
	.word	0x13AD4363
	.word	0x7FAF7432
	.word	0x0C4E1E0D
	.word	0x459F5F61
	.word	0x75420DE0
	.word	0x59FF221D
	.word	0x7B756147
	.word	0x6F935447
	.word	0x6A534772
	.word	0x10F57F8C
	.word	0x78AA78D1
	.word	0x2566523E
	.word	0x785D6B4F
	.word	0x765623F0
	.word	0x54CE0E4F
	.word	0x01B127D3
	.word	0x0C094A67
	.word	0x24EF68D3
	.word	0x0EB140DF
	.word	0x6CDA6B71
	.word	0x32AB06E7
	.word	0x161E115F
	.word	0x248C589C
	.word	0x0A931ADD
	.word	0x03C37FB9
	.word	0x674961D6
	.word	0x15866A1D
	.word	0x57572AB9
	.word	0x3A7D2C01
	.word	0x4F632719
	.word	0x133169F5
	.word	0x75F10603
	.word	0x7F33669F
	.word	0x446D2E23
	.word	0x630C3033
	.word	0x2CF67D96
	.word	0x60E829B1
	.word	0x50F02B8C
	/****************************************************************
	                           DMA TEST #1.36
	 ****************************************************************/
	ori	$1,	$0,	0x0024		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F80
	lui	$12,	0x2200			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0077

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk36:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk36		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x7001			/* load random number	*/
	ori	$9,	$9,	0x6BE2
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x0074		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.37
	 ****************************************************************/
	ori	$1,	$0,	0x0025		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F88
	lui	$12,	0x4200			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0077

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk37:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk37		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1448			/* load random number	*/
	ori	$9,	$9,	0x27A5
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x0074		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.38
	 ****************************************************************/
	ori	$1,	$0,	0x0026		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F80		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F90
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0077

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk38:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk38		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x7ECD			/* load random number	*/
	ori	$9,	$9,	0x3A10
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x0074		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.39
	 ****************************************************************/
	ori	$1,	$0,	0x0027		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F88		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x0077

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0078		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk39:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk39		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1986			/* load random number	*/
	ori	$9,	$9,	0x1309
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x0074		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.40
	 ****************************************************************/
	ori	$1,	$0,	0x0028		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2778
	lui	$12,	0x0080			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk40:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk40		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x0BE6			/* load random number	*/
	ori	$9,	$9,	0x0688
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.41
	 ****************************************************************/
	ori	$1,	$0,	0x0029		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2780
	lui	$12,	0x0100			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk41:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk41		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x7294			/* load random number	*/
	ori	$9,	$9,	0x2F45
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.42
	 ****************************************************************/
	ori	$1,	$0,	0x002A		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0778		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2788
	lui	$12,	0x0180			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk42:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk42		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x61BD			/* load random number	*/
	ori	$9,	$9,	0x42D0
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.43
	 ****************************************************************/
	ori	$1,	$0,	0x002B		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0780		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27E8
	lui	$12,	0x0200			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk43:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk43		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1250			/* load random number	*/
	ori	$9,	$9,	0x5EE9
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.44
	 ****************************************************************/
	ori	$1,	$0,	0x002C		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0788		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F0
	lui	$12,	0x0280			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk44:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk44		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x60FF			/* load random number	*/
	ori	$9,	$9,	0x77A9
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.45
	 ****************************************************************/
	ori	$1,	$0,	0x002D		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07E8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F8
	lui	$12,	0x0300			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk45:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk45		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x4AD3			/* load random number	*/
	ori	$9,	$9,	0x13E2
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.46
	 ****************************************************************/
	ori	$1,	$0,	0x002E		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x0380			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk46:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk46		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x05C3			/* load random number	*/
	ori	$9,	$9,	0x60C3
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.47
	 ****************************************************************/
	ori	$1,	$0,	0x002F		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0x0400			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk47:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk47		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x647F			/* load random number	*/
	ori	$9,	$9,	0x4798
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.48
	 ****************************************************************/
	ori	$1,	$0,	0x0030		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F78
	lui	$12,	0x0480			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk48:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk48		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1378			/* load random number	*/
	ori	$9,	$9,	0x0842
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.49
	 ****************************************************************/
	ori	$1,	$0,	0x0031		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F80
	lui	$12,	0x0500			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk49:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk49		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x19CB			/* load random number	*/
	ori	$9,	$9,	0x58C6
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.50
	 ****************************************************************/
	ori	$1,	$0,	0x0032		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F78		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F88
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk50:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk50		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1391			/* load random number	*/
	ori	$9,	$9,	0x1DF5
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.51
	 ****************************************************************/
	ori	$1,	$0,	0x0033		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F80		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk51:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk51		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x03CE			/* load random number	*/
	ori	$9,	$9,	0x6B1D
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.52
	 ****************************************************************/
	ori	$1,	$0,	0x0034		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2770
	lui	$12,	0x0580			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk52:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk52		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x12ED			/* load random number	*/
	ori	$9,	$9,	0x0651
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.53
	 ****************************************************************/
	ori	$1,	$0,	0x0035		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2778
	lui	$12,	0x0600			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk53:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk53		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x438C			/* load random number	*/
	ori	$9,	$9,	0x2498
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.54
	 ****************************************************************/
	ori	$1,	$0,	0x0036		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0770		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2780
	lui	$12,	0x0680			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk54:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk54		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x4A08			/* load random number	*/
	ori	$9,	$9,	0x5D2F
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.55
	 ****************************************************************/
	ori	$1,	$0,	0x0037		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0778		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27E8
	lui	$12,	0x0700			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk55:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk55		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x7404			/* load random number	*/
	ori	$9,	$9,	0x649D
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.56
	 ****************************************************************/
	ori	$1,	$0,	0x0038		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0780		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F0
	lui	$12,	0x0780			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk56:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk56		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1BE4			/* load random number	*/
	ori	$9,	$9,	0x684A
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.57
	 ****************************************************************/
	ori	$1,	$0,	0x0039		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07E8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x27F8
	lui	$12,	0x0800			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk57:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk57		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x30F5			/* load random number	*/
	ori	$9,	$9,	0x50D9
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.58
	 ****************************************************************/
	ori	$1,	$0,	0x003A		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x0880			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk58:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk58		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x17B5			/* load random number	*/
	ori	$9,	$9,	0x3576
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.59
	 ****************************************************************/
	ori	$1,	$0,	0x003B		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0x0900			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk59:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk59		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x3E74			/* load random number	*/
	ori	$9,	$9,	0x53D8
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.60
	 ****************************************************************/
	ori	$1,	$0,	0x003C		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0800		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F70
	lui	$12,	0x0980			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk60:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk60		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x694F			/* load random number	*/
	ori	$9,	$9,	0x60A1
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.61
	 ****************************************************************/
	ori	$1,	$0,	0x003D		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0808		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F78
	lui	$12,	0x0A00			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk61:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk61		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1D2F			/* load random number	*/
	ori	$9,	$9,	0x6967
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.62
	 ****************************************************************/
	ori	$1,	$0,	0x003E		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F70		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2F80
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk62:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk62		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x6450			/* load random number	*/
	ori	$9,	$9,	0x3D8B
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.63
	 ****************************************************************/
	ori	$1,	$0,	0x003F		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0F78		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x007F

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0080		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk63:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk63		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x177E			/* load random number	*/
	ori	$9,	$9,	0x54AA
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x007C		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.64
	 ****************************************************************/
	ori	$1,	$0,	0x0040		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x0A80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07F7

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x07F8		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk64:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk64		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x160D			/* load random number	*/
	ori	$9,	$9,	0x6145
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07F4		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.65
	 ****************************************************************/
	ori	$1,	$0,	0x0041		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0x0B00			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07F7

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x07F8		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk65:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk65		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x132F			/* load random number	*/
	ori	$9,	$9,	0x1BFC
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07F4		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.66
	 ****************************************************************/
	ori	$1,	$0,	0x0042		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0010		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2810
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07F7

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x07F8		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk66:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk66		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x0A3D			/* load random number	*/
	ori	$9,	$9,	0x476B
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07F4		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.67
	 ****************************************************************/
	ori	$1,	$0,	0x0043		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F0		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF0
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07F7

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x07F8		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk67:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk67		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x340E			/* load random number	*/
	ori	$9,	$9,	0x6689
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07F4		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.68
	 ****************************************************************/
	ori	$1,	$0,	0x0044		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x07F8		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2FF8
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07F7

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x07F8		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk68:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk68		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x2E67			/* load random number	*/
	ori	$9,	$9,	0x0F20
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07F4		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.69
	 ****************************************************************/
	ori	$1,	$0,	0x0045		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0000		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2800
	lui	$12,	0x0C00			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07FF

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0800		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk69:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk69		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x1B36			/* load random number	*/
	ori	$9,	$9,	0x17AD
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07FC		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	                           DMA TEST #1.70
	 ****************************************************************/
	ori	$1,	$0,	0x0046		/* R1  = TEST ID   	*/
	ori	$2,	$0,	0x0004		/* R2  = 4		*/
	ori	$10,	$0,	0x0008		/* R10 = DMEM ADDRESS	*/
	lui	$11,	0x0000			/* R11 = DRAM ADDRESS	*/
	ori	$11,	$11,	0x2808
	lui	$12,	0xFF80			/* R12 = READ DMA LEN	*/
	ori	$12,	$12,	0x07FF

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

	or	$4,	$11,	$0		/* Init expected data	*/
	ori	$3,	$0,	0x0800		/* len of data (bytes)	*/
	ori	$6,	$10,	0x0000		/* copy DMEM address	*/
Chk70:	lw	$5,	0x0000 ($6)		/* read test data	*/
	bne	$5,	$4,	Fail		/* verify data		*/
	add	$4,	$4,	$2		/* predict next data	*/
	add	$6,	$6,	$2		/* advance DMEM ptr	*/
	sub	$3,	$3,	$2		/* decrement counter	*/
	bne	$3,	$0,	Chk70		/* check if done	*/

	/* Mess up DMEM before reading data back */
	lui	$9,	0x000D			/* load random number	*/
	ori	$9,	$9,	0x0BCE
	or	$6,	$10,	$0		/* copy DMEM address	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM	*/
	addi	$6,	$6,	0x07FC		/* goto end of DMEM	*/
	sw	$9,	0x0000 ($6)		/* mess-up DMEM again	*/

	/****************************************************************
	  Wrap up ...
	 ****************************************************************/
	nop					
Done:	ori	$1,	$0,	0xFEED		/* Test passed		*/
	break

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

Fail:	break