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

lri $AR1,    #0x7ccf
lri $IX1,    #0xef90
lri $WR1,    #0x9e30
cw 0x15
call send_back  ; 65100 (0xfe4c)

lri $AR1,    #0x3ef1
lri $IX1,    #0x1026
lri $WR1,    #0x80d3
cw 0x15
call send_back  ; 65101 (0xfe4d)

lri $AR1,    #0x71ec
lri $IX1,    #0xf606
lri $WR1,    #0x96b4
cw 0x15
call send_back  ; 65102 (0xfe4e)

lri $AR1,    #0xb6b9
lri $IX1,    #0x97f2
lri $WR1,    #0x738b
cw 0x15
call send_back  ; 65103 (0xfe4f)

lri $AR1,    #0x5621
lri $IX1,    #0xf708
lri $WR1,    #0xa655
cw 0x15
call send_back  ; 65104 (0xfe50)

lri $AR1,    #0x2dcc
lri $IX1,    #0x18f2
lri $WR1,    #0xd05a
cw 0x15
call send_back  ; 65105 (0xfe51)

lri $AR1,    #0x5597
lri $IX1,    #0x1b4c
lri $WR1,    #0x33f8
cw 0x15
call send_back  ; 65106 (0xfe52)

lri $AR1,    #0x2b07
lri $IX1,    #0xa40e
lri $WR1,    #0xa64a
cw 0x15
call send_back  ; 65107 (0xfe53)

lri $AR1,    #0xb830
lri $IX1,    #0xef0c
lri $WR1,    #0x4427
cw 0x15
call send_back  ; 65108 (0xfe54)

lri $AR1,    #0x86d3
lri $IX1,    #0xc148
lri $WR1,    #0x64ac
cw 0x15
call send_back  ; 65109 (0xfe55)

lri $AR1,    #0xc00f
lri $IX1,    #0xbf4c
lri $WR1,    #0x60b6
cw 0x15
call send_back  ; 65110 (0xfe56)

lri $AR1,    #0x5c6c
lri $IX1,    #0x2430
lri $WR1,    #0x4885
cw 0x15
call send_back  ; 65111 (0xfe57)

lri $AR1,    #0x7f9b
lri $IX1,    #0xc388
lri $WR1,    #0x65f3
cw 0x15
call send_back  ; 65112 (0xfe58)

lri $AR1,    #0x46ab
lri $IX1,    #0xb8e0
lri $WR1,    #0xd373
cw 0x15
call send_back  ; 65113 (0xfe59)

lri $AR1,    #0xaf0e
lri $IX1,    #0x4bf8
lri $WR1,    #0x5d48
cw 0x15
call send_back  ; 65114 (0xfe5a)

lri $AR1,    #0x3049
lri $IX1,    #0x8174
lri $WR1,    #0xb416
cw 0x15
call send_back  ; 65115 (0xfe5b)

lri $AR1,    #0x8979
lri $IX1,    #0xac38
lri $WR1,    #0x8d62
cw 0x15
call send_back  ; 65116 (0xfe5c)

lri $AR1,    #0x7fae
lri $IX1,    #0x3c00
lri $WR1,    #0x87f6
cw 0x15
call send_back  ; 65117 (0xfe5d)

lri $AR1,    #0x3949
lri $IX1,    #0x1a8e
lri $WR1,    #0x67df
cw 0x15
call send_back  ; 65118 (0xfe5e)

lri $AR1,    #0xe635
lri $IX1,    #0x4904
lri $WR1,    #0x5eef
cw 0x15
call send_back  ; 65119 (0xfe5f)

lri $AR1,    #0x5c55
lri $IX1,    #0x3b9a
lri $WR1,    #0x7c72
cw 0x15
call send_back  ; 65120 (0xfe60)

lri $AR1,    #0x9af2
lri $IX1,    #0xca6c
lri $WR1,    #0x6813
cw 0x15
call send_back  ; 65121 (0xfe61)

