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

lri $AR1,    #0x87a5
lri $IX1,    #0x4c42
lri $WR1,    #0x1059
cw 0x15
call send_back  ; 49044 (0xbf94)

lri $AR1,    #0x8163
lri $IX1,    #0xc856
lri $WR1,    #0x9d99
cw 0x15
call send_back  ; 49045 (0xbf95)

lri $AR1,    #0x8a17
lri $IX1,    #0x706a
lri $WR1,    #0x3788
cw 0x15
call send_back  ; 49046 (0xbf96)

lri $AR1,    #0x8979
lri $IX1,    #0x6afc
lri $WR1,    #0x9c8c
cw 0x15
call send_back  ; 49047 (0xbf97)

lri $AR1,    #0x4d35
lri $IX1,    #0x45ae
lri $WR1,    #0x50b5
cw 0x15
call send_back  ; 49048 (0xbf98)

lri $AR1,    #0x96a9
lri $IX1,    #0xe94e
lri $WR1,    #0x823c
cw 0x15
call send_back  ; 49049 (0xbf99)

lri $AR1,    #0xd566
lri $IX1,    #0x8e8e
lri $WR1,    #0x9c3a
cw 0x15
call send_back  ; 49050 (0xbf9a)

lri $AR1,    #0x885d
lri $IX1,    #0x4b36
lri $WR1,    #0xeebb
cw 0x15
call send_back  ; 49051 (0xbf9b)

lri $AR1,    #0xa6ec
lri $IX1,    #0xabf8
lri $WR1,    #0x68b6
cw 0x15
call send_back  ; 49052 (0xbf9c)

lri $AR1,    #0xaeae
lri $IX1,    #0xb796
lri $WR1,    #0x9a00
cw 0x15
call send_back  ; 49053 (0xbf9d)

lri $AR1,    #0x6264
lri $IX1,    #0xcc84
lri $WR1,    #0x70b7
cw 0x15
call send_back  ; 49054 (0xbf9e)

lri $AR1,    #0x49a6
lri $IX1,    #0x2ac4
lri $WR1,    #0x4755
cw 0x15
call send_back  ; 49055 (0xbf9f)

lri $AR1,    #0x78d6
lri $IX1,    #0xc822
lri $WR1,    #0xbddd
cw 0x15
call send_back  ; 49056 (0xbfa0)

lri $AR1,    #0x7409
lri $IX1,    #0x657c
lri $WR1,    #0x623f
cw 0x15
call send_back  ; 49057 (0xbfa1)

lri $AR1,    #0x7f39
lri $IX1,    #0xe054
lri $WR1,    #0xb98a
cw 0x15
call send_back  ; 49058 (0xbfa2)

lri $AR1,    #0xc1a1
lri $IX1,    #0x8c56
lri $WR1,    #0xace4
cw 0x15
call send_back  ; 49059 (0xbfa3)

lri $AR1,    #0xa97c
lri $IX1,    #0x1cf0
lri $WR1,    #0x9301
cw 0x15
call send_back  ; 49060 (0xbfa4)

lri $AR1,    #0xd905
lri $IX1,    #0x6fcc
lri $WR1,    #0x67f2
cw 0x15
call send_back  ; 49061 (0xbfa5)

lri $AR1,    #0xf50a
lri $IX1,    #0x7d4a
lri $WR1,    #0x2316
cw 0x15
call send_back  ; 49062 (0xbfa6)

lri $AR1,    #0x50d9
lri $IX1,    #0xf4a2
lri $WR1,    #0x5c09
cw 0x15
call send_back  ; 49063 (0xbfa7)

lri $AR1,    #0x8ad9
lri $IX1,    #0xb5f4
lri $WR1,    #0x7550
cw 0x15
call send_back  ; 49064 (0xbfa8)

lri $AR1,    #0x98a4
lri $IX1,    #0x94e4
lri $WR1,    #0xaca5
cw 0x15
call send_back  ; 49065 (0xbfa9)

