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

lri $AR1,    #0x891a
lri $IX1,    #0xf396
lri $WR1,    #0xd4b9
cw 0xd
call send_back  ; 10050 (0x2742)

lri $AR1,    #0x4b89
lri $IX1,    #0xcaa4
lri $WR1,    #0xb43e
cw 0xd
call send_back  ; 10051 (0x2743)

lri $AR1,    #0x90e9
lri $IX1,    #0xdcd6
lri $WR1,    #0x9990
cw 0xd
call send_back  ; 10052 (0x2744)

lri $AR1,    #0x5965
lri $IX1,    #0xdfe8
lri $WR1,    #0x2c8c
cw 0xd
call send_back  ; 10053 (0x2745)

lri $AR1,    #0x8f66
lri $IX1,    #0xa3ce
lri $WR1,    #0x81a2
cw 0xd
call send_back  ; 10054 (0x2746)

lri $AR1,    #0xb934
lri $IX1,    #0xaa42
lri $WR1,    #0x238c
cw 0xd
call send_back  ; 10055 (0x2747)

lri $AR1,    #0xf55e
lri $IX1,    #0x0a82
lri $WR1,    #0xa4ae
cw 0xd
call send_back  ; 10056 (0x2748)

lri $AR1,    #0x308d
lri $IX1,    #0xa676
lri $WR1,    #0xc82f
cw 0xd
call send_back  ; 10057 (0x2749)

lri $AR1,    #0xa32e
lri $IX1,    #0x5206
lri $WR1,    #0x8052
cw 0xd
call send_back  ; 10058 (0x274a)

lri $AR1,    #0xd8b4
lri $IX1,    #0x5d12
lri $WR1,    #0x912a
cw 0xd
call send_back  ; 10059 (0x274b)

lri $AR1,    #0xa9cc
lri $IX1,    #0xd3bc
lri $WR1,    #0x7c31
cw 0xd
call send_back  ; 10060 (0x274c)

lri $AR1,    #0x8e51
lri $IX1,    #0xa066
lri $WR1,    #0xd2d8
cw 0xd
call send_back  ; 10061 (0x274d)

lri $AR1,    #0x5b4a
lri $IX1,    #0x6626
lri $WR1,    #0x8b9b
cw 0xd
call send_back  ; 10062 (0x274e)

lri $AR1,    #0xc4c3
lri $IX1,    #0x4a12
lri $WR1,    #0x56a9
cw 0xd
call send_back  ; 10063 (0x274f)

lri $AR1,    #0xb2e1
lri $IX1,    #0xd524
lri $WR1,    #0x14b7
cw 0xd
call send_back  ; 10064 (0x2750)

lri $AR1,    #0x84e4
lri $IX1,    #0x800e
lri $WR1,    #0xdc05
cw 0xd
call send_back  ; 10065 (0x2751)

lri $AR1,    #0x1c7f
lri $IX1,    #0x35c6
lri $WR1,    #0x452a
cw 0xd
call send_back  ; 10066 (0x2752)

lri $AR1,    #0x5f51
lri $IX1,    #0x0930
lri $WR1,    #0x6ab5
cw 0xd
call send_back  ; 10067 (0x2753)

lri $AR1,    #0x23c4
lri $IX1,    #0x5d90
lri $WR1,    #0x7c3b
cw 0xd
call send_back  ; 10068 (0x2754)

lri $AR1,    #0x9a33
lri $IX1,    #0xb93c
lri $WR1,    #0x5ecc
cw 0xd
call send_back  ; 10069 (0x2755)

lri $AR1,    #0x9293
lri $IX1,    #0x453e
lri $WR1,    #0x7281
cw 0xd
call send_back  ; 10070 (0x2756)

lri $AR1,    #0xe285
lri $IX1,    #0x7c5a
lri $WR1,    #0x960e
cw 0xd
call send_back  ; 10071 (0x2757)

lri $AR1,    #0x8713
lri $IX1,    #0x9f12
lri $WR1,    #0x4708
cw 0xd
call send_back  ; 10072 (0x2758)

lri $AR1,    #0xc8e1
lri $IX1,    #0x0a36
lri $WR1,    #0x26d9
cw 0xd
call send_back  ; 10073 (0x2759)

lri $AR1,    #0x893e
lri $IX1,    #0x689a
lri $WR1,    #0x19fc
cw 0xd
call send_back  ; 10074 (0x275a)

lri $AR1,    #0x51c1
lri $IX1,    #0xc870
lri $WR1,    #0x888d
cw 0xd
call send_back  ; 10075 (0x275b)

lri $AR1,    #0xa7e3
lri $IX1,    #0xbff4
lri $WR1,    #0x5cc8
cw 0xd
call send_back  ; 10076 (0x275c)

