;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0xa598
lri $IX1,    #0x83b2
lri $WR1,    #0xc1ac
cw 0x15
call send_back  ; 40852 (0x9f94)

lri $AR1,    #0x4fcb
lri $IX1,    #0x83b2
lri $WR1,    #0xa2ae
cw 0x15
call send_back  ; 40853 (0x9f95)

lri $AR1,    #0xb2d3
lri $IX1,    #0x76d4
lri $WR1,    #0xa5c1
cw 0x15
call send_back  ; 40854 (0x9f96)

lri $AR1,    #0xcb68
lri $IX1,    #0xc690
lri $WR1,    #0x5249
cw 0x15
call send_back  ; 40855 (0x9f97)

lri $AR1,    #0x3439
lri $IX1,    #0xcb8e
lri $WR1,    #0x8d56
cw 0x15
call send_back  ; 40856 (0x9f98)

lri $AR1,    #0x73a0
lri $IX1,    #0x819a
lri $WR1,    #0x3e22
cw 0x15
call send_back  ; 40857 (0x9f99)

lri $AR1,    #0x7632
lri $IX1,    #0x3c66
lri $WR1,    #0x20c3
cw 0x15
call send_back  ; 40858 (0x9f9a)

lri $AR1,    #0xafdd
lri $IX1,    #0xf4ba
lri $WR1,    #0xae48
cw 0x15
call send_back  ; 40859 (0x9f9b)

lri $AR1,    #0x44ff
lri $IX1,    #0xa24a
lri $WR1,    #0x16a8
cw 0x15
call send_back  ; 40860 (0x9f9c)

lri $AR1,    #0x5836
lri $IX1,    #0xfed4
lri $WR1,    #0x82b5
cw 0x15
call send_back  ; 40861 (0x9f9d)

lri $AR1,    #0x893f
lri $IX1,    #0x23ce
lri $WR1,    #0x1190
cw 0x15
call send_back  ; 40862 (0x9f9e)

lri $AR1,    #0x34b5
lri $IX1,    #0xd43a
lri $WR1,    #0xa6b2
cw 0x15
call send_back  ; 40863 (0x9f9f)

lri $AR1,    #0x7bf9
lri $IX1,    #0x10e2
lri $WR1,    #0x831e
cw 0x15
call send_back  ; 40864 (0x9fa0)

lri $AR1,    #0x6820
lri $IX1,    #0xeda8
lri $WR1,    #0xadc6
cw 0x15
call send_back  ; 40865 (0x9fa1)

lri $AR1,    #0x7a25
lri $IX1,    #0xa30e
lri $WR1,    #0xbcb3
cw 0x15
call send_back  ; 40866 (0x9fa2)

lri $AR1,    #0x8e41
lri $IX1,    #0xa7bc
lri $WR1,    #0x8212
cw 0x15
call send_back  ; 40867 (0x9fa3)

lri $AR1,    #0x7faf
lri $IX1,    #0x5a20
lri $WR1,    #0x5592
cw 0x15
call send_back  ; 40868 (0x9fa4)

lri $AR1,    #0xd5ac
lri $IX1,    #0x8ae8
lri $WR1,    #0x8c48
cw 0x15
call send_back  ; 40869 (0x9fa5)

lri $AR1,    #0xd205
lri $IX1,    #0x2d72
lri $WR1,    #0x8e8f
cw 0x15
call send_back  ; 40870 (0x9fa6)

lri $AR1,    #0x5d08
lri $IX1,    #0xb3f6
lri $WR1,    #0x3d08
cw 0x15
call send_back  ; 40871 (0x9fa7)

lri $AR1,    #0x621d
lri $IX1,    #0x4994
lri $WR1,    #0x5b32
cw 0x15
call send_back  ; 40872 (0x9fa8)

lri $AR1,    #0x1bdd
lri $IX1,    #0x54f0
lri $WR1,    #0x5fca
cw 0x15
call send_back  ; 40873 (0x9fa9)

