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

lri $AR1,    #0x4e5a
lri $IX1,    #0xbe20
lri $WR1,    #0x1357
cw 0x15
call send_back  ; 57017 (0xdeb9)

lri $AR1,    #0x2ab9
lri $IX1,    #0x5000
lri $WR1,    #0x906f
cw 0x15
call send_back  ; 57018 (0xdeba)

lri $AR1,    #0xd734
lri $IX1,    #0xb304
lri $WR1,    #0xca7a
cw 0x15
call send_back  ; 57019 (0xdebb)

lri $AR1,    #0x52e6
lri $IX1,    #0x304a
lri $WR1,    #0x83b9
cw 0x15
call send_back  ; 57020 (0xdebc)

lri $AR1,    #0x86f0
lri $IX1,    #0xb8fa
lri $WR1,    #0x792b
cw 0x15
call send_back  ; 57021 (0xdebd)

lri $AR1,    #0x8618
lri $IX1,    #0xbd22
lri $WR1,    #0x8bca
cw 0x15
call send_back  ; 57022 (0xdebe)

lri $AR1,    #0xaf4e
lri $IX1,    #0x7cda
lri $WR1,    #0xa44c
cw 0x15
call send_back  ; 57023 (0xdebf)

lri $AR1,    #0xea4c
lri $IX1,    #0x41bc
lri $WR1,    #0xbc1c
cw 0x15
call send_back  ; 57024 (0xdec0)

lri $AR1,    #0x814c
lri $IX1,    #0xc76c
lri $WR1,    #0x7f78
cw 0x15
call send_back  ; 57025 (0xdec1)

lri $AR1,    #0x99f3
lri $IX1,    #0x9e6a
lri $WR1,    #0x8a65
cw 0x15
call send_back  ; 57026 (0xdec2)

lri $AR1,    #0x636c
lri $IX1,    #0xa4d2
lri $WR1,    #0xb36c
cw 0x15
call send_back  ; 57027 (0xdec3)

lri $AR1,    #0x96f0
lri $IX1,    #0xed42
lri $WR1,    #0x8cc4
cw 0x15
call send_back  ; 57028 (0xdec4)

lri $AR1,    #0x437c
lri $IX1,    #0xb48a
lri $WR1,    #0x9df0
cw 0x15
call send_back  ; 57029 (0xdec5)

lri $AR1,    #0x6d29
lri $IX1,    #0x7b64
lri $WR1,    #0xb564
cw 0x15
call send_back  ; 57030 (0xdec6)

lri $AR1,    #0x2bd9
lri $IX1,    #0x19e0
lri $WR1,    #0x733c
cw 0x15
call send_back  ; 57031 (0xdec7)

lri $AR1,    #0x0c8c
lri $IX1,    #0xceaa
lri $WR1,    #0x33a2
cw 0x15
call send_back  ; 57032 (0xdec8)

lri $AR1,    #0x6441
lri $IX1,    #0x04ec
lri $WR1,    #0xa8e1
cw 0x15
call send_back  ; 57033 (0xdec9)

lri $AR1,    #0x6296
lri $IX1,    #0xefe4
lri $WR1,    #0x22c0
cw 0x15
call send_back  ; 57034 (0xdeca)

lri $AR1,    #0x6613
lri $IX1,    #0x4c02
lri $WR1,    #0x1235
cw 0x15
call send_back  ; 57035 (0xdecb)

lri $AR1,    #0x3b5b
lri $IX1,    #0xb18e
lri $WR1,    #0xadfe
cw 0x15
call send_back  ; 57036 (0xdecc)

lri $AR1,    #0xec1b
lri $IX1,    #0x0db4
lri $WR1,    #0x1632
cw 0x15
call send_back  ; 57037 (0xdecd)

lri $AR1,    #0x720d
lri $IX1,    #0x2b08
lri $WR1,    #0xd24f
cw 0x15
call send_back  ; 57038 (0xdece)