lri $AR1,    #0x60ef
lri $IX1,    #0xb2f6
lri $WR1,    #0x9e97
cw 0x15
call send_back  ; 49066 (0xbfaa)

lri $AR1,    #0xb50d
lri $IX1,    #0x7162
lri $WR1,    #0x5c7e
cw 0x15
call send_back  ; 49067 (0xbfab)

lri $AR1,    #0xa366
lri $IX1,    #0x9684
lri $WR1,    #0x8953
cw 0x15
call send_back  ; 49068 (0xbfac)

lri $AR1,    #0x97a6
lri $IX1,    #0xeba4
lri $WR1,    #0x6b7c
cw 0x15
call send_back  ; 49069 (0xbfad)

lri $AR1,    #0x6cfc
lri $IX1,    #0x6c36
lri $WR1,    #0x5f1f
cw 0x15
call send_back  ; 49070 (0xbfae)

lri $AR1,    #0x5a36
lri $IX1,    #0x4060
lri $WR1,    #0x7613
cw 0x15
call send_back  ; 49071 (0xbfaf)

lri $AR1,    #0x5711
lri $IX1,    #0x48c2
lri $WR1,    #0x37e8
cw 0x15
call send_back  ; 49072 (0xbfb0)

lri $AR1,    #0xa57e
lri $IX1,    #0x1a76
lri $WR1,    #0x3e34
cw 0x15
call send_back  ; 49073 (0xbfb1)

lri $AR1,    #0x6939
lri $IX1,    #0x0e30
lri $WR1,    #0xb69b
cw 0x15
call send_back  ; 49074 (0xbfb2)

lri $AR1,    #0x8b82
lri $IX1,    #0x9666
lri $WR1,    #0x85b1
cw 0x15
call send_back  ; 49075 (0xbfb3)

lri $AR1,    #0x703e
lri $IX1,    #0x8c94
lri $WR1,    #0xbb47
cw 0x15
call send_back  ; 49076 (0xbfb4)

lri $AR1,    #0x9d56
lri $IX1,    #0xae4a
lri $WR1,    #0xa225
cw 0x15
call send_back  ; 49077 (0xbfb5)

lri $AR1,    #0x44aa
lri $IX1,    #0x374a
lri $WR1,    #0xd2cc
cw 0x15
call send_back  ; 49078 (0xbfb6)

lri $AR1,    #0x845c
lri $IX1,    #0x864c
lri $WR1,    #0xb25b
cw 0x15
call send_back  ; 49079 (0xbfb7)

lri $AR1,    #0x88ce
lri $IX1,    #0x26aa
lri $WR1,    #0x0bff
cw 0x15
call send_back  ; 49080 (0xbfb8)

lri $AR1,    #0x6716
lri $IX1,    #0x919e
lri $WR1,    #0x5d39
cw 0x15
call send_back  ; 49081 (0xbfb9)

lri $AR1,    #0x6649
lri $IX1,    #0x9e3e
lri $WR1,    #0x5a51
cw 0x15
call send_back  ; 49082 (0xbfba)

lri $AR1,    #0x6164
lri $IX1,    #0x07f0
lri $WR1,    #0x8228
cw 0x15
call send_back  ; 49083 (0xbfbb)

lri $AR1,    #0xd316
lri $IX1,    #0xcf7c
lri $WR1,    #0xadf7
cw 0x15
call send_back  ; 49084 (0xbfbc)

lri $AR1,    #0x5857
lri $IX1,    #0xa370
lri $WR1,    #0xc2f7
cw 0x15
call send_back  ; 49085 (0xbfbd)

lri $AR1,    #0x6609
lri $IX1,    #0x1104
lri $WR1,    #0x6999
cw 0x15
call send_back  ; 49086 (0xbfbe)

lri $AR1,    #0x7170
lri $IX1,    #0x1f38
lri $WR1,    #0x4f4b
cw 0x15
call send_back  ; 49087 (0xbfbf)

