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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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