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

lri $AR1,    #0xe0ec
lri $IX1,    #0xbdaa
lri $WR1,    #0x5531
cw 0x15
call send_back  ; 40961 (0xa001)

lri $AR1,    #0x85e6
lri $IX1,    #0x5d06
lri $WR1,    #0xb6ea
cw 0x15
call send_back  ; 40962 (0xa002)

lri $AR1,    #0x6607
lri $IX1,    #0x9a60
lri $WR1,    #0x6ef5
cw 0x15
call send_back  ; 40963 (0xa003)

lri $AR1,    #0x6d42
lri $IX1,    #0xf3a6
lri $WR1,    #0x5d80
cw 0x15
call send_back  ; 40964 (0xa004)

lri $AR1,    #0x39a5
lri $IX1,    #0x322a
lri $WR1,    #0x5b92
cw 0x15
call send_back  ; 40965 (0xa005)

lri $AR1,    #0x3e28
lri $IX1,    #0x64da
lri $WR1,    #0xae36
cw 0x15
call send_back  ; 40966 (0xa006)

lri $AR1,    #0x58d8
lri $IX1,    #0x4026
lri $WR1,    #0x76af
cw 0x15
call send_back  ; 40967 (0xa007)

lri $AR1,    #0x7fb5
lri $IX1,    #0x05ce
lri $WR1,    #0x265d
cw 0x15
call send_back  ; 40968 (0xa008)

lri $AR1,    #0x930a
lri $IX1,    #0xcf3a
lri $WR1,    #0xa650
cw 0x15
call send_back  ; 40969 (0xa009)

lri $AR1,    #0x8395
lri $IX1,    #0x79a0
lri $WR1,    #0x9023
cw 0x15
call send_back  ; 40970 (0xa00a)

lri $AR1,    #0xae4c
lri $IX1,    #0xa38c
lri $WR1,    #0x6735
cw 0x15
call send_back  ; 40971 (0xa00b)

lri $AR1,    #0xf70d
lri $IX1,    #0x481c
lri $WR1,    #0x96bc
cw 0x15
call send_back  ; 40972 (0xa00c)

lri $AR1,    #0xa716
lri $IX1,    #0xac7e
lri $WR1,    #0xf2d0
cw 0x15
call send_back  ; 40973 (0xa00d)

lri $AR1,    #0xc37f
lri $IX1,    #0xa8f4
lri $WR1,    #0x7807
cw 0x15
call send_back  ; 40974 (0xa00e)

lri $AR1,    #0xd399
lri $IX1,    #0xf71a
lri $WR1,    #0xe69b
cw 0x15
call send_back  ; 40975 (0xa00f)

lri $AR1,    #0x4678
lri $IX1,    #0x3b74
lri $WR1,    #0x7bba
cw 0x15
call send_back  ; 40976 (0xa010)

lri $AR1,    #0xb27d
lri $IX1,    #0x191c
lri $WR1,    #0xd511
cw 0x15
call send_back  ; 40977 (0xa011)

lri $AR1,    #0xe931
lri $IX1,    #0xe2ba
lri $WR1,    #0x580c
cw 0x15
call send_back  ; 40978 (0xa012)

lri $AR1,    #0x2d32
lri $IX1,    #0x8c5c
lri $WR1,    #0xa808
cw 0x15
call send_back  ; 40979 (0xa013)

lri $AR1,    #0x1f9d
lri $IX1,    #0x7e78
lri $WR1,    #0x2bd2
cw 0x15
call send_back  ; 40980 (0xa014)

lri $AR1,    #0x95ac
lri $IX1,    #0xf2c8
lri $WR1,    #0x3ca5
cw 0x15
call send_back  ; 40981 (0xa015)

lri $AR1,    #0x56ec
lri $IX1,    #0xb81e
lri $WR1,    #0xb635
cw 0x15
call send_back  ; 40982 (0xa016)

lri $AR1,    #0xa7bd
lri $IX1,    #0xbae6
lri $WR1,    #0xa0bd
cw 0x15
call send_back  ; 40983 (0xa017)

lri $AR1,    #0x5b98
lri $IX1,    #0x9c9a
lri $WR1,    #0x73cf
cw 0x15
call send_back  ; 40984 (0xa018)

lri $AR1,    #0x55c9
lri $IX1,    #0x1cbe
lri $WR1,    #0x59be
cw 0x15
call send_back  ; 40985 (0xa019)

lri $AR1,    #0xbeeb
lri $IX1,    #0x3a92
lri $WR1,    #0xc95e
cw 0x15
call send_back  ; 40986 (0xa01a)

lri $AR1,    #0xa91b
lri $IX1,    #0xe758
lri $WR1,    #0x9d16
cw 0x15
call send_back  ; 40987 (0xa01b)