lri $AR1,    #0x6dfb
lri $IX1,    #0x928e
lri $WR1,    #0xb860
cw 0x15
call send_back  ; 40874 (0x9faa)

lri $AR1,    #0x9ecc
lri $IX1,    #0xc6a6
lri $WR1,    #0x9f4b
cw 0x15
call send_back  ; 40875 (0x9fab)

lri $AR1,    #0x69ba
lri $IX1,    #0xa294
lri $WR1,    #0x7884
cw 0x15
call send_back  ; 40876 (0x9fac)

lri $AR1,    #0xdf6e
lri $IX1,    #0x22a0
lri $WR1,    #0xa371
cw 0x15
call send_back  ; 40877 (0x9fad)

lri $AR1,    #0x3817
lri $IX1,    #0x7d40
lri $WR1,    #0x2d39
cw 0x15
call send_back  ; 40878 (0x9fae)

lri $AR1,    #0x7f85
lri $IX1,    #0xdd94
lri $WR1,    #0xb0b0
cw 0x15
call send_back  ; 40879 (0x9faf)

lri $AR1,    #0xba74
lri $IX1,    #0xaf42
lri $WR1,    #0xd66a
cw 0x15
call send_back  ; 40880 (0x9fb0)

lri $AR1,    #0xafd5
lri $IX1,    #0x5a62
lri $WR1,    #0x30f9
cw 0x15
call send_back  ; 40881 (0x9fb1)

lri $AR1,    #0xc065
lri $IX1,    #0x12a8
lri $WR1,    #0x7f04
cw 0x15
call send_back  ; 40882 (0x9fb2)

lri $AR1,    #0x8a63
lri $IX1,    #0xed8a
lri $WR1,    #0x8e1f
cw 0x15
call send_back  ; 40883 (0x9fb3)

lri $AR1,    #0x5eb2
lri $IX1,    #0xef84
lri $WR1,    #0xef18
cw 0x15
call send_back  ; 40884 (0x9fb4)

lri $AR1,    #0xa83d
lri $IX1,    #0x4928
lri $WR1,    #0x45ba
cw 0x15
call send_back  ; 40885 (0x9fb5)

lri $AR1,    #0xb5e6
lri $IX1,    #0xb134
lri $WR1,    #0x9b86
cw 0x15
call send_back  ; 40886 (0x9fb6)

lri $AR1,    #0x3acd
lri $IX1,    #0xc962
lri $WR1,    #0x9e98
cw 0x15
call send_back  ; 40887 (0x9fb7)

lri $AR1,    #0xb051
lri $IX1,    #0xe80a
lri $WR1,    #0x7b21
cw 0x15
call send_back  ; 40888 (0x9fb8)

lri $AR1,    #0x708d
lri $IX1,    #0x996a
lri $WR1,    #0x679e
cw 0x15
call send_back  ; 40889 (0x9fb9)

lri $AR1,    #0x3f95
lri $IX1,    #0xcf96
lri $WR1,    #0x695a
cw 0x15
call send_back  ; 40890 (0x9fba)

lri $AR1,    #0x6d63
lri $IX1,    #0x28f4
lri $WR1,    #0xa835
cw 0x15
call send_back  ; 40891 (0x9fbb)

lri $AR1,    #0x21a9
lri $IX1,    #0x114e
lri $WR1,    #0xbe69
cw 0x15
call send_back  ; 40892 (0x9fbc)

lri $AR1,    #0x9e5e
lri $IX1,    #0xea2c
lri $WR1,    #0xaa2d
cw 0x15
call send_back  ; 40893 (0x9fbd)

lri $AR1,    #0x3564
lri $IX1,    #0xfbcc
lri $WR1,    #0x44f2
cw 0x15
call send_back  ; 40894 (0x9fbe)

