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

lri $AR1,    #0x6487
lri $IX1,    #0xc0b6
lri $WR1,    #0x8803
cw 0x15
call send_back  ; 40087 (0x9c97)

lri $AR1,    #0x1751
lri $IX1,    #0xab2c
lri $WR1,    #0x6836
cw 0x15
call send_back  ; 40088 (0x9c98)

lri $AR1,    #0x5847
lri $IX1,    #0x3072
lri $WR1,    #0x7d6f
cw 0x15
call send_back  ; 40089 (0x9c99)

lri $AR1,    #0xbbb5
lri $IX1,    #0x8ec2
lri $WR1,    #0x7360
cw 0x15
call send_back  ; 40090 (0x9c9a)

lri $AR1,    #0x9082
lri $IX1,    #0x5c2e
lri $WR1,    #0x4aed
cw 0x15
call send_back  ; 40091 (0x9c9b)

lri $AR1,    #0xc741
lri $IX1,    #0x3270
lri $WR1,    #0x4a26
cw 0x15
call send_back  ; 40092 (0x9c9c)

lri $AR1,    #0x4e0a
lri $IX1,    #0xf412
lri $WR1,    #0x4436
cw 0x15
call send_back  ; 40093 (0x9c9d)

lri $AR1,    #0x6d54
lri $IX1,    #0x9c0c
lri $WR1,    #0xacd4
cw 0x15
call send_back  ; 40094 (0x9c9e)

lri $AR1,    #0xb5af
lri $IX1,    #0xe9ac
lri $WR1,    #0x8c53
cw 0x15
call send_back  ; 40095 (0x9c9f)

lri $AR1,    #0x85b5
lri $IX1,    #0x06c4
lri $WR1,    #0xcecc
cw 0x15
call send_back  ; 40096 (0x9ca0)

lri $AR1,    #0x7af2
lri $IX1,    #0x9efc
lri $WR1,    #0x7289
cw 0x15
call send_back  ; 40097 (0x9ca1)

lri $AR1,    #0xa01b
lri $IX1,    #0xe35e
lri $WR1,    #0xa72f
cw 0x15
call send_back  ; 40098 (0x9ca2)

lri $AR1,    #0xbe60
lri $IX1,    #0xc5dc
lri $WR1,    #0x60be
cw 0x15
call send_back  ; 40099 (0x9ca3)

lri $AR1,    #0xbf34
lri $IX1,    #0x74ee
lri $WR1,    #0x9700
cw 0x15
call send_back  ; 40100 (0x9ca4)

lri $AR1,    #0x674c
lri $IX1,    #0xe804
lri $WR1,    #0x4360
cw 0x15
call send_back  ; 40101 (0x9ca5)

lri $AR1,    #0x432d
lri $IX1,    #0x4206
lri $WR1,    #0x8cd3
cw 0x15
call send_back  ; 40102 (0x9ca6)

lri $AR1,    #0x411d
lri $IX1,    #0x0f76
lri $WR1,    #0x52cf
cw 0x15
call send_back  ; 40103 (0x9ca7)

lri $AR1,    #0x0bbb
lri $IX1,    #0x127c
lri $WR1,    #0x4def
cw 0x15
call send_back  ; 40104 (0x9ca8)

lri $AR1,    #0xa419
lri $IX1,    #0x8782
lri $WR1,    #0xa645
cw 0x15
call send_back  ; 40105 (0x9ca9)

lri $AR1,    #0x59a3
lri $IX1,    #0xb194
lri $WR1,    #0x8cfb
cw 0x15
call send_back  ; 40106 (0x9caa)

lri $AR1,    #0x71a6
lri $IX1,    #0x2e34
lri $WR1,    #0x783e
cw 0x15
call send_back  ; 40107 (0x9cab)

lri $AR1,    #0x77c2
lri $IX1,    #0x2cc6
lri $WR1,    #0x7621
cw 0x15
call send_back  ; 40108 (0x9cac)

