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

lri $AR1,    #0x80b0
lri $IX1,    #0x9fda
lri $WR1,    #0xe185
cw 0xd
call send_back  ; 34080 (0x8520)

lri $AR1,    #0x7600
lri $IX1,    #0x4b30
lri $WR1,    #0x4f7b
cw 0xd
call send_back  ; 34081 (0x8521)

lri $AR1,    #0xbc4c
lri $IX1,    #0xa0ee
lri $WR1,    #0x279d
cw 0xd
call send_back  ; 34082 (0x8522)

lri $AR1,    #0x7fb1
lri $IX1,    #0xa172
lri $WR1,    #0x7f08
cw 0xd
call send_back  ; 34083 (0x8523)

lri $AR1,    #0x7bae
lri $IX1,    #0xb8b0
lri $WR1,    #0xb63f
cw 0xd
call send_back  ; 34084 (0x8524)

lri $AR1,    #0xb922
lri $IX1,    #0x4cc0
lri $WR1,    #0xa60b
cw 0xd
call send_back  ; 34085 (0x8525)

lri $AR1,    #0x85e2
lri $IX1,    #0x3e68
lri $WR1,    #0x225c
cw 0xd
call send_back  ; 34086 (0x8526)

lri $AR1,    #0x619c
lri $IX1,    #0x15f4
lri $WR1,    #0x4446
cw 0xd
call send_back  ; 34087 (0x8527)

lri $AR1,    #0x337d
lri $IX1,    #0xea26
lri $WR1,    #0x719d
cw 0xd
call send_back  ; 34088 (0x8528)

lri $AR1,    #0x8743
lri $IX1,    #0xd6a2
lri $WR1,    #0x4251
cw 0xd
call send_back  ; 34089 (0x8529)

lri $AR1,    #0x3024
lri $IX1,    #0xf284
lri $WR1,    #0x9107
cw 0xd
call send_back  ; 34090 (0x852a)

lri $AR1,    #0x635b
lri $IX1,    #0x0798
lri $WR1,    #0x960a
cw 0xd
call send_back  ; 34091 (0x852b)

lri $AR1,    #0x8393
lri $IX1,    #0xadea
lri $WR1,    #0xc126
cw 0xd
call send_back  ; 34092 (0x852c)

lri $AR1,    #0x521b
lri $IX1,    #0xc6f4
lri $WR1,    #0x8074
cw 0xd
call send_back  ; 34093 (0x852d)

lri $AR1,    #0x6a26
lri $IX1,    #0x7f62
lri $WR1,    #0x9fb1
cw 0xd
call send_back  ; 34094 (0x852e)

lri $AR1,    #0x2de7
lri $IX1,    #0xdd98
lri $WR1,    #0x4d26
cw 0xd
call send_back  ; 34095 (0x852f)

lri $AR1,    #0x84df
lri $IX1,    #0x56d8
lri $WR1,    #0x76b9
cw 0xd
call send_back  ; 34096 (0x8530)

lri $AR1,    #0x5622
lri $IX1,    #0xcc4a
lri $WR1,    #0x7b31
cw 0xd
call send_back  ; 34097 (0x8531)

lri $AR1,    #0xe8f1
lri $IX1,    #0x8ce0
lri $WR1,    #0x7948
cw 0xd
call send_back  ; 34098 (0x8532)

lri $AR1,    #0xa96f
lri $IX1,    #0x6828
lri $WR1,    #0x3786
cw 0xd
call send_back  ; 34099 (0x8533)

lri $AR1,    #0x96c6
lri $IX1,    #0x6208
lri $WR1,    #0x958f
cw 0xd
call send_back  ; 34100 (0x8534)

lri $AR1,    #0xbb82
lri $IX1,    #0x0eb6
lri $WR1,    #0x90de
cw 0xd
call send_back  ; 34101 (0x8535)

lri $AR1,    #0x6087
lri $IX1,    #0xe994
lri $WR1,    #0x848c
cw 0xd
call send_back  ; 34102 (0x8536)

lri $AR1,    #0x8e5c
lri $IX1,    #0xf96e
lri $WR1,    #0x4d26
cw 0xd
call send_back  ; 34103 (0x8537)

lri $AR1,    #0x4826
lri $IX1,    #0xa7ce
lri $WR1,    #0xbf35
cw 0xd
call send_back  ; 34104 (0x8538)

lri $AR1,    #0x1720
lri $IX1,    #0xb8bc
lri $WR1,    #0xc866
cw 0xd
call send_back  ; 34105 (0x8539)

lri $AR1,    #0x5ce3
lri $IX1,    #0xabc8
lri $WR1,    #0x811a
cw 0xd
call send_back  ; 34106 (0x853a)