lri $AR1,    #0x65d5
lri $IX1,    #0xd340
lri $WR1,    #0x66e8
cw 0x15
call send_back  ; 57039 (0xdecf)

lri $AR1,    #0x7909
lri $IX1,    #0x204e
lri $WR1,    #0x6577
cw 0x15
call send_back  ; 57040 (0xded0)

lri $AR1,    #0x163c
lri $IX1,    #0x2b8c
lri $WR1,    #0x225f
cw 0x15
call send_back  ; 57041 (0xded1)

lri $AR1,    #0xc158
lri $IX1,    #0x8e30
lri $WR1,    #0x8aba
cw 0x15
call send_back  ; 57042 (0xded2)

lri $AR1,    #0xa60d
lri $IX1,    #0x36a4
lri $WR1,    #0x44ff
cw 0x15
call send_back  ; 57043 (0xded3)

lri $AR1,    #0x89bc
lri $IX1,    #0x130e
lri $WR1,    #0xbd04
cw 0x15
call send_back  ; 57044 (0xded4)

lri $AR1,    #0x7191
lri $IX1,    #0x19a6
lri $WR1,    #0x557d
cw 0x15
call send_back  ; 57045 (0xded5)

lri $AR1,    #0x1d37
lri $IX1,    #0x6c0a
lri $WR1,    #0x9687
cw 0x15
call send_back  ; 57046 (0xded6)

lri $AR1,    #0xd9e4
lri $IX1,    #0xd346
lri $WR1,    #0xb23c
cw 0x15
call send_back  ; 57047 (0xded7)

lri $AR1,    #0x8913
lri $IX1,    #0xbec2
lri $WR1,    #0x7df2
cw 0x15
call send_back  ; 57048 (0xded8)

lri $AR1,    #0x61be
lri $IX1,    #0x68bc
lri $WR1,    #0xe839
cw 0x15
call send_back  ; 57049 (0xded9)

lri $AR1,    #0x5267
lri $IX1,    #0xe788
lri $WR1,    #0xe10f
cw 0x15
call send_back  ; 57050 (0xdeda)

lri $AR1,    #0xddba
lri $IX1,    #0xe344
lri $WR1,    #0x7b75
cw 0x15
call send_back  ; 57051 (0xdedb)

lri $AR1,    #0x3324
lri $IX1,    #0x8420
lri $WR1,    #0xa4ec
cw 0x15
call send_back  ; 57052 (0xdedc)

lri $AR1,    #0x801f
lri $IX1,    #0x160e
lri $WR1,    #0x88d9
cw 0x15
call send_back  ; 57053 (0xdedd)

lri $AR1,    #0x6699
lri $IX1,    #0xf2e8
lri $WR1,    #0x7386
cw 0x15
call send_back  ; 57054 (0xdede)

lri $AR1,    #0x8827
lri $IX1,    #0xa4c2
lri $WR1,    #0xa99f
cw 0x15
call send_back  ; 57055 (0xdedf)

lri $AR1,    #0x8d7d
lri $IX1,    #0xfea6
lri $WR1,    #0x8eef
cw 0x15
call send_back  ; 57056 (0xdee0)

lri $AR1,    #0x5cc9
lri $IX1,    #0x4268
lri $WR1,    #0x803a
cw 0x15
call send_back  ; 57057 (0xdee1)

lri $AR1,    #0xb177
lri $IX1,    #0x6eae
lri $WR1,    #0xd1f6
cw 0x15
call send_back  ; 57058 (0xdee2)

lri $AR1,    #0x5afd
lri $IX1,    #0xa0f0
lri $WR1,    #0x56c1
cw 0x15
call send_back  ; 57059 (0xdee3)

lri $AR1,    #0x7025
lri $IX1,    #0x33a0
lri $WR1,    #0x8652
cw 0x15
call send_back  ; 57060 (0xdee4)

