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

lri $AR1,    #0x5f17
lri $IX1,    #0x7d02
lri $WR1,    #0xa1e0
cw 0x15
call send_back  ; 32878 (0x806e)

lri $AR1,    #0x8584
lri $IX1,    #0x6e12
lri $WR1,    #0x2ad9
cw 0x15
call send_back  ; 32879 (0x806f)

lri $AR1,    #0x93bb
lri $IX1,    #0x166c
lri $WR1,    #0x9367
cw 0x15
call send_back  ; 32880 (0x8070)

lri $AR1,    #0x498e
lri $IX1,    #0xaa38
lri $WR1,    #0x8649
cw 0x15
call send_back  ; 32881 (0x8071)

lri $AR1,    #0xb34c
lri $IX1,    #0x8106
lri $WR1,    #0xc1be
cw 0x15
call send_back  ; 32882 (0x8072)

lri $AR1,    #0x71f8
lri $IX1,    #0x637e
lri $WR1,    #0xa0e5
cw 0x15
call send_back  ; 32883 (0x8073)

lri $AR1,    #0xa0e6
lri $IX1,    #0xa414
lri $WR1,    #0x7287
cw 0x15
call send_back  ; 32884 (0x8074)

lri $AR1,    #0x99a3
lri $IX1,    #0x1bac
lri $WR1,    #0x8754
cw 0x15
call send_back  ; 32885 (0x8075)

lri $AR1,    #0xa661
lri $IX1,    #0xd722
lri $WR1,    #0x7f2e
cw 0x15
call send_back  ; 32886 (0x8076)

lri $AR1,    #0x96c5
lri $IX1,    #0x439c
lri $WR1,    #0x5e76
cw 0x15
call send_back  ; 32887 (0x8077)

lri $AR1,    #0x825f
lri $IX1,    #0x13b4
lri $WR1,    #0x3a1b
cw 0x15
call send_back  ; 32888 (0x8078)

lri $AR1,    #0xafab
lri $IX1,    #0x1030
lri $WR1,    #0xb241
cw 0x15
call send_back  ; 32889 (0x8079)

lri $AR1,    #0x75d0
lri $IX1,    #0xab88
lri $WR1,    #0x614c
cw 0x15
call send_back  ; 32890 (0x807a)

lri $AR1,    #0x630a
lri $IX1,    #0x9fcc
lri $WR1,    #0xb62a
cw 0x15
call send_back  ; 32891 (0x807b)

lri $AR1,    #0x58fb
lri $IX1,    #0x3b44
lri $WR1,    #0x468b
cw 0x15
call send_back  ; 32892 (0x807c)

lri $AR1,    #0x8bc1
lri $IX1,    #0x684a
lri $WR1,    #0x5f12
cw 0x15
call send_back  ; 32893 (0x807d)

lri $AR1,    #0x400b
lri $IX1,    #0x11b6
lri $WR1,    #0x550b
cw 0x15
call send_back  ; 32894 (0x807e)

lri $AR1,    #0xa821
lri $IX1,    #0x6574
lri $WR1,    #0x3eae
cw 0x15
call send_back  ; 32895 (0x807f)

lri $AR1,    #0x370b
lri $IX1,    #0xc384
lri $WR1,    #0x9c96
cw 0x15
call send_back  ; 32896 (0x8080)

lri $AR1,    #0x8cb9
lri $IX1,    #0x0000
lri $WR1,    #0x8866
cw 0x15
call send_back  ; 32897 (0x8081)

lri $AR1,    #0x9d7c
lri $IX1,    #0x236e
lri $WR1,    #0x8a36
cw 0x15
call send_back  ; 32898 (0x8082)

lri $AR1,    #0x4a9a
lri $IX1,    #0x2500
lri $WR1,    #0x27cc
cw 0x15
call send_back  ; 32899 (0x8083)

lri $AR1,    #0xa953
lri $IX1,    #0x56fa
lri $WR1,    #0x7654
cw 0x15
call send_back  ; 32900 (0x8084)

lri $AR1,    #0x9121
lri $IX1,    #0x85e4
lri $WR1,    #0xd074
cw 0x15
call send_back  ; 32901 (0x8085)

lri $AR1,    #0x9985
lri $IX1,    #0x3fbc
lri $WR1,    #0xb06f
cw 0x15
call send_back  ; 32902 (0x8086)

lri $AR1,    #0x533d
lri $IX1,    #0x78e8
lri $WR1,    #0x6f66
cw 0x15
call send_back  ; 32903 (0x8087)

lri $AR1,    #0xa012
lri $IX1,    #0xf0fa
lri $WR1,    #0x3035
cw 0x15
call send_back  ; 32904 (0x8088)

lri $AR1,    #0x783b
lri $IX1,    #0x7210
lri $WR1,    #0xe606
cw 0x15
call send_back  ; 32905 (0x8089)