lri $AR1,    #0x42e3
lri $IX1,    #0x424c
lri $WR1,    #0xdd6f
cw 0x15
call send_back  ; 49088 (0xbfc0)

lri $AR1,    #0x756f
lri $IX1,    #0x6e4c
lri $WR1,    #0x597d
cw 0x15
call send_back  ; 49089 (0xbfc1)

lri $AR1,    #0xa5d3
lri $IX1,    #0x93e0
lri $WR1,    #0x6ff2
cw 0x15
call send_back  ; 49090 (0xbfc2)

lri $AR1,    #0x6693
lri $IX1,    #0x2310
lri $WR1,    #0x9d0c
cw 0x15
call send_back  ; 49091 (0xbfc3)

lri $AR1,    #0x967d
lri $IX1,    #0x6c1e
lri $WR1,    #0x9bfd
cw 0x15
call send_back  ; 49092 (0xbfc4)

lri $AR1,    #0x9269
lri $IX1,    #0xff42
lri $WR1,    #0x5e7f
cw 0x15
call send_back  ; 49093 (0xbfc5)

lri $AR1,    #0xca89
lri $IX1,    #0xa060
lri $WR1,    #0xec7d
cw 0x15
call send_back  ; 49094 (0xbfc6)

lri $AR1,    #0x6713
lri $IX1,    #0x246e
lri $WR1,    #0x4cce
cw 0x15
call send_back  ; 49095 (0xbfc7)

lri $AR1,    #0xbfa2
lri $IX1,    #0xbac2
lri $WR1,    #0x9d91
cw 0x15
call send_back  ; 49096 (0xbfc8)

lri $AR1,    #0x540c
lri $IX1,    #0xdcec
lri $WR1,    #0xac4a
cw 0x15
call send_back  ; 49097 (0xbfc9)

lri $AR1,    #0x9506
lri $IX1,    #0x8454
lri $WR1,    #0x8b38
cw 0x15
call send_back  ; 49098 (0xbfca)

lri $AR1,    #0x7e72
lri $IX1,    #0x7552
lri $WR1,    #0xb308
cw 0x15
call send_back  ; 49099 (0xbfcb)

lri $AR1,    #0xac88
lri $IX1,    #0x8bd2
lri $WR1,    #0x9573
cw 0x15
call send_back  ; 49100 (0xbfcc)

lri $AR1,    #0x90d0
lri $IX1,    #0x1e6c
lri $WR1,    #0x7ec4
cw 0x15
call send_back  ; 49101 (0xbfcd)

lri $AR1,    #0x1b1c
lri $IX1,    #0xe0dc
lri $WR1,    #0xa1f4
cw 0x15
call send_back  ; 49102 (0xbfce)

lri $AR1,    #0x6e66
lri $IX1,    #0x4fbe
lri $WR1,    #0x8c4d
cw 0x15
call send_back  ; 49103 (0xbfcf)

lri $AR1,    #0x70dd
lri $IX1,    #0xbbae
lri $WR1,    #0xe341
cw 0x15
call send_back  ; 49104 (0xbfd0)

lri $AR1,    #0x91ed
lri $IX1,    #0xa26e
lri $WR1,    #0x986b
cw 0x15
call send_back  ; 49105 (0xbfd1)

lri $AR1,    #0x6096
lri $IX1,    #0x4958
lri $WR1,    #0x8d5d
cw 0x15
call send_back  ; 49106 (0xbfd2)

lri $AR1,    #0x5fe1
lri $IX1,    #0x9cc4
lri $WR1,    #0x5245
cw 0x15
call send_back  ; 49107 (0xbfd3)

lri $AR1,    #0xcec8
lri $IX1,    #0x547c
lri $WR1,    #0x9ff2
cw 0x15
call send_back  ; 49108 (0xbfd4)