lri $AR1,    #0x1f88
lri $IX1,    #0x091c
lri $WR1,    #0x36d2
cw 0x15
call send_back  ; 57061 (0xdee5)

lri $AR1,    #0x55a3
lri $IX1,    #0x68a2
lri $WR1,    #0xb844
cw 0x15
call send_back  ; 57062 (0xdee6)

lri $AR1,    #0x9442
lri $IX1,    #0x1302
lri $WR1,    #0x62fe
cw 0x15
call send_back  ; 57063 (0xdee7)

lri $AR1,    #0xee99
lri $IX1,    #0xe11a
lri $WR1,    #0x2fc5
cw 0x15
call send_back  ; 57064 (0xdee8)

lri $AR1,    #0x88e0
lri $IX1,    #0x7700
lri $WR1,    #0x99ac
cw 0x15
call send_back  ; 57065 (0xdee9)

lri $AR1,    #0x99b9
lri $IX1,    #0x7adc
lri $WR1,    #0xb72b
cw 0x15
call send_back  ; 57066 (0xdeea)

lri $AR1,    #0x9f37
lri $IX1,    #0x6f36
lri $WR1,    #0x898d
cw 0x15
call send_back  ; 57067 (0xdeeb)

lri $AR1,    #0x20d0
lri $IX1,    #0xecee
lri $WR1,    #0x574f
cw 0x15
call send_back  ; 57068 (0xdeec)

lri $AR1,    #0xd30c
lri $IX1,    #0xa17a
lri $WR1,    #0x5f70
cw 0x15
call send_back  ; 57069 (0xdeed)

lri $AR1,    #0xa14a
lri $IX1,    #0x4ab6
lri $WR1,    #0xb13d
cw 0x15
call send_back  ; 57070 (0xdeee)

lri $AR1,    #0x6555
lri $IX1,    #0x09d2
lri $WR1,    #0x55c0
cw 0x15
call send_back  ; 57071 (0xdeef)

lri $AR1,    #0x4c39
lri $IX1,    #0xf3ba
lri $WR1,    #0x9d51
cw 0x15
call send_back  ; 57072 (0xdef0)

lri $AR1,    #0x7303
lri $IX1,    #0xdd72
lri $WR1,    #0x2d5a
cw 0x15
call send_back  ; 57073 (0xdef1)

lri $AR1,    #0x85df
lri $IX1,    #0x27d2
lri $WR1,    #0xb7e7
cw 0x15
call send_back  ; 57074 (0xdef2)

lri $AR1,    #0x7f4c
lri $IX1,    #0xde26
lri $WR1,    #0x7802
cw 0x15
call send_back  ; 57075 (0xdef3)

lri $AR1,    #0xecb8
lri $IX1,    #0xf7e6
lri $WR1,    #0x8380
cw 0x15
call send_back  ; 57076 (0xdef4)

lri $AR1,    #0x3970
lri $IX1,    #0x1658
lri $WR1,    #0x9c3f
cw 0x15
call send_back  ; 57077 (0xdef5)

lri $AR1,    #0xcffd
lri $IX1,    #0xcb1e
lri $WR1,    #0x486a
cw 0x15
call send_back  ; 57078 (0xdef6)

lri $AR1,    #0xc603
lri $IX1,    #0x7584
lri $WR1,    #0x7ad1
cw 0x15
call send_back  ; 57079 (0xdef7)

lri $AR1,    #0x9daf
lri $IX1,    #0x30a4
lri $WR1,    #0x59eb
cw 0x15
call send_back  ; 57080 (0xdef8)

lri $AR1,    #0x53b5
lri $IX1,    #0x4528
lri $WR1,    #0x1d8d
cw 0x15
call send_back  ; 57081 (0xdef9)

lri $AR1,    #0x501c
lri $IX1,    #0x35ce
lri $WR1,    #0x68e4
cw 0x15
call send_back  ; 57082 (0xdefa)