lri $AR1,    #0x3100
lri $IX1,    #0xd02c
lri $WR1,    #0xc528
cw 0x15
call send_back  ; 40895 (0x9fbf)

lri $AR1,    #0x6687
lri $IX1,    #0xe68c
lri $WR1,    #0xb530
cw 0x15
call send_back  ; 40896 (0x9fc0)

lri $AR1,    #0x7606
lri $IX1,    #0x85f8
lri $WR1,    #0xd383
cw 0x15
call send_back  ; 40897 (0x9fc1)

lri $AR1,    #0xb93e
lri $IX1,    #0xfa18
lri $WR1,    #0x5d9b
cw 0x15
call send_back  ; 40898 (0x9fc2)

lri $AR1,    #0x77b2
lri $IX1,    #0xd5f4
lri $WR1,    #0xb8b9
cw 0x15
call send_back  ; 40899 (0x9fc3)

lri $AR1,    #0x7d31
lri $IX1,    #0x14ce
lri $WR1,    #0x210e
cw 0x15
call send_back  ; 40900 (0x9fc4)

lri $AR1,    #0x8b91
lri $IX1,    #0x39de
lri $WR1,    #0xe154
cw 0x15
call send_back  ; 40901 (0x9fc5)

lri $AR1,    #0xb004
lri $IX1,    #0x0408
lri $WR1,    #0x7276
cw 0x15
call send_back  ; 40902 (0x9fc6)

lri $AR1,    #0xa7c2
lri $IX1,    #0x0b42
lri $WR1,    #0xa44b
cw 0x15
call send_back  ; 40903 (0x9fc7)

lri $AR1,    #0x9766
lri $IX1,    #0xc9e2
lri $WR1,    #0x75f2
cw 0x15
call send_back  ; 40904 (0x9fc8)

lri $AR1,    #0xc3c3
lri $IX1,    #0x4c78
lri $WR1,    #0x6def
cw 0x15
call send_back  ; 40905 (0x9fc9)

lri $AR1,    #0x9a91
lri $IX1,    #0x276e
lri $WR1,    #0x6f81
cw 0x15
call send_back  ; 40906 (0x9fca)

lri $AR1,    #0x8cb1
lri $IX1,    #0x8216
lri $WR1,    #0x1c56
cw 0x15
call send_back  ; 40907 (0x9fcb)

lri $AR1,    #0x635b
lri $IX1,    #0x2362
lri $WR1,    #0x2724
cw 0x15
call send_back  ; 40908 (0x9fcc)

lri $AR1,    #0xb518
lri $IX1,    #0x94ea
lri $WR1,    #0x7539
cw 0x15
call send_back  ; 40909 (0x9fcd)

lri $AR1,    #0x4eb7
lri $IX1,    #0xc564
lri $WR1,    #0x6a8d
cw 0x15
call send_back  ; 40910 (0x9fce)

lri $AR1,    #0xa835
lri $IX1,    #0x3472
lri $WR1,    #0x9d6b
cw 0x15
call send_back  ; 40911 (0x9fcf)

lri $AR1,    #0x34c0
lri $IX1,    #0xbdae
lri $WR1,    #0x5442
cw 0x15
call send_back  ; 40912 (0x9fd0)

lri $AR1,    #0x68c5
lri $IX1,    #0xb1da
lri $WR1,    #0x79b0
cw 0x15
call send_back  ; 40913 (0x9fd1)

lri $AR1,    #0x9041
lri $IX1,    #0x3152
lri $WR1,    #0x8047
cw 0x15
call send_back  ; 40914 (0x9fd2)

lri $AR1,    #0x6341
lri $IX1,    #0xcb68
lri $WR1,    #0x6133
cw 0x15
call send_back  ; 40915 (0x9fd3)

lri $AR1,    #0x8dbb
lri $IX1,    #0x62ec
lri $WR1,    #0xd643
cw 0x15
call send_back  ; 40916 (0x9fd4)

