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

lri $AR1,    #0xab32
lri $IX1,    #0xd19c
lri $WR1,    #0x77a4
cw 0x9
call send_back  ; 2945 (0x0b81)

lri $AR1,    #0x6e26
lri $IX1,    #0xb3ac
lri $WR1,    #0x3f4e
cw 0x9
call send_back  ; 2946 (0x0b82)

lri $AR1,    #0x81ac
lri $IX1,    #0x9d2a
lri $WR1,    #0x6bbc
cw 0x9
call send_back  ; 2947 (0x0b83)

lri $AR1,    #0xc248
lri $IX1,    #0x87bc
lri $WR1,    #0x2c78
cw 0x9
call send_back  ; 2948 (0x0b84)

lri $AR1,    #0xede0
lri $IX1,    #0x6e34
lri $WR1,    #0xa580
cw 0x9
call send_back  ; 2949 (0x0b85)

lri $AR1,    #0x4520
lri $IX1,    #0xca8c
lri $WR1,    #0xeece
cw 0x9
call send_back  ; 2950 (0x0b86)

lri $AR1,    #0x4056
lri $IX1,    #0xfd2e
lri $WR1,    #0x6d32
cw 0x9
call send_back  ; 2951 (0x0b87)

lri $AR1,    #0x78de
lri $IX1,    #0xd48a
lri $WR1,    #0x0fdc
cw 0x9
call send_back  ; 2952 (0x0b88)

lri $AR1,    #0x93d0
lri $IX1,    #0x839a
lri $WR1,    #0x6924
cw 0x9
call send_back  ; 2953 (0x0b89)

lri $AR1,    #0xa22e
lri $IX1,    #0xa0ec
lri $WR1,    #0xf284
cw 0x9
call send_back  ; 2954 (0x0b8a)

lri $AR1,    #0xb230
lri $IX1,    #0xfc2a
lri $WR1,    #0x1024
cw 0x9
call send_back  ; 2955 (0x0b8b)

lri $AR1,    #0xd7e2
lri $IX1,    #0x6982
lri $WR1,    #0x9e6c
cw 0x9
call send_back  ; 2956 (0x0b8c)

lri $AR1,    #0xd534
lri $IX1,    #0x779e
lri $WR1,    #0xe600
cw 0x9
call send_back  ; 2957 (0x0b8d)

lri $AR1,    #0x9c62
lri $IX1,    #0xed84
lri $WR1,    #0xb2aa
cw 0x9
call send_back  ; 2958 (0x0b8e)

lri $AR1,    #0x796e
lri $IX1,    #0xa2e0
lri $WR1,    #0xec24
cw 0x9
call send_back  ; 2959 (0x0b8f)

lri $AR1,    #0x82f0
lri $IX1,    #0x9cb2
lri $WR1,    #0x935e
cw 0x9
call send_back  ; 2960 (0x0b90)

lri $AR1,    #0xc85c
lri $IX1,    #0xafb4
lri $WR1,    #0x7298
cw 0x9
call send_back  ; 2961 (0x0b91)

lri $AR1,    #0x1b8c
lri $IX1,    #0xb6b4
lri $WR1,    #0x6284
cw 0x9
call send_back  ; 2962 (0x0b92)

lri $AR1,    #0xa922
lri $IX1,    #0x3186
lri $WR1,    #0x547a
cw 0x9
call send_back  ; 2963 (0x0b93)

lri $AR1,    #0xc494
lri $IX1,    #0x414c
lri $WR1,    #0xdc78
cw 0x9
call send_back  ; 2964 (0x0b94)

lri $AR1,    #0xedca
lri $IX1,    #0x4cae
lri $WR1,    #0x4556
cw 0x9
call send_back  ; 2965 (0x0b95)

lri $AR1,    #0x31c8
lri $IX1,    #0x2618
lri $WR1,    #0xe59c
cw 0x9
call send_back  ; 2966 (0x0b96)

lri $AR1,    #0xf58a
lri $IX1,    #0xeeb6
lri $WR1,    #0xcb34
cw 0x9
call send_back  ; 2967 (0x0b97)

lri $AR1,    #0x950a
lri $IX1,    #0x7380
lri $WR1,    #0x9696
cw 0x9
call send_back  ; 2968 (0x0b98)

lri $AR1,    #0x1ad6
lri $IX1,    #0xcaf0
lri $WR1,    #0x73f0
cw 0x9
call send_back  ; 2969 (0x0b99)

lri $AR1,    #0x7d60
lri $IX1,    #0x42a2
lri $WR1,    #0x017c
cw 0x9
call send_back  ; 2970 (0x0b9a)