lri $AR1,    #0x8b82
lri $IX1,    #0x69f4
lri $WR1,    #0x1434
cw 0x15
call send_back  ; 32906 (0x808a)

lri $AR1,    #0xe009
lri $IX1,    #0x8ca6
lri $WR1,    #0x7676
cw 0x15
call send_back  ; 32907 (0x808b)

lri $AR1,    #0x37fd
lri $IX1,    #0x4c98
lri $WR1,    #0x95ff
cw 0x15
call send_back  ; 32908 (0x808c)

lri $AR1,    #0x8305
lri $IX1,    #0x1d28
lri $WR1,    #0xc983
cw 0x15
call send_back  ; 32909 (0x808d)

lri $AR1,    #0x4fc5
lri $IX1,    #0xc8b2
lri $WR1,    #0x9bd6
cw 0x15
call send_back  ; 32910 (0x808e)

lri $AR1,    #0x753a
lri $IX1,    #0xc3c4
lri $WR1,    #0x760c
cw 0x15
call send_back  ; 32911 (0x808f)

lri $AR1,    #0x6344
lri $IX1,    #0x73b4
lri $WR1,    #0x8fd1
cw 0x15
call send_back  ; 32912 (0x8090)

lri $AR1,    #0x1532
lri $IX1,    #0xf752
lri $WR1,    #0x71e8
cw 0x15
call send_back  ; 32913 (0x8091)

lri $AR1,    #0x6096
lri $IX1,    #0x44da
lri $WR1,    #0xa481
cw 0x15
call send_back  ; 32914 (0x8092)

lri $AR1,    #0xae3b
lri $IX1,    #0x80ce
lri $WR1,    #0x5452
cw 0x15
call send_back  ; 32915 (0x8093)

lri $AR1,    #0x728c
lri $IX1,    #0x6df6
lri $WR1,    #0x2f22
cw 0x15
call send_back  ; 32916 (0x8094)

lri $AR1,    #0x562e
lri $IX1,    #0xdf44
lri $WR1,    #0x51cb
cw 0x15
call send_back  ; 32917 (0x8095)

lri $AR1,    #0x4f39
lri $IX1,    #0x4898
lri $WR1,    #0x3f39
cw 0x15
call send_back  ; 32918 (0x8096)

lri $AR1,    #0x4eb8
lri $IX1,    #0x0c58
lri $WR1,    #0x5988
cw 0x15
call send_back  ; 32919 (0x8097)

lri $AR1,    #0x7df4
lri $IX1,    #0x0fd0
lri $WR1,    #0x1bc3
cw 0x15
call send_back  ; 32920 (0x8098)

lri $AR1,    #0x3220
lri $IX1,    #0x9934
lri $WR1,    #0x3c58
cw 0x15
call send_back  ; 32921 (0x8099)

lri $AR1,    #0x1ce7
lri $IX1,    #0x9e60
lri $WR1,    #0xcdd9
cw 0x15
call send_back  ; 32922 (0x809a)

lri $AR1,    #0x3391
lri $IX1,    #0x9c02
lri $WR1,    #0xc509
cw 0x15
call send_back  ; 32923 (0x809b)

lri $AR1,    #0x2e12
lri $IX1,    #0xe978
lri $WR1,    #0x60da
cw 0x15
call send_back  ; 32924 (0x809c)

lri $AR1,    #0x3ae1
lri $IX1,    #0x65e6
lri $WR1,    #0x2a55
cw 0x15
call send_back  ; 32925 (0x809d)

lri $AR1,    #0x73d4
lri $IX1,    #0x6fec
lri $WR1,    #0x8013
cw 0x15
call send_back  ; 32926 (0x809e)

lri $AR1,    #0xa3dc
lri $IX1,    #0x7972
lri $WR1,    #0x4245
cw 0x15
call send_back  ; 32927 (0x809f)

lri $AR1,    #0x64f4
lri $IX1,    #0x55ec
lri $WR1,    #0x99e6
cw 0x15
call send_back  ; 32928 (0x80a0)

lri $AR1,    #0xe907
lri $IX1,    #0xb9a2
lri $WR1,    #0x5f1f
cw 0x15
call send_back  ; 32929 (0x80a1)

lri $AR1,    #0xc02a
lri $IX1,    #0x6540
lri $WR1,    #0x3073
cw 0x15
call send_back  ; 32930 (0x80a2)

lri $AR1,    #0x81eb
lri $IX1,    #0x4954
lri $WR1,    #0x3dc6
cw 0x15
call send_back  ; 32931 (0x80a3)

lri $AR1,    #0xc721
lri $IX1,    #0xa9f8
lri $WR1,    #0x7fbf
cw 0x15
call send_back  ; 32932 (0x80a4)