lri $AR1,    #0x564f
lri $IX1,    #0x5e90
lri $WR1,    #0x4524
cw 0xd
call send_back  ; 34107 (0x853b)

lri $AR1,    #0x2057
lri $IX1,    #0x6cae
lri $WR1,    #0x8093
cw 0xd
call send_back  ; 34108 (0x853c)

lri $AR1,    #0x4b98
lri $IX1,    #0x605c
lri $WR1,    #0x9652
cw 0xd
call send_back  ; 34109 (0x853d)

lri $AR1,    #0x7af8
lri $IX1,    #0x3282
lri $WR1,    #0x8464
cw 0xd
call send_back  ; 34110 (0x853e)

lri $AR1,    #0x0d1f
lri $IX1,    #0xb8a6
lri $WR1,    #0x0aaf
cw 0xd
call send_back  ; 34111 (0x853f)

lri $AR1,    #0x4826
lri $IX1,    #0x526a
lri $WR1,    #0x7ee8
cw 0xd
call send_back  ; 34112 (0x8540)

lri $AR1,    #0xca3f
lri $IX1,    #0x500a
lri $WR1,    #0x81bb
cw 0xd
call send_back  ; 34113 (0x8541)

lri $AR1,    #0x81af
lri $IX1,    #0x067c
lri $WR1,    #0x56b7
cw 0xd
call send_back  ; 34114 (0x8542)

lri $AR1,    #0x81dc
lri $IX1,    #0x35c2
lri $WR1,    #0x9211
cw 0xd
call send_back  ; 34115 (0x8543)

lri $AR1,    #0x92da
lri $IX1,    #0x28fc
lri $WR1,    #0x84cd
cw 0xd
call send_back  ; 34116 (0x8544)

lri $AR1,    #0x3421
lri $IX1,    #0xafb4
lri $WR1,    #0xa959
cw 0xd
call send_back  ; 34117 (0x8545)

lri $AR1,    #0x5aea
lri $IX1,    #0x9b2c
lri $WR1,    #0xb035
cw 0xd
call send_back  ; 34118 (0x8546)

lri $AR1,    #0x57cf
lri $IX1,    #0xa9f2
lri $WR1,    #0x8dab
cw 0xd
call send_back  ; 34119 (0x8547)

lri $AR1,    #0x672f
lri $IX1,    #0x9f92
lri $WR1,    #0x6f2f
cw 0xd
call send_back  ; 34120 (0x8548)

lri $AR1,    #0xdb03
lri $IX1,    #0x8dc4
lri $WR1,    #0x2879
cw 0xd
call send_back  ; 34121 (0x8549)

lri $AR1,    #0x6c85
lri $IX1,    #0xefbe
lri $WR1,    #0xd5da
cw 0xd
call send_back  ; 34122 (0x854a)

lri $AR1,    #0x777a
lri $IX1,    #0x0834
lri $WR1,    #0x82f6
cw 0xd
call send_back  ; 34123 (0x854b)

lri $AR1,    #0x885f
lri $IX1,    #0xd596
lri $WR1,    #0x7a57
cw 0xd
call send_back  ; 34124 (0x854c)

lri $AR1,    #0xa25f
lri $IX1,    #0xc814
lri $WR1,    #0x5bfe
cw 0xd
call send_back  ; 34125 (0x854d)

lri $AR1,    #0x5150
lri $IX1,    #0x1016
lri $WR1,    #0x9679
cw 0xd
call send_back  ; 34126 (0x854e)

lri $AR1,    #0xdf92
lri $IX1,    #0xbb84
lri $WR1,    #0xbf83
cw 0xd
call send_back  ; 34127 (0x854f)

lri $AR1,    #0xbf15
lri $IX1,    #0xcba6
lri $WR1,    #0x6ee3
cw 0xd
call send_back  ; 34128 (0x8550)

lri $AR1,    #0x406b
lri $IX1,    #0xd4fc
lri $WR1,    #0x8769
cw 0xd
call send_back  ; 34129 (0x8551)

lri $AR1,    #0x7217
lri $IX1,    #0x75d0
lri $WR1,    #0xa7bc
cw 0xd
call send_back  ; 34130 (0x8552)

lri $AR1,    #0xd608
lri $IX1,    #0xdfd4
lri $WR1,    #0x2dfc
cw 0xd
call send_back  ; 34131 (0x8553)

lri $AR1,    #0x6279
lri $IX1,    #0xb49c
lri $WR1,    #0xaecb
cw 0xd
call send_back  ; 34132 (0x8554)

lri $AR1,    #0x5f13
lri $IX1,    #0x6c4a
lri $WR1,    #0x59cd
cw 0xd
call send_back  ; 34133 (0x8555)

lri $AR1,    #0x7e9c
lri $IX1,    #0x4942
lri $WR1,    #0x6328
cw 0xd
call send_back  ; 34134 (0x8556)