lri $AR1,    #0xfef2
lri $IX1,    #0xa6ee
lri $WR1,    #0x62ba
cw 0x9
call send_back  ; 2971 (0x0b9b)

lri $AR1,    #0xd576
lri $IX1,    #0xc6ca
lri $WR1,    #0xe296
cw 0x9
call send_back  ; 2972 (0x0b9c)

lri $AR1,    #0xdab4
lri $IX1,    #0x3f2c
lri $WR1,    #0x1d2c
cw 0x9
call send_back  ; 2973 (0x0b9d)

lri $AR1,    #0x0b58
lri $IX1,    #0x2936
lri $WR1,    #0x13da
cw 0x9
call send_back  ; 2974 (0x0b9e)

lri $AR1,    #0x0f0a
lri $IX1,    #0xd482
lri $WR1,    #0x25ee
cw 0x9
call send_back  ; 2975 (0x0b9f)

lri $AR1,    #0x7790
lri $IX1,    #0xaed4
lri $WR1,    #0x0ade
cw 0x9
call send_back  ; 2976 (0x0ba0)

lri $AR1,    #0xde22
lri $IX1,    #0x6798
lri $WR1,    #0x154a
cw 0x9
call send_back  ; 2977 (0x0ba1)

lri $AR1,    #0xb254
lri $IX1,    #0xdbba
lri $WR1,    #0x0564
cw 0x9
call send_back  ; 2978 (0x0ba2)

lri $AR1,    #0x20ba
lri $IX1,    #0xe816
lri $WR1,    #0x1ebe
cw 0x9
call send_back  ; 2979 (0x0ba3)

lri $AR1,    #0xc9ee
lri $IX1,    #0x7ace
lri $WR1,    #0xf146
cw 0x9
call send_back  ; 2980 (0x0ba4)

lri $AR1,    #0x916c
lri $IX1,    #0x49a8
lri $WR1,    #0xecd2
cw 0x9
call send_back  ; 2981 (0x0ba5)

lri $AR1,    #0x5e20
lri $IX1,    #0x3eb4
lri $WR1,    #0xb0e0
cw 0x9
call send_back  ; 2982 (0x0ba6)

lri $AR1,    #0x8a7e
lri $IX1,    #0xa99a
lri $WR1,    #0x1344
cw 0x9
call send_back  ; 2983 (0x0ba7)

lri $AR1,    #0xa0aa
lri $IX1,    #0xbb3a
lri $WR1,    #0x3d9e
cw 0x9
call send_back  ; 2984 (0x0ba8)

lri $AR1,    #0x7112
lri $IX1,    #0x9440
lri $WR1,    #0xa9ec
cw 0x9
call send_back  ; 2985 (0x0ba9)

lri $AR1,    #0x439a
lri $IX1,    #0x5d62
lri $WR1,    #0x76fa
cw 0x9
call send_back  ; 2986 (0x0baa)

lri $AR1,    #0x233a
lri $IX1,    #0x29be
lri $WR1,    #0x9150
cw 0x9
call send_back  ; 2987 (0x0bab)

lri $AR1,    #0x92a6
lri $IX1,    #0x6a56
lri $WR1,    #0x4494
cw 0x9
call send_back  ; 2988 (0x0bac)

lri $AR1,    #0x34d6
lri $IX1,    #0x7e78
lri $WR1,    #0x0c40
cw 0x9
call send_back  ; 2989 (0x0bad)

lri $AR1,    #0x7534
lri $IX1,    #0x8c50
lri $WR1,    #0x3670
cw 0x9
call send_back  ; 2990 (0x0bae)

lri $AR1,    #0x399a
lri $IX1,    #0x3be4
lri $WR1,    #0x6090
cw 0x9
call send_back  ; 2991 (0x0baf)

lri $AR1,    #0x0344
lri $IX1,    #0xaee2
lri $WR1,    #0x1f42
cw 0x9
call send_back  ; 2992 (0x0bb0)

lri $AR1,    #0x695a
lri $IX1,    #0x5ac6
lri $WR1,    #0xb344
cw 0x9
call send_back  ; 2993 (0x0bb1)

lri $AR1,    #0xcfea
lri $IX1,    #0x8270
lri $WR1,    #0x60ca
cw 0x9
call send_back  ; 2994 (0x0bb2)

lri $AR1,    #0x35dc
lri $IX1,    #0xf0a8
lri $WR1,    #0xf31e
cw 0x9
call send_back  ; 2995 (0x0bb3)