lri $AR1,    #0x344d
lri $IX1,    #0x6620
lri $WR1,    #0xc752
cw 0x15
call send_back  ; 49109 (0xbfd5)

lri $AR1,    #0xd035
lri $IX1,    #0x0278
lri $WR1,    #0x6df7
cw 0x15
call send_back  ; 49110 (0xbfd6)

lri $AR1,    #0x740c
lri $IX1,    #0xdb76
lri $WR1,    #0x70b3
cw 0x15
call send_back  ; 49111 (0xbfd7)

lri $AR1,    #0x1fe6
lri $IX1,    #0x5d2c
lri $WR1,    #0x8ad7
cw 0x15
call send_back  ; 49112 (0xbfd8)

lri $AR1,    #0xe996
lri $IX1,    #0xfc3e
lri $WR1,    #0x4a27
cw 0x15
call send_back  ; 49113 (0xbfd9)

lri $AR1,    #0x94b4
lri $IX1,    #0xe12a
lri $WR1,    #0x451c
cw 0x15
call send_back  ; 49114 (0xbfda)

lri $AR1,    #0xb545
lri $IX1,    #0x27f4
lri $WR1,    #0x5a6f
cw 0x15
call send_back  ; 49115 (0xbfdb)

lri $AR1,    #0x9e4f
lri $IX1,    #0xc876
lri $WR1,    #0xd696
cw 0x15
call send_back  ; 49116 (0xbfdc)

lri $AR1,    #0x1923
lri $IX1,    #0x240a
lri $WR1,    #0x9531
cw 0x15
call send_back  ; 49117 (0xbfdd)

lri $AR1,    #0x51c5
lri $IX1,    #0x49b0
lri $WR1,    #0x7200
cw 0x15
call send_back  ; 49118 (0xbfde)

lri $AR1,    #0x6827
lri $IX1,    #0x6262
lri $WR1,    #0x7e69
cw 0x15
call send_back  ; 49119 (0xbfdf)

lri $AR1,    #0x8d8f
lri $IX1,    #0x83da
lri $WR1,    #0xd62e
cw 0x15
call send_back  ; 49120 (0xbfe0)

lri $AR1,    #0xe108
lri $IX1,    #0x804c
lri $WR1,    #0x774b
cw 0x15
call send_back  ; 49121 (0xbfe1)

lri $AR1,    #0x3d13
lri $IX1,    #0x4e88
lri $WR1,    #0x8eae
cw 0x15
call send_back  ; 49122 (0xbfe2)

lri $AR1,    #0x3c7f
lri $IX1,    #0x75f0
lri $WR1,    #0x9cad
cw 0x15
call send_back  ; 49123 (0xbfe3)

lri $AR1,    #0xc3af
lri $IX1,    #0xa69e
lri $WR1,    #0x89f7
cw 0x15
call send_back  ; 49124 (0xbfe4)

lri $AR1,    #0x3712
lri $IX1,    #0x6e56
lri $WR1,    #0x9eed
cw 0x15
call send_back  ; 49125 (0xbfe5)

lri $AR1,    #0x173f
lri $IX1,    #0xef82
lri $WR1,    #0xad0a
cw 0x15
call send_back  ; 49126 (0xbfe6)

lri $AR1,    #0x5e58
lri $IX1,    #0xbfd4
lri $WR1,    #0x7b5b
cw 0x15
call send_back  ; 49127 (0xbfe7)

lri $AR1,    #0x922a
lri $IX1,    #0xc0d6
lri $WR1,    #0x8c9f
cw 0x15
call send_back  ; 49128 (0xbfe8)

lri $AR1,    #0xe9c5
lri $IX1,    #0xfd04
lri $WR1,    #0x7f21
cw 0x15
call send_back  ; 49129 (0xbfe9)

lri $AR1,    #0x04e4
lri $IX1,    #0x78b0
lri $WR1,    #0x73ce
cw 0x15
call send_back  ; 49130 (0xbfea)