lri $AR1,    #0xc39b
lri $IX1,    #0xee4c
lri $WR1,    #0x57ca
cw 0x15
call send_back  ; 57083 (0xdefb)

lri $AR1,    #0x62f0
lri $IX1,    #0xf8e8
lri $WR1,    #0x8bfb
cw 0x15
call send_back  ; 57084 (0xdefc)

lri $AR1,    #0xacf2
lri $IX1,    #0x0764
lri $WR1,    #0xc048
cw 0x15
call send_back  ; 57085 (0xdefd)

lri $AR1,    #0x57b0
lri $IX1,    #0xb05c
lri $WR1,    #0xa546
cw 0x15
call send_back  ; 57086 (0xdefe)

lri $AR1,    #0x846d
lri $IX1,    #0x22e2
lri $WR1,    #0x6c9c
cw 0x15
call send_back  ; 57087 (0xdeff)

lri $AR1,    #0x51cd
lri $IX1,    #0xde76
lri $WR1,    #0x4d6f
cw 0x15
call send_back  ; 57088 (0xdf00)

lri $AR1,    #0x2ef9
lri $IX1,    #0x5616
lri $WR1,    #0x560f
cw 0x15
call send_back  ; 57089 (0xdf01)

lri $AR1,    #0x5223
lri $IX1,    #0xe98e
lri $WR1,    #0x6c5d
cw 0x15
call send_back  ; 57090 (0xdf02)

lri $AR1,    #0x4809
lri $IX1,    #0xf0b6
lri $WR1,    #0xd010
cw 0x15
call send_back  ; 57091 (0xdf03)

lri $AR1,    #0x9a09
lri $IX1,    #0xd0d2
lri $WR1,    #0xa75d
cw 0x15
call send_back  ; 57092 (0xdf04)

lri $AR1,    #0x6358
lri $IX1,    #0x5cce
lri $WR1,    #0x7815
cw 0x15
call send_back  ; 57093 (0xdf05)

lri $AR1,    #0x3dd5
lri $IX1,    #0x356e
lri $WR1,    #0x4cca
cw 0x15
call send_back  ; 57094 (0xdf06)

lri $AR1,    #0x9236
lri $IX1,    #0x9f3c
lri $WR1,    #0x8708
cw 0x15
call send_back  ; 57095 (0xdf07)

lri $AR1,    #0x6ee5
lri $IX1,    #0x704e
lri $WR1,    #0xe535
cw 0x15
call send_back  ; 57096 (0xdf08)

lri $AR1,    #0xf451
lri $IX1,    #0x70a6
lri $WR1,    #0x6c2a
cw 0x15
call send_back  ; 57097 (0xdf09)

lri $AR1,    #0x8522
lri $IX1,    #0xec50
lri $WR1,    #0x920a
cw 0x15
call send_back  ; 57098 (0xdf0a)

lri $AR1,    #0x1bf6
lri $IX1,    #0x66f2
lri $WR1,    #0x997e
cw 0x15
call send_back  ; 57099 (0xdf0b)

lri $AR1,    #0x5014
lri $IX1,    #0x7d00
lri $WR1,    #0x61bf
cw 0x15
call send_back  ; 57100 (0xdf0c)

lri $AR1,    #0x0de1
lri $IX1,    #0x2740
lri $WR1,    #0xe9b1
cw 0x15
call send_back  ; 57101 (0xdf0d)

lri $AR1,    #0xb75d
lri $IX1,    #0xe9d0
lri $WR1,    #0x4170
cw 0x15
call send_back  ; 57102 (0xdf0e)

lri $AR1,    #0xa480
lri $IX1,    #0x185e
lri $WR1,    #0x8781
cw 0x15
call send_back  ; 57103 (0xdf0f)