lri $AR1,    #0x614d
lri $IX1,    #0xe4ba
lri $WR1,    #0x9572
cw 0xd
call send_back  ; 10077 (0x275d)

lri $AR1,    #0xa533
lri $IX1,    #0xc49c
lri $WR1,    #0x7fcc
cw 0xd
call send_back  ; 10078 (0x275e)

lri $AR1,    #0x4a9d
lri $IX1,    #0x2e4e
lri $WR1,    #0x4e23
cw 0xd
call send_back  ; 10079 (0x275f)

lri $AR1,    #0xbac4
lri $IX1,    #0xcbb2
lri $WR1,    #0x257a
cw 0xd
call send_back  ; 10080 (0x2760)

lri $AR1,    #0xca88
lri $IX1,    #0xb700
lri $WR1,    #0x4674
cw 0xd
call send_back  ; 10081 (0x2761)

lri $AR1,    #0xfd1d
lri $IX1,    #0xafc0
lri $WR1,    #0x8300
cw 0xd
call send_back  ; 10082 (0x2762)

lri $AR1,    #0xb5e7
lri $IX1,    #0xc3c4
lri $WR1,    #0xa3da
cw 0xd
call send_back  ; 10083 (0x2763)

lri $AR1,    #0xe6bc
lri $IX1,    #0x8406
lri $WR1,    #0x9674
cw 0xd
call send_back  ; 10084 (0x2764)

lri $AR1,    #0x2361
lri $IX1,    #0x14b6
lri $WR1,    #0x9554
cw 0xd
call send_back  ; 10085 (0x2765)

lri $AR1,    #0x129e
lri $IX1,    #0x733c
lri $WR1,    #0x5a78
cw 0xd
call send_back  ; 10086 (0x2766)

lri $AR1,    #0x58ab
lri $IX1,    #0x0c9e
lri $WR1,    #0x2cd3
cw 0xd
call send_back  ; 10087 (0x2767)

lri $AR1,    #0xae47
lri $IX1,    #0x11e2
lri $WR1,    #0x1f66
cw 0xd
call send_back  ; 10088 (0x2768)

lri $AR1,    #0x435a
lri $IX1,    #0xc000
lri $WR1,    #0x8220
cw 0xd
call send_back  ; 10089 (0x2769)

lri $AR1,    #0x2b4f
lri $IX1,    #0xebfe
lri $WR1,    #0xb1f2
cw 0xd
call send_back  ; 10090 (0x276a)

lri $AR1,    #0xc525
lri $IX1,    #0x739e
lri $WR1,    #0x8746
cw 0xd
call send_back  ; 10091 (0x276b)

lri $AR1,    #0xb85f
lri $IX1,    #0x966c
lri $WR1,    #0x7758
cw 0xd
call send_back  ; 10092 (0x276c)

lri $AR1,    #0x9bb0
lri $IX1,    #0x927e
lri $WR1,    #0x767c
cw 0xd
call send_back  ; 10093 (0x276d)

lri $AR1,    #0x89c3
lri $IX1,    #0x0ba6
lri $WR1,    #0xa700
cw 0xd
call send_back  ; 10094 (0x276e)

lri $AR1,    #0xabd1
lri $IX1,    #0xa37c
lri $WR1,    #0xc187
cw 0xd
call send_back  ; 10095 (0x276f)

lri $AR1,    #0x796f
lri $IX1,    #0x9c06
lri $WR1,    #0x49a8
cw 0xd
call send_back  ; 10096 (0x2770)

lri $AR1,    #0x7859
lri $IX1,    #0x4646
lri $WR1,    #0x6aa7
cw 0xd
call send_back  ; 10097 (0x2771)

lri $AR1,    #0x8685
lri $IX1,    #0x3992
lri $WR1,    #0xa60c
cw 0xd
call send_back  ; 10098 (0x2772)

lri $AR1,    #0x0c5d
lri $IX1,    #0xbfee
lri $WR1,    #0xaefd
cw 0xd
call send_back  ; 10099 (0x2773)

lri $AR1,    #0xbc5f
lri $IX1,    #0x6746
lri $WR1,    #0x430d
cw 0xd
call send_back  ; 10100 (0x2774)

lri $AR1,    #0x20ff
lri $IX1,    #0x1ee8
lri $WR1,    #0x6a74
cw 0xd
call send_back  ; 10101 (0x2775)

lri $AR1,    #0x8916
lri $IX1,    #0x93d8
lri $WR1,    #0xa75a
cw 0xd
call send_back  ; 10102 (0x2776)

lri $AR1,    #0x46b3
lri $IX1,    #0x7e9a
lri $WR1,    #0x9d2a
cw 0xd
call send_back  ; 10103 (0x2777)

lri $AR1,    #0x8b8d
lri $IX1,    #0x2800
lri $WR1,    #0x7e97
cw 0xd
call send_back  ; 10104 (0x2778)