lri $AR1,    #0x3096
lri $IX1,    #0x9186
lri $WR1,    #0xeb10
cw 0x9
call send_back  ; 2996 (0x0bb4)

lri $AR1,    #0x903a
lri $IX1,    #0x96be
lri $WR1,    #0xff18
cw 0x9
call send_back  ; 2997 (0x0bb5)

lri $AR1,    #0xb8b6
lri $IX1,    #0x00b4
lri $WR1,    #0x6396
cw 0x9
call send_back  ; 2998 (0x0bb6)

lri $AR1,    #0x3e3a
lri $IX1,    #0x08c8
lri $WR1,    #0xec98
cw 0x9
call send_back  ; 2999 (0x0bb7)

lri $AR1,    #0xfe1a
lri $IX1,    #0x7ca2
lri $WR1,    #0xaa40
cw 0x9
call send_back  ; 3000 (0x0bb8)

lri $AR1,    #0x5e9c
lri $IX1,    #0x5f4a
lri $WR1,    #0x03e2
cw 0x9
call send_back  ; 3001 (0x0bb9)

lri $AR1,    #0xa28a
lri $IX1,    #0x2020
lri $WR1,    #0x1e20
cw 0x9
call send_back  ; 3002 (0x0bba)

lri $AR1,    #0xb5b0
lri $IX1,    #0xd8a4
lri $WR1,    #0x57be
cw 0x9
call send_back  ; 3003 (0x0bbb)

lri $AR1,    #0xb3f4
lri $IX1,    #0xdeaa
lri $WR1,    #0xbcd6
cw 0x9
call send_back  ; 3004 (0x0bbc)

lri $AR1,    #0x324c
lri $IX1,    #0xa160
lri $WR1,    #0x67a2
cw 0x9
call send_back  ; 3005 (0x0bbd)

lri $AR1,    #0xd4c8
lri $IX1,    #0xde6a
lri $WR1,    #0x9ba8
cw 0x9
call send_back  ; 3006 (0x0bbe)

lri $AR1,    #0xed64
lri $IX1,    #0x9438
lri $WR1,    #0xa284
cw 0x9
call send_back  ; 3007 (0x0bbf)

lri $AR1,    #0x6aa8
lri $IX1,    #0xc6fe
lri $WR1,    #0x6a18
cw 0x9
call send_back  ; 3008 (0x0bc0)

lri $AR1,    #0x555a
lri $IX1,    #0x9f38
lri $WR1,    #0x8288
cw 0x9
call send_back  ; 3009 (0x0bc1)

lri $AR1,    #0x6a3e
lri $IX1,    #0x0112
lri $WR1,    #0xca16
cw 0x9
call send_back  ; 3010 (0x0bc2)

lri $AR1,    #0xe070
lri $IX1,    #0x7b88
lri $WR1,    #0xf8ae
cw 0x9
call send_back  ; 3011 (0x0bc3)

lri $AR1,    #0x5b48
lri $IX1,    #0xd53a
lri $WR1,    #0x7284
cw 0x9
call send_back  ; 3012 (0x0bc4)

lri $AR1,    #0x2828
lri $IX1,    #0xd20e
lri $WR1,    #0x99d0
cw 0x9
call send_back  ; 3013 (0x0bc5)

lri $AR1,    #0x009a
lri $IX1,    #0xe6ee
lri $WR1,    #0x653e
cw 0x9
call send_back  ; 3014 (0x0bc6)

lri $AR1,    #0x5244
lri $IX1,    #0xdfac
lri $WR1,    #0x14e8
cw 0x9
call send_back  ; 3015 (0x0bc7)

lri $AR1,    #0xcc38
lri $IX1,    #0x531c
lri $WR1,    #0x224e
cw 0x9
call send_back  ; 3016 (0x0bc8)

lri $AR1,    #0xca08
lri $IX1,    #0x5048
lri $WR1,    #0x8d18
cw 0x9
call send_back  ; 3017 (0x0bc9)

lri $AR1,    #0x105c
lri $IX1,    #0x6050
lri $WR1,    #0xce8a
cw 0x9
call send_back  ; 3018 (0x0bca)

lri $AR1,    #0x277a
lri $IX1,    #0x7832
lri $WR1,    #0x2056
cw 0x9
call send_back  ; 3019 (0x0bcb)

lri $AR1,    #0xd25e
lri $IX1,    #0xd0d0
lri $WR1,    #0xdc48
cw 0x9
call send_back  ; 3020 (0x0bcc)

lri $AR1,    #0x5850
lri $IX1,    #0x7040
lri $WR1,    #0xce38
cw 0x9
call send_back  ; 3021 (0x0bcd)