lri $AR1,    #0xa767
lri $IX1,    #0x9290
lri $WR1,    #0x9989
cw 0x15
call send_back  ; 65122 (0xfe62)

lri $AR1,    #0x4900
lri $IX1,    #0x7308
lri $WR1,    #0xb018
cw 0x15
call send_back  ; 65123 (0xfe63)

lri $AR1,    #0xb13a
lri $IX1,    #0x8df4
lri $WR1,    #0xc27b
cw 0x15
call send_back  ; 65124 (0xfe64)

lri $AR1,    #0x7943
lri $IX1,    #0xfe7c
lri $WR1,    #0xd93d
cw 0x15
call send_back  ; 65125 (0xfe65)

lri $AR1,    #0x6d0c
lri $IX1,    #0x68ca
lri $WR1,    #0xa329
cw 0x15
call send_back  ; 65126 (0xfe66)

lri $AR1,    #0xbfb3
lri $IX1,    #0xc9ba
lri $WR1,    #0xb4b3
cw 0x15
call send_back  ; 65127 (0xfe67)

lri $AR1,    #0x5ca2
lri $IX1,    #0x9858
lri $WR1,    #0xa92c
cw 0x15
call send_back  ; 65128 (0xfe68)

lri $AR1,    #0x7425
lri $IX1,    #0x8404
lri $WR1,    #0x2584
cw 0x15
call send_back  ; 65129 (0xfe69)

lri $AR1,    #0x01d1
lri $IX1,    #0xfe52
lri $WR1,    #0xea78
cw 0x15
call send_back  ; 65130 (0xfe6a)

lri $AR1,    #0x3e8e
lri $IX1,    #0x7056
lri $WR1,    #0x34fa
cw 0x15
call send_back  ; 65131 (0xfe6b)

lri $AR1,    #0x1786
lri $IX1,    #0x979c
lri $WR1,    #0x018b
cw 0x15
call send_back  ; 65132 (0xfe6c)

lri $AR1,    #0xbed5
lri $IX1,    #0x2f6a
lri $WR1,    #0x408b
cw 0x15
call send_back  ; 65133 (0xfe6d)

lri $AR1,    #0x9a4a
lri $IX1,    #0xdf80
lri $WR1,    #0x870c
cw 0x15
call send_back  ; 65134 (0xfe6e)

lri $AR1,    #0x980a
lri $IX1,    #0x8a24
lri $WR1,    #0xa93d
cw 0x15
call send_back  ; 65135 (0xfe6f)

lri $AR1,    #0xa853
lri $IX1,    #0x9f62
lri $WR1,    #0x50f9
cw 0x15
call send_back  ; 65136 (0xfe70)

lri $AR1,    #0xa745
lri $IX1,    #0x3494
lri $WR1,    #0x6c90
cw 0x15
call send_back  ; 65137 (0xfe71)

lri $AR1,    #0xc101
lri $IX1,    #0x62fc
lri $WR1,    #0x1f4f
cw 0x15
call send_back  ; 65138 (0xfe72)

lri $AR1,    #0xadd8
lri $IX1,    #0x016e
lri $WR1,    #0x8ee6
cw 0x15
call send_back  ; 65139 (0xfe73)

lri $AR1,    #0x6bef
lri $IX1,    #0x4912
lri $WR1,    #0xde2d
cw 0x15
call send_back  ; 65140 (0xfe74)

lri $AR1,    #0x3724
lri $IX1,    #0x7df8
lri $WR1,    #0x3f68
cw 0x15
call send_back  ; 65141 (0xfe75)

lri $AR1,    #0x4f77
lri $IX1,    #0x68ae
lri $WR1,    #0xa584
cw 0x15
call send_back  ; 65142 (0xfe76)

lri $AR1,    #0x81dd
lri $IX1,    #0x6e8c
lri $WR1,    #0x1d74
cw 0x15
call send_back  ; 65143 (0xfe77)