lri $AR1,    #0x3cde
lri $IX1,    #0x133c
lri $WR1,    #0x6dab
cw 0x15
call send_back  ; 32933 (0x80a5)

lri $AR1,    #0xa909
lri $IX1,    #0xe3aa
lri $WR1,    #0xa15c
cw 0x15
call send_back  ; 32934 (0x80a6)

lri $AR1,    #0xdc46
lri $IX1,    #0x7260
lri $WR1,    #0x9a2d
cw 0x15
call send_back  ; 32935 (0x80a7)

lri $AR1,    #0xa497
lri $IX1,    #0x8328
lri $WR1,    #0xd594
cw 0x15
call send_back  ; 32936 (0x80a8)

lri $AR1,    #0xbf6a
lri $IX1,    #0xf30c
lri $WR1,    #0x9d87
cw 0x15
call send_back  ; 32937 (0x80a9)

lri $AR1,    #0x698d
lri $IX1,    #0x6cba
lri $WR1,    #0x9a0b
cw 0x15
call send_back  ; 32938 (0x80aa)

lri $AR1,    #0x5eaf
lri $IX1,    #0xa450
lri $WR1,    #0xc533
cw 0x15
call send_back  ; 32939 (0x80ab)

lri $AR1,    #0x41cb
lri $IX1,    #0x36d4
lri $WR1,    #0xb5ec
cw 0x15
call send_back  ; 32940 (0x80ac)

lri $AR1,    #0xe367
lri $IX1,    #0xf1f4
lri $WR1,    #0xafd7
cw 0x15
call send_back  ; 32941 (0x80ad)

lri $AR1,    #0x89ca
lri $IX1,    #0x1d50
lri $WR1,    #0x6392
cw 0x15
call send_back  ; 32942 (0x80ae)

lri $AR1,    #0x231b
lri $IX1,    #0x7eee
lri $WR1,    #0xaca9
cw 0x15
call send_back  ; 32943 (0x80af)

lri $AR1,    #0x80ad
lri $IX1,    #0x611e
lri $WR1,    #0xbfa7
cw 0x15
call send_back  ; 32944 (0x80b0)

lri $AR1,    #0x464a
lri $IX1,    #0xf85e
lri $WR1,    #0x8459
cw 0x15
call send_back  ; 32945 (0x80b1)

lri $AR1,    #0x77c7
lri $IX1,    #0x4c8c
lri $WR1,    #0xa5da
cw 0x15
call send_back  ; 32946 (0x80b2)

lri $AR1,    #0x62ba
lri $IX1,    #0x5906
lri $WR1,    #0x9379
cw 0x15
call send_back  ; 32947 (0x80b3)

lri $AR1,    #0x69a2
lri $IX1,    #0x93ee
lri $WR1,    #0xa2fc
cw 0x15
call send_back  ; 32948 (0x80b4)

lri $AR1,    #0x513e
lri $IX1,    #0x953c
lri $WR1,    #0x9e62
cw 0x15
call send_back  ; 32949 (0x80b5)

lri $AR1,    #0x8088
lri $IX1,    #0x4adc
lri $WR1,    #0xa4aa
cw 0x15
call send_back  ; 32950 (0x80b6)

lri $AR1,    #0x86f9
lri $IX1,    #0x276c
lri $WR1,    #0x46a3
cw 0x15
call send_back  ; 32951 (0x80b7)

lri $AR1,    #0x1489
lri $IX1,    #0x25f0
lri $WR1,    #0x8e79
cw 0x15
call send_back  ; 32952 (0x80b8)

lri $AR1,    #0xba29
lri $IX1,    #0x7508
lri $WR1,    #0x89e1
cw 0x15
call send_back  ; 32953 (0x80b9)

lri $AR1,    #0xa906
lri $IX1,    #0x40f4
lri $WR1,    #0x5c9b
cw 0x15
call send_back  ; 32954 (0x80ba)

lri $AR1,    #0x9a73
lri $IX1,    #0x8402
lri $WR1,    #0x3242
cw 0x15
call send_back  ; 32955 (0x80bb)

lri $AR1,    #0x71b8
lri $IX1,    #0x21a0
lri $WR1,    #0x7c07
cw 0x15
call send_back  ; 32956 (0x80bc)

lri $AR1,    #0x64a6
lri $IX1,    #0xf8c4
lri $WR1,    #0xa059
cw 0x15
call send_back  ; 32957 (0x80bd)

lri $AR1,    #0x6735
lri $IX1,    #0x2ece
lri $WR1,    #0x8021
cw 0x15
call send_back  ; 32958 (0x80be)

lri $AR1,    #0x9a03
lri $IX1,    #0xd4a8
lri $WR1,    #0x5687
cw 0x15
call send_back  ; 32959 (0x80bf)