lri $AR1,    #0x655e
lri $IX1,    #0x259a
lri $WR1,    #0x093e
cw 0x9
call send_back  ; 3022 (0x0bce)

lri $AR1,    #0x512e
lri $IX1,    #0x0128
lri $WR1,    #0xb8bc
cw 0x9
call send_back  ; 3023 (0x0bcf)

lri $AR1,    #0x9eda
lri $IX1,    #0x1bce
lri $WR1,    #0x956e
cw 0x9
call send_back  ; 3024 (0x0bd0)

lri $AR1,    #0x5bfa
lri $IX1,    #0xdf72
lri $WR1,    #0xfb9e
cw 0x9
call send_back  ; 3025 (0x0bd1)

lri $AR1,    #0xafbe
lri $IX1,    #0x0450
lri $WR1,    #0x9326
cw 0x9
call send_back  ; 3026 (0x0bd2)

lri $AR1,    #0x22d8
lri $IX1,    #0x9988
lri $WR1,    #0xb506
cw 0x9
call send_back  ; 3027 (0x0bd3)

lri $AR1,    #0x9146
lri $IX1,    #0xe830
lri $WR1,    #0x38d2
cw 0x9
call send_back  ; 3028 (0x0bd4)

lri $AR1,    #0x7db0
lri $IX1,    #0xe636
lri $WR1,    #0xf51e
cw 0x9
call send_back  ; 3029 (0x0bd5)

lri $AR1,    #0xa556
lri $IX1,    #0x5ab8
lri $WR1,    #0x51d4
cw 0x9
call send_back  ; 3030 (0x0bd6)

lri $AR1,    #0x6aa2
lri $IX1,    #0xda34
lri $WR1,    #0xc068
cw 0x9
call send_back  ; 3031 (0x0bd7)

lri $AR1,    #0xc666
lri $IX1,    #0x048e
lri $WR1,    #0x6c12
cw 0x9
call send_back  ; 3032 (0x0bd8)

lri $AR1,    #0x186e
lri $IX1,    #0x0ffa
lri $WR1,    #0xc350
cw 0x9
call send_back  ; 3033 (0x0bd9)

lri $AR1,    #0xabc2
lri $IX1,    #0xf9ec
lri $WR1,    #0x4c58
cw 0x9
call send_back  ; 3034 (0x0bda)

lri $AR1,    #0x243c
lri $IX1,    #0x1d76
lri $WR1,    #0x63f2
cw 0x9
call send_back  ; 3035 (0x0bdb)

lri $AR1,    #0x5b60
lri $IX1,    #0x704a
lri $WR1,    #0xac5a
cw 0x9
call send_back  ; 3036 (0x0bdc)

lri $AR1,    #0xc298
lri $IX1,    #0xeff8
lri $WR1,    #0x2968
cw 0x9
call send_back  ; 3037 (0x0bdd)

lri $AR1,    #0x82c6
lri $IX1,    #0x0676
lri $WR1,    #0x6972
cw 0x9
call send_back  ; 3038 (0x0bde)

lri $AR1,    #0x1e40
lri $IX1,    #0xeee4
lri $WR1,    #0x96b2
cw 0x9
call send_back  ; 3039 (0x0bdf)

lri $AR1,    #0x1d78
lri $IX1,    #0x2c7a
lri $WR1,    #0x3bd4
cw 0x9
call send_back  ; 3040 (0x0be0)

lri $AR1,    #0x658e
lri $IX1,    #0x3a6c
lri $WR1,    #0x398c
cw 0x9
call send_back  ; 3041 (0x0be1)

lri $AR1,    #0xe754
lri $IX1,    #0xef64
lri $WR1,    #0xea56
cw 0x9
call send_back  ; 3042 (0x0be2)

lri $AR1,    #0x69fe
lri $IX1,    #0x1bf2
lri $WR1,    #0x6c3c
cw 0x9
call send_back  ; 3043 (0x0be3)

lri $AR1,    #0xde4c
lri $IX1,    #0x1f30
lri $WR1,    #0xd7a4
cw 0x9
call send_back  ; 3044 (0x0be4)

lri $AR1,    #0xfbc4
lri $IX1,    #0xea54
lri $WR1,    #0xc3aa
cw 0x9
call send_back  ; 3045 (0x0be5)

lri $AR1,    #0xa6fc
lri $IX1,    #0x13e8
lri $WR1,    #0xd9d6
cw 0x9
call send_back  ; 3046 (0x0be6)