lri $AR1,    #0xac18
lri $IX1,    #0x4e58
lri $WR1,    #0x8460
cw 0x15
call send_back  ; 40109 (0x9cad)

lri $AR1,    #0xb392
lri $IX1,    #0xc6e8
lri $WR1,    #0x58bb
cw 0x15
call send_back  ; 40110 (0x9cae)

lri $AR1,    #0x71f4
lri $IX1,    #0x79e0
lri $WR1,    #0xe6df
cw 0x15
call send_back  ; 40111 (0x9caf)

lri $AR1,    #0xad35
lri $IX1,    #0x57ee
lri $WR1,    #0x9676
cw 0x15
call send_back  ; 40112 (0x9cb0)

lri $AR1,    #0xa4bd
lri $IX1,    #0x5cf0
lri $WR1,    #0x656c
cw 0x15
call send_back  ; 40113 (0x9cb1)

lri $AR1,    #0x8701
lri $IX1,    #0x5122
lri $WR1,    #0x7ffe
cw 0x15
call send_back  ; 40114 (0x9cb2)

lri $AR1,    #0x8337
lri $IX1,    #0x0146
lri $WR1,    #0x8999
cw 0x15
call send_back  ; 40115 (0x9cb3)

lri $AR1,    #0x7c7d
lri $IX1,    #0x1dda
lri $WR1,    #0xc725
cw 0x15
call send_back  ; 40116 (0x9cb4)

lri $AR1,    #0x7f34
lri $IX1,    #0x7a3c
lri $WR1,    #0x74c0
cw 0x15
call send_back  ; 40117 (0x9cb5)

lri $AR1,    #0xe8f4
lri $IX1,    #0x18b2
lri $WR1,    #0x2e88
cw 0x15
call send_back  ; 40118 (0x9cb6)

lri $AR1,    #0x96d6
lri $IX1,    #0x713a
lri $WR1,    #0x556e
cw 0x15
call send_back  ; 40119 (0x9cb7)

lri $AR1,    #0xc576
lri $IX1,    #0xcd3c
lri $WR1,    #0x9ebc
cw 0x15
call send_back  ; 40120 (0x9cb8)

lri $AR1,    #0x7960
lri $IX1,    #0x8ab6
lri $WR1,    #0xe648
cw 0x15
call send_back  ; 40121 (0x9cb9)

lri $AR1,    #0xa664
lri $IX1,    #0xbe46
lri $WR1,    #0x48f2
cw 0x15
call send_back  ; 40122 (0x9cba)

lri $AR1,    #0x3f73
lri $IX1,    #0x1b9e
lri $WR1,    #0xde76
cw 0x15
call send_back  ; 40123 (0x9cbb)

lri $AR1,    #0x4077
lri $IX1,    #0x6888
lri $WR1,    #0x7f23
cw 0x15
call send_back  ; 40124 (0x9cbc)

lri $AR1,    #0x7edf
lri $IX1,    #0x275e
lri $WR1,    #0x3b8a
cw 0x15
call send_back  ; 40125 (0x9cbd)

lri $AR1,    #0x7d45
lri $IX1,    #0xb9e0
lri $WR1,    #0x69b3
cw 0x15
call send_back  ; 40126 (0x9cbe)

lri $AR1,    #0x81e6
lri $IX1,    #0x1e52
lri $WR1,    #0xcce5
cw 0x15
call send_back  ; 40127 (0x9cbf)

lri $AR1,    #0x274e
lri $IX1,    #0xb502
lri $WR1,    #0xc29a
cw 0x15
call send_back  ; 40128 (0x9cc0)

lri $AR1,    #0x6a04
lri $IX1,    #0x54c0
lri $WR1,    #0xe8a3
cw 0x15
call send_back  ; 40129 (0x9cc1)

lri $AR1,    #0xb580
lri $IX1,    #0x79be
lri $WR1,    #0xbe13
cw 0x15
call send_back  ; 40130 (0x9cc2)