lri $AR1,    #0x7906
lri $IX1,    #0x5b0e
lri $WR1,    #0x8b22
cw 0xd
call send_back  ; 34135 (0x8557)

lri $AR1,    #0xc128
lri $IX1,    #0x2686
lri $WR1,    #0xa25d
cw 0xd
call send_back  ; 34136 (0x8558)

lri $AR1,    #0x9cfa
lri $IX1,    #0x1046
lri $WR1,    #0xd2d6
cw 0xd
call send_back  ; 34137 (0x8559)

lri $AR1,    #0xc698
lri $IX1,    #0x8276
lri $WR1,    #0xe318
cw 0xd
call send_back  ; 34138 (0x855a)

lri $AR1,    #0x2feb
lri $IX1,    #0xd616
lri $WR1,    #0x7acd
cw 0xd
call send_back  ; 34139 (0x855b)

lri $AR1,    #0x6a3a
lri $IX1,    #0x2bb0
lri $WR1,    #0x8543
cw 0xd
call send_back  ; 34140 (0x855c)

lri $AR1,    #0x6e7f
lri $IX1,    #0x76ac
lri $WR1,    #0x87cd
cw 0xd
call send_back  ; 34141 (0x855d)

lri $AR1,    #0x72bf
lri $IX1,    #0xea30
lri $WR1,    #0x7fbe
cw 0xd
call send_back  ; 34142 (0x855e)

lri $AR1,    #0x7c4f
lri $IX1,    #0x95c4
lri $WR1,    #0x7cf1
cw 0xd
call send_back  ; 34143 (0x855f)

lri $AR1,    #0x563c
lri $IX1,    #0x3396
lri $WR1,    #0x9379
cw 0xd
call send_back  ; 34144 (0x8560)

lri $AR1,    #0xdeb2
lri $IX1,    #0xd1b2
lri $WR1,    #0xc88b
cw 0xd
call send_back  ; 34145 (0x8561)

lri $AR1,    #0x9dba
lri $IX1,    #0xfaee
lri $WR1,    #0xac26
cw 0xd
call send_back  ; 34146 (0x8562)

lri $AR1,    #0xab02
lri $IX1,    #0x33ec
lri $WR1,    #0x4294
cw 0xd
call send_back  ; 34147 (0x8563)

lri $AR1,    #0x7035
lri $IX1,    #0xe3f4
lri $WR1,    #0x9659
cw 0xd
call send_back  ; 34148 (0x8564)

lri $AR1,    #0xb065
lri $IX1,    #0xf908
lri $WR1,    #0xa489
cw 0xd
call send_back  ; 34149 (0x8565)

lri $AR1,    #0x4d2a
lri $IX1,    #0xa1e4
lri $WR1,    #0xb334
cw 0xd
call send_back  ; 34150 (0x8566)

lri $AR1,    #0x650e
lri $IX1,    #0x3856
lri $WR1,    #0xe2da
cw 0xd
call send_back  ; 34151 (0x8567)

lri $AR1,    #0x7ea1
lri $IX1,    #0xc9ba
lri $WR1,    #0xd190
cw 0xd
call send_back  ; 34152 (0x8568)

lri $AR1,    #0x5f16
lri $IX1,    #0x72d4
lri $WR1,    #0x4fd2
cw 0xd
call send_back  ; 34153 (0x8569)

lri $AR1,    #0xcaad
lri $IX1,    #0xdffe
lri $WR1,    #0x54a2
cw 0xd
call send_back  ; 34154 (0x856a)

lri $AR1,    #0xa0b3
lri $IX1,    #0x91c6
lri $WR1,    #0x6ffb
cw 0xd
call send_back  ; 34155 (0x856b)

lri $AR1,    #0x6c7a
lri $IX1,    #0xea0c
lri $WR1,    #0xd026
cw 0xd
call send_back  ; 34156 (0x856c)

lri $AR1,    #0x8006
lri $IX1,    #0x5cb4
lri $WR1,    #0x680b
cw 0xd
call send_back  ; 34157 (0x856d)

lri $AR1,    #0x5cd2
lri $IX1,    #0x4ade
lri $WR1,    #0x4204
cw 0xd
call send_back  ; 34158 (0x856e)

lri $AR1,    #0x7267
lri $IX1,    #0xeef6
lri $WR1,    #0x6c48
cw 0xd
call send_back  ; 34159 (0x856f)

lri $AR1,    #0x722b
lri $IX1,    #0x3350
lri $WR1,    #0x117b
cw 0xd
call send_back  ; 34160 (0x8570)

lri $AR1,    #0x8328
lri $IX1,    #0x34be
lri $WR1,    #0x9973
cw 0xd
call send_back  ; 34161 (0x8571)