lri $AR1,    #0xbeb9
lri $IX1,    #0x82d8
lri $WR1,    #0x9e37
cw 0x15
call send_back  ; 65144 (0xfe78)

lri $AR1,    #0xb4d4
lri $IX1,    #0x238c
lri $WR1,    #0x8781
cw 0x15
call send_back  ; 65145 (0xfe79)

lri $AR1,    #0xc727
lri $IX1,    #0x38cc
lri $WR1,    #0x74c6
cw 0x15
call send_back  ; 65146 (0xfe7a)

lri $AR1,    #0xa73c
lri $IX1,    #0x1eda
lri $WR1,    #0xdb84
cw 0x15
call send_back  ; 65147 (0xfe7b)

lri $AR1,    #0x4587
lri $IX1,    #0x7eae
lri $WR1,    #0x817b
cw 0x15
call send_back  ; 65148 (0xfe7c)

lri $AR1,    #0x8473
lri $IX1,    #0x01d4
lri $WR1,    #0x90df
cw 0x15
call send_back  ; 65149 (0xfe7d)

lri $AR1,    #0x8a82
lri $IX1,    #0x82d0
lri $WR1,    #0x4e0a
cw 0x15
call send_back  ; 65150 (0xfe7e)

lri $AR1,    #0x934c
lri $IX1,    #0x3bc2
lri $WR1,    #0x13c6
cw 0x15
call send_back  ; 65151 (0xfe7f)

lri $AR1,    #0x96a7
lri $IX1,    #0xc156
lri $WR1,    #0xa0bc
cw 0x15
call send_back  ; 65152 (0xfe80)

lri $AR1,    #0x68d5
lri $IX1,    #0x70d8
lri $WR1,    #0x4a21
cw 0x15
call send_back  ; 65153 (0xfe81)

lri $AR1,    #0x75f4
lri $IX1,    #0x7c7e
lri $WR1,    #0x3519
cw 0x15
call send_back  ; 65154 (0xfe82)

lri $AR1,    #0x4e9e
lri $IX1,    #0x11ac
lri $WR1,    #0x2a01
cw 0x15
call send_back  ; 65155 (0xfe83)

lri $AR1,    #0xc2e0
lri $IX1,    #0x5154
lri $WR1,    #0x4a10
cw 0x15
call send_back  ; 65156 (0xfe84)

lri $AR1,    #0xa485
lri $IX1,    #0x1b2c
lri $WR1,    #0xc97b
cw 0x15
call send_back  ; 65157 (0xfe85)

lri $AR1,    #0xd8df
lri $IX1,    #0x20e4
lri $WR1,    #0xad99
cw 0x15
call send_back  ; 65158 (0xfe86)

lri $AR1,    #0x85f9
lri $IX1,    #0x7712
lri $WR1,    #0xd018
cw 0x15
call send_back  ; 65159 (0xfe87)

lri $AR1,    #0x3e70
lri $IX1,    #0x05fa
lri $WR1,    #0xede5
cw 0x15
call send_back  ; 65160 (0xfe88)

lri $AR1,    #0x7ac8
lri $IX1,    #0xf4e8
lri $WR1,    #0xb1bb
cw 0x15
call send_back  ; 65161 (0xfe89)

lri $AR1,    #0x4e9d
lri $IX1,    #0x8f54
lri $WR1,    #0x5802
cw 0x15
call send_back  ; 65162 (0xfe8a)

lri $AR1,    #0x7b5f
lri $IX1,    #0x5370
lri $WR1,    #0x9b05
cw 0x15
call send_back  ; 65163 (0xfe8b)

lri $AR1,    #0x2a0c
lri $IX1,    #0xf65e
lri $WR1,    #0x6c03
cw 0x15
call send_back  ; 65164 (0xfe8c)