lri $AR1,    #0x4402
lri $IX1,    #0xfd14
lri $WR1,    #0x63dd
cw 0x15
call send_back  ; 40988 (0xa01c)

lri $AR1,    #0x7dac
lri $IX1,    #0x16ba
lri $WR1,    #0xe21f
cw 0x15
call send_back  ; 40989 (0xa01d)

lri $AR1,    #0x5c60
lri $IX1,    #0xfad4
lri $WR1,    #0xf639
cw 0x15
call send_back  ; 40990 (0xa01e)

lri $AR1,    #0x6165
lri $IX1,    #0xaa58
lri $WR1,    #0xb581
cw 0x15
call send_back  ; 40991 (0xa01f)

lri $AR1,    #0xbbea
lri $IX1,    #0xf1e4
lri $WR1,    #0x7c76
cw 0x15
call send_back  ; 40992 (0xa020)

lri $AR1,    #0xdeed
lri $IX1,    #0xb40a
lri $WR1,    #0xb623
cw 0x15
call send_back  ; 40993 (0xa021)

lri $AR1,    #0x8c76
lri $IX1,    #0x27e6
lri $WR1,    #0x2c52
cw 0x15
call send_back  ; 40994 (0xa022)

lri $AR1,    #0x7beb
lri $IX1,    #0x1792
lri $WR1,    #0xa389
cw 0x15
call send_back  ; 40995 (0xa023)

lri $AR1,    #0x48d3
lri $IX1,    #0xe6d0
lri $WR1,    #0xbb74
cw 0x15
call send_back  ; 40996 (0xa024)

lri $AR1,    #0xb2d5
lri $IX1,    #0xf280
lri $WR1,    #0x65c3
cw 0x15
call send_back  ; 40997 (0xa025)

lri $AR1,    #0x474e
lri $IX1,    #0xce16
lri $WR1,    #0x230d
cw 0x15
call send_back  ; 40998 (0xa026)

lri $AR1,    #0xb034
lri $IX1,    #0x24bc
lri $WR1,    #0x76d0
cw 0x15
call send_back  ; 40999 (0xa027)

lri $AR1,    #0x7bbc
lri $IX1,    #0xb06a
lri $WR1,    #0x8906
cw 0x15
call send_back  ; 41000 (0xa028)

lri $AR1,    #0x9b6b
lri $IX1,    #0xf174
lri $WR1,    #0x1589
cw 0x15
call send_back  ; 41001 (0xa029)

lri $AR1,    #0x7902
lri $IX1,    #0x35f4
lri $WR1,    #0x76a5
cw 0x15
call send_back  ; 41002 (0xa02a)

lri $AR1,    #0xb302
lri $IX1,    #0x3096
lri $WR1,    #0xaa0d
cw 0x15
call send_back  ; 41003 (0xa02b)

lri $AR1,    #0xba1c
lri $IX1,    #0xfb08
lri $WR1,    #0x84b3
cw 0x15
call send_back  ; 41004 (0xa02c)

lri $AR1,    #0x846a
lri $IX1,    #0x08c8
lri $WR1,    #0x439d
cw 0x15
call send_back  ; 41005 (0xa02d)

lri $AR1,    #0xbaa6
lri $IX1,    #0x6360
lri $WR1,    #0xa52c
cw 0x15
call send_back  ; 41006 (0xa02e)

lri $AR1,    #0x874c
lri $IX1,    #0xa9e2
lri $WR1,    #0x9812
cw 0x15
call send_back  ; 41007 (0xa02f)

lri $AR1,    #0x66e3
lri $IX1,    #0xd9cc
lri $WR1,    #0xb25c
cw 0x15
call send_back  ; 41008 (0xa030)

lri $AR1,    #0x6448
lri $IX1,    #0xffe6
lri $WR1,    #0x6cbb
cw 0x15
call send_back  ; 41009 (0xa031)

lri $AR1,    #0x6b44
lri $IX1,    #0xb47a
lri $WR1,    #0x6b8e
cw 0x15
call send_back  ; 41010 (0xa032)

lri $AR1,    #0xaf42
lri $IX1,    #0xd672
lri $WR1,    #0xd0c9
cw 0x15
call send_back  ; 41011 (0xa033)

lri $AR1,    #0xeb74
lri $IX1,    #0x759c
lri $WR1,    #0x8735
cw 0x15
call send_back  ; 41012 (0xa034)

lri $AR1,    #0x5d2e
lri $IX1,    #0x64c0
lri $WR1,    #0x1137
cw 0x15
call send_back  ; 41013 (0xa035)

lri $AR1,    #0xa8dd
lri $IX1,    #0xa0b0
lri $WR1,    #0x828f
cw 0x15
call send_back  ; 41014 (0xa036)