lri $AR1,    #0x7bb5
lri $IX1,    #0x607c
lri $WR1,    #0x8967
cw 0x15
call send_back  ; 40917 (0x9fd5)

lri $AR1,    #0x89f1
lri $IX1,    #0x6fe0
lri $WR1,    #0x9130
cw 0x15
call send_back  ; 40918 (0x9fd6)

lri $AR1,    #0x1efb
lri $IX1,    #0x860a
lri $WR1,    #0x1370
cw 0x15
call send_back  ; 40919 (0x9fd7)

lri $AR1,    #0x87ea
lri $IX1,    #0xda0c
lri $WR1,    #0xac78
cw 0x15
call send_back  ; 40920 (0x9fd8)

lri $AR1,    #0x1f8d
lri $IX1,    #0xf38a
lri $WR1,    #0x230d
cw 0x15
call send_back  ; 40921 (0x9fd9)

lri $AR1,    #0xa680
lri $IX1,    #0x1604
lri $WR1,    #0x5ea6
cw 0x15
call send_back  ; 40922 (0x9fda)

lri $AR1,    #0xa5c5
lri $IX1,    #0x4078
lri $WR1,    #0x66fc
cw 0x15
call send_back  ; 40923 (0x9fdb)

lri $AR1,    #0x9d62
lri $IX1,    #0xd5c6
lri $WR1,    #0xc987
cw 0x15
call send_back  ; 40924 (0x9fdc)

lri $AR1,    #0x7baa
lri $IX1,    #0xea46
lri $WR1,    #0xfae6
cw 0x15
call send_back  ; 40925 (0x9fdd)

lri $AR1,    #0xc9a0
lri $IX1,    #0x47f8
lri $WR1,    #0x87da
cw 0x15
call send_back  ; 40926 (0x9fde)

lri $AR1,    #0x7c36
lri $IX1,    #0x9ad8
lri $WR1,    #0x8ac7
cw 0x15
call send_back  ; 40927 (0x9fdf)

lri $AR1,    #0xd1b3
lri $IX1,    #0x039a
lri $WR1,    #0xc06f
cw 0x15
call send_back  ; 40928 (0x9fe0)

lri $AR1,    #0xee1f
lri $IX1,    #0xa778
lri $WR1,    #0x1fd1
cw 0x15
call send_back  ; 40929 (0x9fe1)

lri $AR1,    #0x68fe
lri $IX1,    #0xd840
lri $WR1,    #0x66d8
cw 0x15
call send_back  ; 40930 (0x9fe2)

lri $AR1,    #0x921f
lri $IX1,    #0x4056
lri $WR1,    #0x7edb
cw 0x15
call send_back  ; 40931 (0x9fe3)

lri $AR1,    #0xbae2
lri $IX1,    #0x3ad0
lri $WR1,    #0xd188
cw 0x15
call send_back  ; 40932 (0x9fe4)

lri $AR1,    #0xacba
lri $IX1,    #0x4874
lri $WR1,    #0x8042
cw 0x15
call send_back  ; 40933 (0x9fe5)

lri $AR1,    #0x853a
lri $IX1,    #0x86aa
lri $WR1,    #0x4d83
cw 0x15
call send_back  ; 40934 (0x9fe6)

lri $AR1,    #0x5387
lri $IX1,    #0x4e28
lri $WR1,    #0xc958
cw 0x15
call send_back  ; 40935 (0x9fe7)

lri $AR1,    #0x6a6d
lri $IX1,    #0xcb76
lri $WR1,    #0xd781
cw 0x15
call send_back  ; 40936 (0x9fe8)

lri $AR1,    #0x45fc
lri $IX1,    #0x9c12
lri $WR1,    #0x4f46
cw 0x15
call send_back  ; 40937 (0x9fe9)

lri $AR1,    #0x82ef
lri $IX1,    #0x5f48
lri $WR1,    #0xa297
cw 0x15
call send_back  ; 40938 (0x9fea)