lri $AR1,    #0x109b
lri $IX1,    #0x52ae
lri $WR1,    #0x7745
cw 0x15
call send_back  ; 65165 (0xfe8d)

lri $AR1,    #0x7780
lri $IX1,    #0x8a6a
lri $WR1,    #0x6eaa
cw 0x15
call send_back  ; 65166 (0xfe8e)

lri $AR1,    #0xd708
lri $IX1,    #0x464e
lri $WR1,    #0x77d8
cw 0x15
call send_back  ; 65167 (0xfe8f)

lri $AR1,    #0x7be4
lri $IX1,    #0x0862
lri $WR1,    #0xc08b
cw 0x15
call send_back  ; 65168 (0xfe90)

lri $AR1,    #0xadb1
lri $IX1,    #0x20a8
lri $WR1,    #0x8517
cw 0x15
call send_back  ; 65169 (0xfe91)

lri $AR1,    #0x91d2
lri $IX1,    #0x1708
lri $WR1,    #0xa2ba
cw 0x15
call send_back  ; 65170 (0xfe92)

lri $AR1,    #0xd864
lri $IX1,    #0x6e36
lri $WR1,    #0x80ba
cw 0x15
call send_back  ; 65171 (0xfe93)

lri $AR1,    #0x889d
lri $IX1,    #0x9fac
lri $WR1,    #0x90f2
cw 0x15
call send_back  ; 65172 (0xfe94)

lri $AR1,    #0x5d77
lri $IX1,    #0x3988
lri $WR1,    #0xc1c6
cw 0x15
call send_back  ; 65173 (0xfe95)

lri $AR1,    #0x72d6
lri $IX1,    #0x3b5e
lri $WR1,    #0xd937
cw 0x15
call send_back  ; 65174 (0xfe96)

lri $AR1,    #0x6719
lri $IX1,    #0x4fc0
lri $WR1,    #0xb1ee
cw 0x15
call send_back  ; 65175 (0xfe97)

lri $AR1,    #0x6c56
lri $IX1,    #0x6cac
lri $WR1,    #0x9907
cw 0x15
call send_back  ; 65176 (0xfe98)

lri $AR1,    #0x7011
lri $IX1,    #0xdd88
lri $WR1,    #0x7481
cw 0x15
call send_back  ; 65177 (0xfe99)

lri $AR1,    #0xdfc5
lri $IX1,    #0xdddc
lri $WR1,    #0x47fc
cw 0x15
call send_back  ; 65178 (0xfe9a)

lri $AR1,    #0x840b
lri $IX1,    #0xdc88
lri $WR1,    #0x7ecc
cw 0x15
call send_back  ; 65179 (0xfe9b)

lri $AR1,    #0x53a5
lri $IX1,    #0x5b9a
lri $WR1,    #0x77f3
cw 0x15
call send_back  ; 65180 (0xfe9c)

lri $AR1,    #0x5b5c
lri $IX1,    #0x4968
lri $WR1,    #0x8a0b
cw 0x15
call send_back  ; 65181 (0xfe9d)

lri $AR1,    #0x46d4
lri $IX1,    #0xc43e
lri $WR1,    #0x72ba
cw 0x15
call send_back  ; 65182 (0xfe9e)

lri $AR1,    #0x9a4f
lri $IX1,    #0x9a38
lri $WR1,    #0x46c5
cw 0x15
call send_back  ; 65183 (0xfe9f)

lri $AR1,    #0xa498
lri $IX1,    #0xa376
lri $WR1,    #0xdd35
cw 0x15
call send_back  ; 65184 (0xfea0)

lri $AR1,    #0x7bea
lri $IX1,    #0x6d74
lri $WR1,    #0x39c1
cw 0x15
call send_back  ; 65185 (0xfea1)

lri $AR1,    #0x582a
lri $IX1,    #0xb28a
lri $WR1,    #0x8800
cw 0x15
call send_back  ; 65186 (0xfea2)