lri $AR1,    #0x5a07
lri $IX1,    #0x7266
lri $WR1,    #0x7a53
cw 0xd
call send_back  ; 10105 (0x2779)

lri $AR1,    #0x60f2
lri $IX1,    #0x1042
lri $WR1,    #0x4c07
cw 0xd
call send_back  ; 10106 (0x277a)

lri $AR1,    #0x0bf0
lri $IX1,    #0x2028
lri $WR1,    #0xe8a7
cw 0xd
call send_back  ; 10107 (0x277b)

lri $AR1,    #0x79ce
lri $IX1,    #0x0a38
lri $WR1,    #0xd2ae
cw 0xd
call send_back  ; 10108 (0x277c)

lri $AR1,    #0xc58e
lri $IX1,    #0x1242
lri $WR1,    #0x5c47
cw 0xd
call send_back  ; 10109 (0x277d)

lri $AR1,    #0x7e89
lri $IX1,    #0x7d56
lri $WR1,    #0x5b03
cw 0xd
call send_back  ; 10110 (0x277e)

lri $AR1,    #0xaf70
lri $IX1,    #0x492c
lri $WR1,    #0x7226
cw 0xd
call send_back  ; 10111 (0x277f)

lri $AR1,    #0xcb72
lri $IX1,    #0x2730
lri $WR1,    #0x7e10
cw 0xd
call send_back  ; 10112 (0x2780)

lri $AR1,    #0xa467
lri $IX1,    #0x9472
lri $WR1,    #0xb4ee
cw 0xd
call send_back  ; 10113 (0x2781)

lri $AR1,    #0x8c47
lri $IX1,    #0x634e
lri $WR1,    #0x1e1d
cw 0xd
call send_back  ; 10114 (0x2782)

lri $AR1,    #0x57c2
lri $IX1,    #0xbb3c
lri $WR1,    #0x736f
cw 0xd
call send_back  ; 10115 (0x2783)

lri $AR1,    #0x7f3e
lri $IX1,    #0x5662
lri $WR1,    #0xb4d5
cw 0xd
call send_back  ; 10116 (0x2784)

lri $AR1,    #0x771e
lri $IX1,    #0x7c62
lri $WR1,    #0x907e
cw 0xd
call send_back  ; 10117 (0x2785)

lri $AR1,    #0x678e
lri $IX1,    #0xc520
lri $WR1,    #0x9ef5
cw 0xd
call send_back  ; 10118 (0x2786)

lri $AR1,    #0x8fad
lri $IX1,    #0xede2
lri $WR1,    #0x3464
cw 0xd
call send_back  ; 10119 (0x2787)

lri $AR1,    #0x3771
lri $IX1,    #0xde7c
lri $WR1,    #0x8d6c
cw 0xd
call send_back  ; 10120 (0x2788)

lri $AR1,    #0x7ef9
lri $IX1,    #0x43f8
lri $WR1,    #0xc7c2
cw 0xd
call send_back  ; 10121 (0x2789)

lri $AR1,    #0x79b6
lri $IX1,    #0xc178
lri $WR1,    #0x4408
cw 0xd
call send_back  ; 10122 (0x278a)

lri $AR1,    #0x3732
lri $IX1,    #0x87a0
lri $WR1,    #0x9ffd
cw 0xd
call send_back  ; 10123 (0x278b)

lri $AR1,    #0x82c1
lri $IX1,    #0x0668
lri $WR1,    #0xcd9c
cw 0xd
call send_back  ; 10124 (0x278c)

lri $AR1,    #0x9ef3
lri $IX1,    #0x4496
lri $WR1,    #0x4522
cw 0xd
call send_back  ; 10125 (0x278d)

lri $AR1,    #0x7115
lri $IX1,    #0x13ba
lri $WR1,    #0x4da9
cw 0xd
call send_back  ; 10126 (0x278e)

lri $AR1,    #0xd48a
lri $IX1,    #0xb6ee
lri $WR1,    #0xb94e
cw 0xd
call send_back  ; 10127 (0x278f)

lri $AR1,    #0x855c
lri $IX1,    #0x8644
lri $WR1,    #0x9785
cw 0xd
call send_back  ; 10128 (0x2790)

lri $AR1,    #0x9cc1
lri $IX1,    #0x8010
lri $WR1,    #0xa99a
cw 0xd
call send_back  ; 10129 (0x2791)

lri $AR1,    #0x59f2
lri $IX1,    #0x7502
lri $WR1,    #0xb302
cw 0xd
call send_back  ; 10130 (0x2792)

lri $AR1,    #0xc525
lri $IX1,    #0x6b42
lri $WR1,    #0x707e
cw 0xd
call send_back  ; 10131 (0x2793)