lri $AR1,    #0xe025
lri $IX1,    #0x6de4
lri $WR1,    #0x7bc6
cw 0xd
call send_back  ; 34162 (0x8572)

lri $AR1,    #0xbddc
lri $IX1,    #0xf798
lri $WR1,    #0x9f2b
cw 0xd
call send_back  ; 34163 (0x8573)

lri $AR1,    #0x9e9c
lri $IX1,    #0xce1a
lri $WR1,    #0x1646
cw 0xd
call send_back  ; 34164 (0x8574)

lri $AR1,    #0x5427
lri $IX1,    #0x827e
lri $WR1,    #0x23dd
cw 0xd
call send_back  ; 34165 (0x8575)

lri $AR1,    #0x4028
lri $IX1,    #0x0b22
lri $WR1,    #0x8e29
cw 0xd
call send_back  ; 34166 (0x8576)

lri $AR1,    #0x46fa
lri $IX1,    #0x6558
lri $WR1,    #0xca25
cw 0xd
call send_back  ; 34167 (0x8577)

lri $AR1,    #0x402a
lri $IX1,    #0x4e3a
lri $WR1,    #0x4d95
cw 0xd
call send_back  ; 34168 (0x8578)

lri $AR1,    #0xdb68
lri $IX1,    #0x6000
lri $WR1,    #0x3fb9
cw 0xd
call send_back  ; 34169 (0x8579)

lri $AR1,    #0x5054
lri $IX1,    #0x3c66
lri $WR1,    #0xae4a
cw 0xd
call send_back  ; 34170 (0x857a)

lri $AR1,    #0xa2e2
lri $IX1,    #0xfcd4
lri $WR1,    #0xbdcf
cw 0xd
call send_back  ; 34171 (0x857b)

lri $AR1,    #0xadad
lri $IX1,    #0xc3bc
lri $WR1,    #0x61d1
cw 0xd
call send_back  ; 34172 (0x857c)

lri $AR1,    #0x5f08
lri $IX1,    #0xe2bc
lri $WR1,    #0x630a
cw 0xd
call send_back  ; 34173 (0x857d)

lri $AR1,    #0x851c
lri $IX1,    #0x7432
lri $WR1,    #0x371d
cw 0xd
call send_back  ; 34174 (0x857e)

lri $AR1,    #0x88eb
lri $IX1,    #0x66aa
lri $WR1,    #0x4edb
cw 0xd
call send_back  ; 34175 (0x857f)

lri $AR1,    #0x6f72
lri $IX1,    #0xabde
lri $WR1,    #0xe5b8
cw 0xd
call send_back  ; 34176 (0x8580)

lri $AR1,    #0xc3d9
lri $IX1,    #0x64ac
lri $WR1,    #0x666e
cw 0xd
call send_back  ; 34177 (0x8581)

lri $AR1,    #0x0ceb
lri $IX1,    #0x5ec4
lri $WR1,    #0x866b
cw 0xd
call send_back  ; 34178 (0x8582)

lri $AR1,    #0x83a5
lri $IX1,    #0xe86c
lri $WR1,    #0xab10
cw 0xd
call send_back  ; 34179 (0x8583)

lri $AR1,    #0x483f
lri $IX1,    #0xc218
lri $WR1,    #0xe162
cw 0xd
call send_back  ; 34180 (0x8584)

lri $AR1,    #0x2e6a
lri $IX1,    #0xad3c
lri $WR1,    #0x8a1a
cw 0xd
call send_back  ; 34181 (0x8585)

lri $AR1,    #0xc923
lri $IX1,    #0xa30e
lri $WR1,    #0xb9d8
cw 0xd
call send_back  ; 34182 (0x8586)

lri $AR1,    #0x81da
lri $IX1,    #0xfda2
lri $WR1,    #0x8e53
cw 0xd
call send_back  ; 34183 (0x8587)

lri $AR1,    #0x1e53
lri $IX1,    #0xb11c
lri $WR1,    #0x3f3e
cw 0xd
call send_back  ; 34184 (0x8588)

lri $AR1,    #0x83fe
lri $IX1,    #0xfa56
lri $WR1,    #0x5adc
cw 0xd
call send_back  ; 34185 (0x8589)

lri $AR1,    #0xa71c
lri $IX1,    #0x83c0
lri $WR1,    #0xcbe0
cw 0xd
call send_back  ; 34186 (0x858a)

lri $AR1,    #0x4788
lri $IX1,    #0xd0d0
lri $WR1,    #0x579a
cw 0xd
call send_back  ; 34187 (0x858b)

lri $AR1,    #0x4464
lri $IX1,    #0xa3d0
lri $WR1,    #0x9912
cw 0xd
call send_back  ; 34188 (0x858c)

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