lri $AR1,    #0xb2c8
lri $IX1,    #0x65ca
lri $WR1,    #0x3418
cw 0x15
call send_back  ; 57104 (0xdf10)

lri $AR1,    #0x1ebd
lri $IX1,    #0x8dc6
lri $WR1,    #0xbea7
cw 0x15
call send_back  ; 57105 (0xdf11)

lri $AR1,    #0xa1cf
lri $IX1,    #0x2bd2
lri $WR1,    #0x7728
cw 0x15
call send_back  ; 57106 (0xdf12)

lri $AR1,    #0xa246
lri $IX1,    #0xe310
lri $WR1,    #0x1e3c
cw 0x15
call send_back  ; 57107 (0xdf13)

lri $AR1,    #0x8aa5
lri $IX1,    #0xf752
lri $WR1,    #0x3cb9
cw 0x15
call send_back  ; 57108 (0xdf14)

lri $AR1,    #0x7951
lri $IX1,    #0x7fea
lri $WR1,    #0x54a4
cw 0x15
call send_back  ; 57109 (0xdf15)

lri $AR1,    #0x48bb
lri $IX1,    #0x9180
lri $WR1,    #0xa333
cw 0x15
call send_back  ; 57110 (0xdf16)

lri $AR1,    #0x53ee
lri $IX1,    #0x3c9a
lri $WR1,    #0xacf1
cw 0x15
call send_back  ; 57111 (0xdf17)

lri $AR1,    #0x32ca
lri $IX1,    #0x2b08
lri $WR1,    #0x1272
cw 0x15
call send_back  ; 57112 (0xdf18)

lri $AR1,    #0x54c1
lri $IX1,    #0x1ee6
lri $WR1,    #0x95d2
cw 0x15
call send_back  ; 57113 (0xdf19)

lri $AR1,    #0xc05a
lri $IX1,    #0xba50
lri $WR1,    #0x266f
cw 0x15
call send_back  ; 57114 (0xdf1a)

lri $AR1,    #0xb158
lri $IX1,    #0xe79c
lri $WR1,    #0x99f7
cw 0x15
call send_back  ; 57115 (0xdf1b)

lri $AR1,    #0x36cd
lri $IX1,    #0x1626
lri $WR1,    #0xcf68
cw 0x15
call send_back  ; 57116 (0xdf1c)

lri $AR1,    #0xade9
lri $IX1,    #0x687c
lri $WR1,    #0xb1f9
cw 0x15
call send_back  ; 57117 (0xdf1d)

lri $AR1,    #0xe5e0
lri $IX1,    #0x04fe
lri $WR1,    #0xcf8c
cw 0x15
call send_back  ; 57118 (0xdf1e)

lri $AR1,    #0x3c9f
lri $IX1,    #0x1aba
lri $WR1,    #0x57c1
cw 0x15
call send_back  ; 57119 (0xdf1f)

lri $AR1,    #0x7bbc
lri $IX1,    #0xf8a8
lri $WR1,    #0x3e1c
cw 0x15
call send_back  ; 57120 (0xdf20)

lri $AR1,    #0x885e
lri $IX1,    #0xedf4
lri $WR1,    #0x4374
cw 0x15
call send_back  ; 57121 (0xdf21)

lri $AR1,    #0x7875
lri $IX1,    #0xae8c
lri $WR1,    #0xb818
cw 0x15
call send_back  ; 57122 (0xdf22)

lri $AR1,    #0xb311
lri $IX1,    #0xc7a4
lri $WR1,    #0xb9d8
cw 0x15
call send_back  ; 57123 (0xdf23)

lri $AR1,    #0x491d
lri $IX1,    #0x6c58
lri $WR1,    #0x6665
cw 0x15
call send_back  ; 57124 (0xdf24)

lri $AR1,    #0x8f6b
lri $IX1,    #0xab20
lri $WR1,    #0x543a
cw 0x15
call send_back  ; 57125 (0xdf25)

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