lri $AR1,    #0xbd4e
lri $IX1,    #0xba18
lri $WR1,    #0xce32
cw 0x15
call send_back  ; 41015 (0xa037)

lri $AR1,    #0xa0af
lri $IX1,    #0xdc2a
lri $WR1,    #0x56d0
cw 0x15
call send_back  ; 41016 (0xa038)

lri $AR1,    #0x3e03
lri $IX1,    #0x02ce
lri $WR1,    #0x1a01
cw 0x15
call send_back  ; 41017 (0xa039)

lri $AR1,    #0x296c
lri $IX1,    #0x97b4
lri $WR1,    #0x3bca
cw 0x15
call send_back  ; 41018 (0xa03a)

lri $AR1,    #0x4510
lri $IX1,    #0x1db4
lri $WR1,    #0x8969
cw 0x15
call send_back  ; 41019 (0xa03b)

lri $AR1,    #0x97ea
lri $IX1,    #0xeeea
lri $WR1,    #0xa013
cw 0x15
call send_back  ; 41020 (0xa03c)

lri $AR1,    #0xe362
lri $IX1,    #0x7a16
lri $WR1,    #0x1d9c
cw 0x15
call send_back  ; 41021 (0xa03d)

lri $AR1,    #0x73e3
lri $IX1,    #0x0086
lri $WR1,    #0x7eb1
cw 0x15
call send_back  ; 41022 (0xa03e)

lri $AR1,    #0xac5e
lri $IX1,    #0xb62c
lri $WR1,    #0x6f9d
cw 0x15
call send_back  ; 41023 (0xa03f)

lri $AR1,    #0xc3f4
lri $IX1,    #0x721e
lri $WR1,    #0xba3d
cw 0x15
call send_back  ; 41024 (0xa040)

lri $AR1,    #0x78a0
lri $IX1,    #0xf61e
lri $WR1,    #0x8527
cw 0x15
call send_back  ; 41025 (0xa041)

lri $AR1,    #0x792d
lri $IX1,    #0x5864
lri $WR1,    #0xa590
cw 0x15
call send_back  ; 41026 (0xa042)

lri $AR1,    #0x5c4a
lri $IX1,    #0x6b6c
lri $WR1,    #0x3717
cw 0x15
call send_back  ; 41027 (0xa043)

lri $AR1,    #0x8212
lri $IX1,    #0x3bce
lri $WR1,    #0x61e6
cw 0x15
call send_back  ; 41028 (0xa044)

lri $AR1,    #0x98c8
lri $IX1,    #0x04f8
lri $WR1,    #0x9155
cw 0x15
call send_back  ; 41029 (0xa045)

lri $AR1,    #0x8d2a
lri $IX1,    #0x71de
lri $WR1,    #0xba8a
cw 0x15
call send_back  ; 41030 (0xa046)

lri $AR1,    #0xd21c
lri $IX1,    #0xbf6c
lri $WR1,    #0x9439
cw 0x15
call send_back  ; 41031 (0xa047)

lri $AR1,    #0x8302
lri $IX1,    #0x82ca
lri $WR1,    #0x25fd
cw 0x15
call send_back  ; 41032 (0xa048)

lri $AR1,    #0x4fa0
lri $IX1,    #0x8e3e
lri $WR1,    #0xbf75
cw 0x15
call send_back  ; 41033 (0xa049)

lri $AR1,    #0x3fb7
lri $IX1,    #0xd3c4
lri $WR1,    #0x949c
cw 0x15
call send_back  ; 41034 (0xa04a)

lri $AR1,    #0x9053
lri $IX1,    #0x5526
lri $WR1,    #0xce7c
cw 0x15
call send_back  ; 41035 (0xa04b)

lri $AR1,    #0x93fc
lri $IX1,    #0x4da8
lri $WR1,    #0x34c9
cw 0x15
call send_back  ; 41036 (0xa04c)

lri $AR1,    #0x7aa3
lri $IX1,    #0xea14
lri $WR1,    #0x8e6c
cw 0x15
call send_back  ; 41037 (0xa04d)

lri $AR1,    #0x15a6
lri $IX1,    #0x3836
lri $WR1,    #0xd496
cw 0x15
call send_back  ; 41038 (0xa04e)

lri $AR1,    #0x6faa
lri $IX1,    #0x97a4
lri $WR1,    #0x3572
cw 0x15
call send_back  ; 41039 (0xa04f)

lri $AR1,    #0xc7ad
lri $IX1,    #0x01ca
lri $WR1,    #0x88ea
cw 0x15
call send_back  ; 41040 (0xa050)

lri $AR1,    #0x8a04
lri $IX1,    #0x1820
lri $WR1,    #0xa3b6
cw 0x15
call send_back  ; 41041 (0xa051)

lri $AR1,    #0xa1be
lri $IX1,    #0x2b96
lri $WR1,    #0xc226
cw 0x15
call send_back  ; 41042 (0xa052)