lri $AR1,    #0xedd8
lri $IX1,    #0x5cd2
lri $WR1,    #0xf9ce
cw 0x9
call send_back  ; 3047 (0x0be7)

lri $AR1,    #0x247c
lri $IX1,    #0xe15e
lri $WR1,    #0xae5c
cw 0x9
call send_back  ; 3048 (0x0be8)

lri $AR1,    #0x8d64
lri $IX1,    #0xab9e
lri $WR1,    #0xf6d4
cw 0x9
call send_back  ; 3049 (0x0be9)

lri $AR1,    #0x1be8
lri $IX1,    #0x2f66
lri $WR1,    #0x2824
cw 0x9
call send_back  ; 3050 (0x0bea)

lri $AR1,    #0xf21e
lri $IX1,    #0x0dfa
lri $WR1,    #0x09e8
cw 0x9
call send_back  ; 3051 (0x0beb)

lri $AR1,    #0x70f8
lri $IX1,    #0xcf20
lri $WR1,    #0x8ef8
cw 0x9
call send_back  ; 3052 (0x0bec)

lri $AR1,    #0x8358
lri $IX1,    #0x41e4
lri $WR1,    #0x0d1a
cw 0x9
call send_back  ; 3053 (0x0bed)

lri $AR1,    #0x894e
lri $IX1,    #0x2412
lri $WR1,    #0xab04
cw 0x9
call send_back  ; 3054 (0x0bee)

lri $AR1,    #0x005e
lri $IX1,    #0xf21c
lri $WR1,    #0xb658
cw 0x9
call send_back  ; 3055 (0x0bef)

lri $AR1,    #0xd0a2
lri $IX1,    #0x32a8
lri $WR1,    #0xc856
cw 0x9
call send_back  ; 3056 (0x0bf0)

lri $AR1,    #0xe8ec
lri $IX1,    #0x23a8
lri $WR1,    #0x59d8
cw 0x9
call send_back  ; 3057 (0x0bf1)

lri $AR1,    #0x5074
lri $IX1,    #0x3c04
lri $WR1,    #0xba86
cw 0x9
call send_back  ; 3058 (0x0bf2)

lri $AR1,    #0xed44
lri $IX1,    #0x7496
lri $WR1,    #0x80e4
cw 0x9
call send_back  ; 3059 (0x0bf3)

lri $AR1,    #0xf296
lri $IX1,    #0xe180
lri $WR1,    #0xb12a
cw 0x9
call send_back  ; 3060 (0x0bf4)

lri $AR1,    #0xb3de
lri $IX1,    #0x0208
lri $WR1,    #0x9298
cw 0x9
call send_back  ; 3061 (0x0bf5)

lri $AR1,    #0x761a
lri $IX1,    #0x78d6
lri $WR1,    #0xa244
cw 0x9
call send_back  ; 3062 (0x0bf6)

lri $AR1,    #0x64ee
lri $IX1,    #0x646e
lri $WR1,    #0x0252
cw 0x9
call send_back  ; 3063 (0x0bf7)

lri $AR1,    #0x7ade
lri $IX1,    #0x2472
lri $WR1,    #0x5078
cw 0x9
call send_back  ; 3064 (0x0bf8)

lri $AR1,    #0xab00
lri $IX1,    #0x74f2
lri $WR1,    #0xaa6a
cw 0x9
call send_back  ; 3065 (0x0bf9)

lri $AR1,    #0x707c
lri $IX1,    #0x09b8
lri $WR1,    #0x9f0e
cw 0x9
call send_back  ; 3066 (0x0bfa)

lri $AR1,    #0xd1c4
lri $IX1,    #0x9fd0
lri $WR1,    #0xc80a
cw 0x9
call send_back  ; 3067 (0x0bfb)

lri $AR1,    #0xc9a4
lri $IX1,    #0x41d8
lri $WR1,    #0x1e92
cw 0x9
call send_back  ; 3068 (0x0bfc)

lri $AR1,    #0x0348
lri $IX1,    #0x83e4
lri $WR1,    #0x17b0
cw 0x9
call send_back  ; 3069 (0x0bfd)

lri $AR1,    #0xb5c4
lri $IX1,    #0x8006
lri $WR1,    #0xa12e
cw 0x9
call send_back  ; 3070 (0x0bfe)

lri $AR1,    #0xf5d0
lri $IX1,    #0xa7fa
lri $WR1,    #0x7828
cw 0x9
call send_back  ; 3071 (0x0bff)

lri $AR1,    #0xeef2
lri $IX1,    #0x827c
lri $WR1,    #0x5682
cw 0x9
call send_back  ; 3072 (0x0c00)

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