lri $AR1,    #0x863d
lri $IX1,    #0xaa4a
lri $WR1,    #0xb202
cw 0x15
call send_back  ; 40131 (0x9cc3)

lri $AR1,    #0x3e41
lri $IX1,    #0x69ae
lri $WR1,    #0x48b8
cw 0x15
call send_back  ; 40132 (0x9cc4)

lri $AR1,    #0xa4dd
lri $IX1,    #0x59ec
lri $WR1,    #0x5948
cw 0x15
call send_back  ; 40133 (0x9cc5)

lri $AR1,    #0x99f7
lri $IX1,    #0xa170
lri $WR1,    #0x4335
cw 0x15
call send_back  ; 40134 (0x9cc6)

lri $AR1,    #0xa8c3
lri $IX1,    #0x6a76
lri $WR1,    #0xbd2e
cw 0x15
call send_back  ; 40135 (0x9cc7)

lri $AR1,    #0x3d10
lri $IX1,    #0x7e5e
lri $WR1,    #0xe36c
cw 0x15
call send_back  ; 40136 (0x9cc8)

lri $AR1,    #0x2a2c
lri $IX1,    #0xb77e
lri $WR1,    #0xd5c7
cw 0x15
call send_back  ; 40137 (0x9cc9)

lri $AR1,    #0xd186
lri $IX1,    #0x68c8
lri $WR1,    #0x6318
cw 0x15
call send_back  ; 40138 (0x9cca)

lri $AR1,    #0x6af7
lri $IX1,    #0x0ad8
lri $WR1,    #0x50e5
cw 0x15
call send_back  ; 40139 (0x9ccb)

lri $AR1,    #0x17ef
lri $IX1,    #0x9aa8
lri $WR1,    #0xa3fc
cw 0x15
call send_back  ; 40140 (0x9ccc)

lri $AR1,    #0xe66f
lri $IX1,    #0x3e94
lri $WR1,    #0x4805
cw 0x15
call send_back  ; 40141 (0x9ccd)

lri $AR1,    #0x97fe
lri $IX1,    #0x1ae2
lri $WR1,    #0x718c
cw 0x15
call send_back  ; 40142 (0x9cce)

lri $AR1,    #0x4491
lri $IX1,    #0xdf74
lri $WR1,    #0xf7b5
cw 0x15
call send_back  ; 40143 (0x9ccf)

lri $AR1,    #0xa88e
lri $IX1,    #0xa4ee
lri $WR1,    #0x880a
cw 0x15
call send_back  ; 40144 (0x9cd0)

lri $AR1,    #0x78d9
lri $IX1,    #0x47dc
lri $WR1,    #0x607f
cw 0x15
call send_back  ; 40145 (0x9cd1)

lri $AR1,    #0xd729
lri $IX1,    #0xb520
lri $WR1,    #0x893d
cw 0x15
call send_back  ; 40146 (0x9cd2)

lri $AR1,    #0x5482
lri $IX1,    #0xab58
lri $WR1,    #0xb949
cw 0x15
call send_back  ; 40147 (0x9cd3)

lri $AR1,    #0xb712
lri $IX1,    #0x7156
lri $WR1,    #0x868c
cw 0x15
call send_back  ; 40148 (0x9cd4)

lri $AR1,    #0x5457
lri $IX1,    #0x0a86
lri $WR1,    #0x1b49
cw 0x15
call send_back  ; 40149 (0x9cd5)

lri $AR1,    #0x1fca
lri $IX1,    #0xa632
lri $WR1,    #0xc8ad
cw 0x15
call send_back  ; 40150 (0x9cd6)

lri $AR1,    #0x71f2
lri $IX1,    #0x8798
lri $WR1,    #0x4f62
cw 0x15
call send_back  ; 40151 (0x9cd7)