lri $AR1,    #0xb037
lri $IX1,    #0xe978
lri $WR1,    #0xaa63
cw 0x15
call send_back  ; 65187 (0xfea3)

lri $AR1,    #0x87b7
lri $IX1,    #0xf508
lri $WR1,    #0x15a3
cw 0x15
call send_back  ; 65188 (0xfea4)

lri $AR1,    #0x360a
lri $IX1,    #0xc47c
lri $WR1,    #0x8a9a
cw 0x15
call send_back  ; 65189 (0xfea5)

lri $AR1,    #0x7eea
lri $IX1,    #0xaa0a
lri $WR1,    #0x9e2f
cw 0x15
call send_back  ; 65190 (0xfea6)

lri $AR1,    #0x784c
lri $IX1,    #0x6d02
lri $WR1,    #0x4047
cw 0x15
call send_back  ; 65191 (0xfea7)

lri $AR1,    #0x50fd
lri $IX1,    #0xc9e0
lri $WR1,    #0x786c
cw 0x15
call send_back  ; 65192 (0xfea8)

lri $AR1,    #0x76bf
lri $IX1,    #0x4adc
lri $WR1,    #0xb822
cw 0x15
call send_back  ; 65193 (0xfea9)

lri $AR1,    #0x3a31
lri $IX1,    #0x4852
lri $WR1,    #0x5082
cw 0x15
call send_back  ; 65194 (0xfeaa)

lri $AR1,    #0xc24d
lri $IX1,    #0x9094
lri $WR1,    #0x2a29
cw 0x15
call send_back  ; 65195 (0xfeab)

lri $AR1,    #0xc8e3
lri $IX1,    #0xd354
lri $WR1,    #0xb41a
cw 0x15
call send_back  ; 65196 (0xfeac)

lri $AR1,    #0x14c6
lri $IX1,    #0x9572
lri $WR1,    #0x7780
cw 0x15
call send_back  ; 65197 (0xfead)

lri $AR1,    #0xd60d
lri $IX1,    #0x463e
lri $WR1,    #0xbc0d
cw 0x15
call send_back  ; 65198 (0xfeae)

lri $AR1,    #0xcc31
lri $IX1,    #0x2ff0
lri $WR1,    #0x89dc
cw 0x15
call send_back  ; 65199 (0xfeaf)

lri $AR1,    #0x5555
lri $IX1,    #0x8984
lri $WR1,    #0x7b89
cw 0x15
call send_back  ; 65200 (0xfeb0)

lri $AR1,    #0x1191
lri $IX1,    #0x08ac
lri $WR1,    #0x9c6f
cw 0x15
call send_back  ; 65201 (0xfeb1)

lri $AR1,    #0x848b
lri $IX1,    #0x16f2
lri $WR1,    #0x5cbb
cw 0x15
call send_back  ; 65202 (0xfeb2)

lri $AR1,    #0x732a
lri $IX1,    #0x5de6
lri $WR1,    #0xd649
cw 0x15
call send_back  ; 65203 (0xfeb3)

lri $AR1,    #0x82bb
lri $IX1,    #0xda5a
lri $WR1,    #0x12f2
cw 0x15
call send_back  ; 65204 (0xfeb4)

lri $AR1,    #0xba4f
lri $IX1,    #0x2f78
lri $WR1,    #0x9e46
cw 0x15
call send_back  ; 65205 (0xfeb5)

lri $AR1,    #0x56ad
lri $IX1,    #0xa6da
lri $WR1,    #0x4a50
cw 0x15
call send_back  ; 65206 (0xfeb6)

lri $AR1,    #0x44a1
lri $IX1,    #0x4b4c
lri $WR1,    #0x9071
cw 0x15
call send_back  ; 65207 (0xfeb7)

lri $AR1,    #0xecf3
lri $IX1,    #0xf884
lri $WR1,    #0xbce5
cw 0x15
call send_back  ; 65208 (0xfeb8)

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