lri $AR1,    #0xf2fc
lri $IX1,    #0x543a
lri $WR1,    #0x5de3
cw 0x15
call send_back  ; 32960 (0x80c0)

lri $AR1,    #0x2309
lri $IX1,    #0xecf6
lri $WR1,    #0xade8
cw 0x15
call send_back  ; 32961 (0x80c1)

lri $AR1,    #0x3afe
lri $IX1,    #0x0ab0
lri $WR1,    #0x5487
cw 0x15
call send_back  ; 32962 (0x80c2)

lri $AR1,    #0xa5b9
lri $IX1,    #0x9252
lri $WR1,    #0x1cba
cw 0x15
call send_back  ; 32963 (0x80c3)

lri $AR1,    #0x949f
lri $IX1,    #0x7cc8
lri $WR1,    #0xaba8
cw 0x15
call send_back  ; 32964 (0x80c4)

lri $AR1,    #0x5760
lri $IX1,    #0x60b6
lri $WR1,    #0x7643
cw 0x15
call send_back  ; 32965 (0x80c5)

lri $AR1,    #0xa744
lri $IX1,    #0x0024
lri $WR1,    #0x6ef0
cw 0x15
call send_back  ; 32966 (0x80c6)

lri $AR1,    #0x91dc
lri $IX1,    #0xaff0
lri $WR1,    #0x8c3c
cw 0x15
call send_back  ; 32967 (0x80c7)

lri $AR1,    #0x465b
lri $IX1,    #0x9b1a
lri $WR1,    #0x4f41
cw 0x15
call send_back  ; 32968 (0x80c8)

lri $AR1,    #0x746d
lri $IX1,    #0x9c98
lri $WR1,    #0x99b8
cw 0x15
call send_back  ; 32969 (0x80c9)

lri $AR1,    #0x8ae0
lri $IX1,    #0xcefc
lri $WR1,    #0xd158
cw 0x15
call send_back  ; 32970 (0x80ca)

lri $AR1,    #0xd7ee
lri $IX1,    #0x2184
lri $WR1,    #0x5f88
cw 0x15
call send_back  ; 32971 (0x80cb)

lri $AR1,    #0x3468
lri $IX1,    #0x5ec6
lri $WR1,    #0xf1f8
cw 0x15
call send_back  ; 32972 (0x80cc)

lri $AR1,    #0xdead
lri $IX1,    #0x39c2
lri $WR1,    #0x5a2b
cw 0x15
call send_back  ; 32973 (0x80cd)

lri $AR1,    #0x59a6
lri $IX1,    #0x4a58
lri $WR1,    #0x6792
cw 0x15
call send_back  ; 32974 (0x80ce)

lri $AR1,    #0xe7a7
lri $IX1,    #0x8312
lri $WR1,    #0x792f
cw 0x15
call send_back  ; 32975 (0x80cf)

lri $AR1,    #0x7075
lri $IX1,    #0xb62e
lri $WR1,    #0x296b
cw 0x15
call send_back  ; 32976 (0x80d0)

lri $AR1,    #0xad55
lri $IX1,    #0x58dc
lri $WR1,    #0xc01b
cw 0x15
call send_back  ; 32977 (0x80d1)

lri $AR1,    #0xb55f
lri $IX1,    #0xf79a
lri $WR1,    #0x6449
cw 0x15
call send_back  ; 32978 (0x80d2)

lri $AR1,    #0xd7f5
lri $IX1,    #0xdfa6
lri $WR1,    #0xb8d9
cw 0x15
call send_back  ; 32979 (0x80d3)

lri $AR1,    #0x7aa7
lri $IX1,    #0x7d78
lri $WR1,    #0x0493
cw 0x15
call send_back  ; 32980 (0x80d4)

lri $AR1,    #0xcb51
lri $IX1,    #0xf916
lri $WR1,    #0x9f9b
cw 0x15
call send_back  ; 32981 (0x80d5)

lri $AR1,    #0x66ce
lri $IX1,    #0xcd6c
lri $WR1,    #0x7e00
cw 0x15
call send_back  ; 32982 (0x80d6)

lri $AR1,    #0x7803
lri $IX1,    #0x985a
lri $WR1,    #0xb048
cw 0x15
call send_back  ; 32983 (0x80d7)

lri $AR1,    #0xaa9d
lri $IX1,    #0x4d96
lri $WR1,    #0x78bd
cw 0x15
call send_back  ; 32984 (0x80d8)

lri $AR1,    #0x7845
lri $IX1,    #0x6f2c
lri $WR1,    #0x7d5b
cw 0x15
call send_back  ; 32985 (0x80d9)

lri $AR1,    #0xb6ad
lri $IX1,    #0x12c4
lri $WR1,    #0x8c13
cw 0x15
call send_back  ; 32986 (0x80da)

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