lri $AR1,    #0x66f0
lri $IX1,    #0x9648
lri $WR1,    #0x7bab
cw 0x15
call send_back  ; 49131 (0xbfeb)

lri $AR1,    #0x8ef9
lri $IX1,    #0x4a56
lri $WR1,    #0x602f
cw 0x15
call send_back  ; 49132 (0xbfec)

lri $AR1,    #0x815e
lri $IX1,    #0x03b6
lri $WR1,    #0x948e
cw 0x15
call send_back  ; 49133 (0xbfed)

lri $AR1,    #0xc794
lri $IX1,    #0x016e
lri $WR1,    #0x1b8d
cw 0x15
call send_back  ; 49134 (0xbfee)

lri $AR1,    #0xadc2
lri $IX1,    #0xef96
lri $WR1,    #0x8ef0
cw 0x15
call send_back  ; 49135 (0xbfef)

lri $AR1,    #0x3d89
lri $IX1,    #0x31be
lri $WR1,    #0x9b06
cw 0x15
call send_back  ; 49136 (0xbff0)

lri $AR1,    #0x80d0
lri $IX1,    #0x5956
lri $WR1,    #0x8a71
cw 0x15
call send_back  ; 49137 (0xbff1)

lri $AR1,    #0x56da
lri $IX1,    #0x0b60
lri $WR1,    #0x4bb5
cw 0x15
call send_back  ; 49138 (0xbff2)

lri $AR1,    #0x797c
lri $IX1,    #0x2908
lri $WR1,    #0x8b94
cw 0x15
call send_back  ; 49139 (0xbff3)

lri $AR1,    #0x97c0
lri $IX1,    #0x8b78
lri $WR1,    #0x74da
cw 0x15
call send_back  ; 49140 (0xbff4)

lri $AR1,    #0x86c8
lri $IX1,    #0x2b56
lri $WR1,    #0x3fa0
cw 0x15
call send_back  ; 49141 (0xbff5)

lri $AR1,    #0x5937
lri $IX1,    #0x4170
lri $WR1,    #0x5786
cw 0x15
call send_back  ; 49142 (0xbff6)

lri $AR1,    #0x9107
lri $IX1,    #0xedf8
lri $WR1,    #0x6214
cw 0x15
call send_back  ; 49143 (0xbff7)

lri $AR1,    #0x76fe
lri $IX1,    #0x60b0
lri $WR1,    #0xb3bc
cw 0x15
call send_back  ; 49144 (0xbff8)

lri $AR1,    #0x4eaa
lri $IX1,    #0x74b0
lri $WR1,    #0xab87
cw 0x15
call send_back  ; 49145 (0xbff9)

lri $AR1,    #0x7d26
lri $IX1,    #0x56d4
lri $WR1,    #0xdb1d
cw 0x15
call send_back  ; 49146 (0xbffa)

lri $AR1,    #0xac83
lri $IX1,    #0x3ec0
lri $WR1,    #0xb20e
cw 0x15
call send_back  ; 49147 (0xbffb)

lri $AR1,    #0xdd17
lri $IX1,    #0x9e62
lri $WR1,    #0x7911
cw 0x15
call send_back  ; 49148 (0xbffc)

lri $AR1,    #0x9191
lri $IX1,    #0x94e4
lri $WR1,    #0xa32c
cw 0x15
call send_back  ; 49149 (0xbffd)

lri $AR1,    #0xb219
lri $IX1,    #0x0608
lri $WR1,    #0xb86c
cw 0x15
call send_back  ; 49150 (0xbffe)

lri $AR1,    #0xc648
lri $IX1,    #0x97c6
lri $WR1,    #0x3f32
cw 0x15
call send_back  ; 49151 (0xbfff)

lri $AR1,    #0x1d5a
lri $IX1,    #0x244c
lri $WR1,    #0x6e9a
cw 0x15
call send_back  ; 49152 (0xc000)

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