lri $AR1,    #0x99b1
lri $IX1,    #0xda8e
lri $WR1,    #0x8b79
cw 0x15
call send_back  ; 40939 (0x9feb)

lri $AR1,    #0x364c
lri $IX1,    #0xed66
lri $WR1,    #0x9461
cw 0x15
call send_back  ; 40940 (0x9fec)

lri $AR1,    #0x8225
lri $IX1,    #0x39b2
lri $WR1,    #0xc983
cw 0x15
call send_back  ; 40941 (0x9fed)

lri $AR1,    #0x63b0
lri $IX1,    #0x3976
lri $WR1,    #0x5ea8
cw 0x15
call send_back  ; 40942 (0x9fee)

lri $AR1,    #0x7c12
lri $IX1,    #0x9bca
lri $WR1,    #0x768e
cw 0x15
call send_back  ; 40943 (0x9fef)

lri $AR1,    #0x61ed
lri $IX1,    #0x4f3e
lri $WR1,    #0xde88
cw 0x15
call send_back  ; 40944 (0x9ff0)

lri $AR1,    #0x2427
lri $IX1,    #0xb842
lri $WR1,    #0x5a38
cw 0x15
call send_back  ; 40945 (0x9ff1)

lri $AR1,    #0x5f05
lri $IX1,    #0x56d8
lri $WR1,    #0x691e
cw 0x15
call send_back  ; 40946 (0x9ff2)

lri $AR1,    #0x815c
lri $IX1,    #0xaf2e
lri $WR1,    #0xa101
cw 0x15
call send_back  ; 40947 (0x9ff3)

lri $AR1,    #0xa734
lri $IX1,    #0xc568
lri $WR1,    #0x2dac
cw 0x15
call send_back  ; 40948 (0x9ff4)

lri $AR1,    #0x8aaf
lri $IX1,    #0x0532
lri $WR1,    #0xa036
cw 0x15
call send_back  ; 40949 (0x9ff5)

lri $AR1,    #0x5b72
lri $IX1,    #0x2258
lri $WR1,    #0xd540
cw 0x15
call send_back  ; 40950 (0x9ff6)

lri $AR1,    #0xb076
lri $IX1,    #0x800c
lri $WR1,    #0xbb53
cw 0x15
call send_back  ; 40951 (0x9ff7)

lri $AR1,    #0x9f81
lri $IX1,    #0x1912
lri $WR1,    #0x87dd
cw 0x15
call send_back  ; 40952 (0x9ff8)

lri $AR1,    #0x3121
lri $IX1,    #0xdb7c
lri $WR1,    #0x52ed
cw 0x15
call send_back  ; 40953 (0x9ff9)

lri $AR1,    #0x4771
lri $IX1,    #0x0f2c
lri $WR1,    #0x7f26
cw 0x15
call send_back  ; 40954 (0x9ffa)

lri $AR1,    #0x8182
lri $IX1,    #0xcec4
lri $WR1,    #0xa51c
cw 0x15
call send_back  ; 40955 (0x9ffb)

lri $AR1,    #0x8cab
lri $IX1,    #0xf732
lri $WR1,    #0xce83
cw 0x15
call send_back  ; 40956 (0x9ffc)

lri $AR1,    #0x909a
lri $IX1,    #0x5aa0
lri $WR1,    #0x8761
cw 0x15
call send_back  ; 40957 (0x9ffd)

lri $AR1,    #0x5275
lri $IX1,    #0x97d0
lri $WR1,    #0x88c7
cw 0x15
call send_back  ; 40958 (0x9ffe)

lri $AR1,    #0x2ed8
lri $IX1,    #0xd7bc
lri $WR1,    #0xe210
cw 0x15
call send_back  ; 40959 (0x9fff)

lri $AR1,    #0x81fe
lri $IX1,    #0xff8c
lri $WR1,    #0xeb5b
cw 0x15
call send_back  ; 40960 (0xa000)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test