lri $AR1,    #0x81e9
lri $IX1,    #0xd868
lri $WR1,    #0x769d
cw 0xd
call send_back  ; 10132 (0x2794)

lri $AR1,    #0x41cf
lri $IX1,    #0x49b2
lri $WR1,    #0x51bf
cw 0xd
call send_back  ; 10133 (0x2795)

lri $AR1,    #0x1792
lri $IX1,    #0xdd24
lri $WR1,    #0x5f19
cw 0xd
call send_back  ; 10134 (0x2796)

lri $AR1,    #0xceab
lri $IX1,    #0x6e02
lri $WR1,    #0x57d0
cw 0xd
call send_back  ; 10135 (0x2797)

lri $AR1,    #0xc286
lri $IX1,    #0x6a68
lri $WR1,    #0x4cb4
cw 0xd
call send_back  ; 10136 (0x2798)

lri $AR1,    #0xdc41
lri $IX1,    #0xcf46
lri $WR1,    #0x3abe
cw 0xd
call send_back  ; 10137 (0x2799)

lri $AR1,    #0xbd2d
lri $IX1,    #0xa3ae
lri $WR1,    #0x4dc7
cw 0xd
call send_back  ; 10138 (0x279a)

lri $AR1,    #0x8ffb
lri $IX1,    #0x5b94
lri $WR1,    #0x389b
cw 0xd
call send_back  ; 10139 (0x279b)

lri $AR1,    #0x61c9
lri $IX1,    #0xae08
lri $WR1,    #0x9ef2
cw 0xd
call send_back  ; 10140 (0x279c)

lri $AR1,    #0x1ff2
lri $IX1,    #0x820a
lri $WR1,    #0x475e
cw 0xd
call send_back  ; 10141 (0x279d)

lri $AR1,    #0x46f7
lri $IX1,    #0x80e2
lri $WR1,    #0x88bf
cw 0xd
call send_back  ; 10142 (0x279e)

lri $AR1,    #0x522f
lri $IX1,    #0x7c52
lri $WR1,    #0x8851
cw 0xd
call send_back  ; 10143 (0x279f)

lri $AR1,    #0x73bf
lri $IX1,    #0x0a4c
lri $WR1,    #0x42d5
cw 0xd
call send_back  ; 10144 (0x27a0)

lri $AR1,    #0x6778
lri $IX1,    #0x5fb2
lri $WR1,    #0xe4f9
cw 0xd
call send_back  ; 10145 (0x27a1)

lri $AR1,    #0xb318
lri $IX1,    #0x6ebe
lri $WR1,    #0x848e
cw 0xd
call send_back  ; 10146 (0x27a2)

lri $AR1,    #0x3997
lri $IX1,    #0x7d8c
lri $WR1,    #0xbd7c
cw 0xd
call send_back  ; 10147 (0x27a3)

lri $AR1,    #0x8ef1
lri $IX1,    #0xac6a
lri $WR1,    #0x6b34
cw 0xd
call send_back  ; 10148 (0x27a4)

lri $AR1,    #0x5520
lri $IX1,    #0x1b6c
lri $WR1,    #0x9089
cw 0xd
call send_back  ; 10149 (0x27a5)

lri $AR1,    #0x7ab4
lri $IX1,    #0x69f6
lri $WR1,    #0x5d96
cw 0xd
call send_back  ; 10150 (0x27a6)

lri $AR1,    #0xd6bb
lri $IX1,    #0x0a8e
lri $WR1,    #0x84be
cw 0xd
call send_back  ; 10151 (0x27a7)

lri $AR1,    #0xb55a
lri $IX1,    #0x38d2
lri $WR1,    #0x153f
cw 0xd
call send_back  ; 10152 (0x27a8)

lri $AR1,    #0x53ec
lri $IX1,    #0x26e0
lri $WR1,    #0xbb96
cw 0xd
call send_back  ; 10153 (0x27a9)

lri $AR1,    #0x6ae5
lri $IX1,    #0x12f6
lri $WR1,    #0x7513
cw 0xd
call send_back  ; 10154 (0x27aa)

lri $AR1,    #0x175b
lri $IX1,    #0x4598
lri $WR1,    #0xd5ce
cw 0xd
call send_back  ; 10155 (0x27ab)

lri $AR1,    #0x9d73
lri $IX1,    #0x5c2e
lri $WR1,    #0x557e
cw 0xd
call send_back  ; 10156 (0x27ac)

lri $AR1,    #0x789a
lri $IX1,    #0x9b2e
lri $WR1,    #0x914a
cw 0xd
call send_back  ; 10157 (0x27ad)

lri $AR1,    #0x5dbe
lri $IX1,    #0x2ee0
lri $WR1,    #0x6e18
cw 0xd
call send_back  ; 10158 (0x27ae)

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