lri $AR1,    #0xe319
lri $IX1,    #0x90d0
lri $WR1,    #0x7cd0
cw 0x15
call send_back  ; 40152 (0x9cd8)

lri $AR1,    #0x408d
lri $IX1,    #0x134a
lri $WR1,    #0x2513
cw 0x15
call send_back  ; 40153 (0x9cd9)

lri $AR1,    #0x829a
lri $IX1,    #0xad08
lri $WR1,    #0x6f3a
cw 0x15
call send_back  ; 40154 (0x9cda)

lri $AR1,    #0x9d42
lri $IX1,    #0xea54
lri $WR1,    #0xbad9
cw 0x15
call send_back  ; 40155 (0x9cdb)

lri $AR1,    #0x6cbc
lri $IX1,    #0x4016
lri $WR1,    #0x7b7e
cw 0x15
call send_back  ; 40156 (0x9cdc)

lri $AR1,    #0xbad6
lri $IX1,    #0xdb6c
lri $WR1,    #0x2020
cw 0x15
call send_back  ; 40157 (0x9cdd)

lri $AR1,    #0x494d
lri $IX1,    #0xd7de
lri $WR1,    #0x5a15
cw 0x15
call send_back  ; 40158 (0x9cde)

lri $AR1,    #0x5107
lri $IX1,    #0xcdb2
lri $WR1,    #0xb8a0
cw 0x15
call send_back  ; 40159 (0x9cdf)

lri $AR1,    #0x5d86
lri $IX1,    #0x76a4
lri $WR1,    #0x7395
cw 0x15
call send_back  ; 40160 (0x9ce0)

lri $AR1,    #0x374a
lri $IX1,    #0x7fb4
lri $WR1,    #0x494d
cw 0x15
call send_back  ; 40161 (0x9ce1)

lri $AR1,    #0x8f8c
lri $IX1,    #0xa33a
lri $WR1,    #0x614c
cw 0x15
call send_back  ; 40162 (0x9ce2)

lri $AR1,    #0xb316
lri $IX1,    #0xf6de
lri $WR1,    #0x96bf
cw 0x15
call send_back  ; 40163 (0x9ce3)

lri $AR1,    #0x917e
lri $IX1,    #0x15c4
lri $WR1,    #0xc36e
cw 0x15
call send_back  ; 40164 (0x9ce4)

lri $AR1,    #0xc1b1
lri $IX1,    #0x9776
lri $WR1,    #0x7d12
cw 0x15
call send_back  ; 40165 (0x9ce5)

lri $AR1,    #0xbbfa
lri $IX1,    #0x38e6
lri $WR1,    #0x94be
cw 0x15
call send_back  ; 40166 (0x9ce6)

lri $AR1,    #0xa574
lri $IX1,    #0x5d10
lri $WR1,    #0x6958
cw 0x15
call send_back  ; 40167 (0x9ce7)

lri $AR1,    #0xa024
lri $IX1,    #0x3784
lri $WR1,    #0xa3b6
cw 0x15
call send_back  ; 40168 (0x9ce8)

lri $AR1,    #0x7e92
lri $IX1,    #0x2b8a
lri $WR1,    #0x1c7a
cw 0x15
call send_back  ; 40169 (0x9ce9)

lri $AR1,    #0xd931
lri $IX1,    #0xcef6
lri $WR1,    #0x592a
cw 0x15
call send_back  ; 40170 (0x9cea)

lri $AR1,    #0x3763
lri $IX1,    #0xb084
lri $WR1,    #0x9fa4
cw 0x15
call send_back  ; 40171 (0x9ceb)

lri $AR1,    #0xa56d
lri $IX1,    #0x9dc0
lri $WR1,    #0x7475
cw 0x15
call send_back  ; 40172 (0x9cec)

lri $AR1,    #0x8c28
lri $IX1,    #0xcd52
lri $WR1,    #0x522b
cw 0x15
call send_back  ; 40173 (0x9ced)