lri $AR1,    #0x500f
lri $IX1,    #0x80f2
lri $WR1,    #0x75c3
cw 0x15
call send_back  ; 41043 (0xa053)

lri $AR1,    #0x7f3b
lri $IX1,    #0x1256
lri $WR1,    #0x7656
cw 0x15
call send_back  ; 41044 (0xa054)

lri $AR1,    #0xa1b3
lri $IX1,    #0x1698
lri $WR1,    #0x506b
cw 0x15
call send_back  ; 41045 (0xa055)

lri $AR1,    #0x7dc5
lri $IX1,    #0xcb8e
lri $WR1,    #0x88cf
cw 0x15
call send_back  ; 41046 (0xa056)

lri $AR1,    #0xa9ac
lri $IX1,    #0x8124
lri $WR1,    #0xce32
cw 0x15
call send_back  ; 41047 (0xa057)

lri $AR1,    #0xd346
lri $IX1,    #0xcf3c
lri $WR1,    #0x975e
cw 0x15
call send_back  ; 41048 (0xa058)

lri $AR1,    #0x9a51
lri $IX1,    #0x5932
lri $WR1,    #0x7635
cw 0x15
call send_back  ; 41049 (0xa059)

lri $AR1,    #0xa374
lri $IX1,    #0xa614
lri $WR1,    #0xd4ec
cw 0x15
call send_back  ; 41050 (0xa05a)

lri $AR1,    #0x7ddf
lri $IX1,    #0x855a
lri $WR1,    #0x2496
cw 0x15
call send_back  ; 41051 (0xa05b)

lri $AR1,    #0xdce2
lri $IX1,    #0x5434
lri $WR1,    #0x99a7
cw 0x15
call send_back  ; 41052 (0xa05c)

lri $AR1,    #0xe23c
lri $IX1,    #0x6032
lri $WR1,    #0x4c5c
cw 0x15
call send_back  ; 41053 (0xa05d)

lri $AR1,    #0xa57d
lri $IX1,    #0xb862
lri $WR1,    #0xd0ae
cw 0x15
call send_back  ; 41054 (0xa05e)

lri $AR1,    #0xa842
lri $IX1,    #0x1eba
lri $WR1,    #0x7ae2
cw 0x15
call send_back  ; 41055 (0xa05f)

lri $AR1,    #0xde9e
lri $IX1,    #0x97be
lri $WR1,    #0x6b32
cw 0x15
call send_back  ; 41056 (0xa060)

lri $AR1,    #0x3e87
lri $IX1,    #0x6f60
lri $WR1,    #0x84bb
cw 0x15
call send_back  ; 41057 (0xa061)

lri $AR1,    #0x488b
lri $IX1,    #0x8dfe
lri $WR1,    #0x0123
cw 0x15
call send_back  ; 41058 (0xa062)

lri $AR1,    #0x8fa5
lri $IX1,    #0xc970
lri $WR1,    #0xc41d
cw 0x15
call send_back  ; 41059 (0xa063)

lri $AR1,    #0xcd81
lri $IX1,    #0x9a22
lri $WR1,    #0x4756
cw 0x15
call send_back  ; 41060 (0xa064)

lri $AR1,    #0x6bff
lri $IX1,    #0x650e
lri $WR1,    #0xd0c9
cw 0x15
call send_back  ; 41061 (0xa065)

lri $AR1,    #0x7c3e
lri $IX1,    #0x7fb2
lri $WR1,    #0x832d
cw 0x15
call send_back  ; 41062 (0xa066)

lri $AR1,    #0x370e
lri $IX1,    #0x53b2
lri $WR1,    #0x996c
cw 0x15
call send_back  ; 41063 (0xa067)

lri $AR1,    #0xba09
lri $IX1,    #0xb470
lri $WR1,    #0xa3c1
cw 0x15
call send_back  ; 41064 (0xa068)

lri $AR1,    #0x2028
lri $IX1,    #0xb118
lri $WR1,    #0x4692
cw 0x15
call send_back  ; 41065 (0xa069)

lri $AR1,    #0x3433
lri $IX1,    #0x1292
lri $WR1,    #0xa888
cw 0x15
call send_back  ; 41066 (0xa06a)

lri $AR1,    #0xaec1
lri $IX1,    #0x64c0
lri $WR1,    #0xcf06
cw 0x15
call send_back  ; 41067 (0xa06b)

lri $AR1,    #0x192b
lri $IX1,    #0x077e
lri $WR1,    #0x7d7c
cw 0x15
call send_back  ; 41068 (0xa06c)

lri $AR1,    #0xea3e
lri $IX1,    #0x6bde
lri $WR1,    #0x25bc
cw 0x15
call send_back  ; 41069 (0xa06d)

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