lri $AR1,    #0x4ec2
lri $IX1,    #0x26c6
lri $WR1,    #0x6521
cw 0x15
call send_back  ; 40174 (0x9cee)

lri $AR1,    #0x7659
lri $IX1,    #0x0180
lri $WR1,    #0x78f5
cw 0x15
call send_back  ; 40175 (0x9cef)

lri $AR1,    #0x6ac6
lri $IX1,    #0x4112
lri $WR1,    #0x6a0c
cw 0x15
call send_back  ; 40176 (0x9cf0)

lri $AR1,    #0xc368
lri $IX1,    #0xcdb8
lri $WR1,    #0xb761
cw 0x15
call send_back  ; 40177 (0x9cf1)

lri $AR1,    #0x7a39
lri $IX1,    #0x2bfa
lri $WR1,    #0x9e10
cw 0x15
call send_back  ; 40178 (0x9cf2)

lri $AR1,    #0x9f08
lri $IX1,    #0x8750
lri $WR1,    #0xd9b3
cw 0x15
call send_back  ; 40179 (0x9cf3)

lri $AR1,    #0x7017
lri $IX1,    #0xffe6
lri $WR1,    #0x9a30
cw 0x15
call send_back  ; 40180 (0x9cf4)

lri $AR1,    #0xd8fd
lri $IX1,    #0x9430
lri $WR1,    #0x58f4
cw 0x15
call send_back  ; 40181 (0x9cf5)

lri $AR1,    #0xa817
lri $IX1,    #0xb37e
lri $WR1,    #0x5539
cw 0x15
call send_back  ; 40182 (0x9cf6)

lri $AR1,    #0xae59
lri $IX1,    #0x874e
lri $WR1,    #0x8060
cw 0x15
call send_back  ; 40183 (0x9cf7)

lri $AR1,    #0xd4be
lri $IX1,    #0x6d6a
lri $WR1,    #0x68f1
cw 0x15
call send_back  ; 40184 (0x9cf8)

lri $AR1,    #0xde4c
lri $IX1,    #0x15ae
lri $WR1,    #0x9c4e
cw 0x15
call send_back  ; 40185 (0x9cf9)

lri $AR1,    #0x6cd9
lri $IX1,    #0x5a84
lri $WR1,    #0x64b8
cw 0x15
call send_back  ; 40186 (0x9cfa)

lri $AR1,    #0xd26a
lri $IX1,    #0x5bd4
lri $WR1,    #0x9a96
cw 0x15
call send_back  ; 40187 (0x9cfb)

lri $AR1,    #0xa090
lri $IX1,    #0xc096
lri $WR1,    #0x55b5
cw 0x15
call send_back  ; 40188 (0x9cfc)

lri $AR1,    #0xa272
lri $IX1,    #0x6bba
lri $WR1,    #0x8477
cw 0x15
call send_back  ; 40189 (0x9cfd)

lri $AR1,    #0x5ded
lri $IX1,    #0x858a
lri $WR1,    #0xac7f
cw 0x15
call send_back  ; 40190 (0x9cfe)

lri $AR1,    #0xbb95
lri $IX1,    #0x9b4a
lri $WR1,    #0x3a04
cw 0x15
call send_back  ; 40191 (0x9cff)

lri $AR1,    #0xecdd
lri $IX1,    #0xe32a
lri $WR1,    #0xa83d
cw 0x15
call send_back  ; 40192 (0x9d00)

lri $AR1,    #0x7342
lri $IX1,    #0x8b5a
lri $WR1,    #0x570a
cw 0x15
call send_back  ; 40193 (0x9d01)

lri $AR1,    #0x2ac0
lri $IX1,    #0x7f52
lri $WR1,    #0x6f5a
cw 0x15
call send_back  ; 40194 (0x9d02)

lri $AR1,    #0x4d69
lri $IX1,    #0x5f1c
lri $WR1,    #0xa975
cw 0x15
call send_back  ; 40195 (0x9d03)

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