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

lri $AR1,    #0xc36c
lri $IX1,    #0xd478
lri $WR1,    #0x4613
cw 0xd
call send_back  ; 42818 (0xa742)

lri $AR1,    #0x4f0b
lri $IX1,    #0x9e36
lri $WR1,    #0x2d88
cw 0xd
call send_back  ; 42819 (0xa743)

lri $AR1,    #0x7e1b
lri $IX1,    #0x4798
lri $WR1,    #0x2d4a
cw 0xd
call send_back  ; 42820 (0xa744)

lri $AR1,    #0x3cc7
lri $IX1,    #0x525a
lri $WR1,    #0x8936
cw 0xd
call send_back  ; 42821 (0xa745)

lri $AR1,    #0x8178
lri $IX1,    #0x7a70
lri $WR1,    #0x91bc
cw 0xd
call send_back  ; 42822 (0xa746)

lri $AR1,    #0x7e76
lri $IX1,    #0x4d94
lri $WR1,    #0x2d96
cw 0xd
call send_back  ; 42823 (0xa747)

lri $AR1,    #0x9e50
lri $IX1,    #0x0f04
lri $WR1,    #0x6b28
cw 0xd
call send_back  ; 42824 (0xa748)

lri $AR1,    #0x39af
lri $IX1,    #0xeca8
lri $WR1,    #0xa999
cw 0xd
call send_back  ; 42825 (0xa749)

lri $AR1,    #0x1500
lri $IX1,    #0x2668
lri $WR1,    #0x972c
cw 0xd
call send_back  ; 42826 (0xa74a)

lri $AR1,    #0xe7b6
lri $IX1,    #0x9824
lri $WR1,    #0xd3f4
cw 0xd
call send_back  ; 42827 (0xa74b)

lri $AR1,    #0x567e
lri $IX1,    #0xf9fe
lri $WR1,    #0xdd6b
cw 0xd
call send_back  ; 42828 (0xa74c)

lri $AR1,    #0xc533
lri $IX1,    #0x0258
lri $WR1,    #0xe102
cw 0xd
call send_back  ; 42829 (0xa74d)

lri $AR1,    #0x94dc
lri $IX1,    #0x4048
lri $WR1,    #0x9135
cw 0xd
call send_back  ; 42830 (0xa74e)

lri $AR1,    #0x2585
lri $IX1,    #0xe4e4
lri $WR1,    #0x7a33
cw 0xd
call send_back  ; 42831 (0xa74f)

lri $AR1,    #0xab53
lri $IX1,    #0xa526
lri $WR1,    #0xf8b1
cw 0xd
call send_back  ; 42832 (0xa750)

lri $AR1,    #0x7186
lri $IX1,    #0x45c0
lri $WR1,    #0xbeef
cw 0xd
call send_back  ; 42833 (0xa751)

lri $AR1,    #0xe5d1
lri $IX1,    #0x1da8
lri $WR1,    #0xa184
cw 0xd
call send_back  ; 42834 (0xa752)

lri $AR1,    #0x99d3
lri $IX1,    #0xcbc2
lri $WR1,    #0x16ff
cw 0xd
call send_back  ; 42835 (0xa753)

lri $AR1,    #0xaff6
lri $IX1,    #0x5f52
lri $WR1,    #0x4af5
cw 0xd
call send_back  ; 42836 (0xa754)

lri $AR1,    #0xc495
lri $IX1,    #0x2aae
lri $WR1,    #0x3e76
cw 0xd
call send_back  ; 42837 (0xa755)

lri $AR1,    #0xb3a5
lri $IX1,    #0x42e0
lri $WR1,    #0x8d9b
cw 0xd
call send_back  ; 42838 (0xa756)

lri $AR1,    #0x7ec7
lri $IX1,    #0x2eac
lri $WR1,    #0x7318
cw 0xd
call send_back  ; 42839 (0xa757)

lri $AR1,    #0x6f05
lri $IX1,    #0x5a94
lri $WR1,    #0x6882
cw 0xd
call send_back  ; 42840 (0xa758)

lri $AR1,    #0xb903
lri $IX1,    #0x6f68
lri $WR1,    #0x2b43
cw 0xd
call send_back  ; 42841 (0xa759)

lri $AR1,    #0x4a10
lri $IX1,    #0x83fc
lri $WR1,    #0x5bd6
cw 0xd
call send_back  ; 42842 (0xa75a)

lri $AR1,    #0xd7c3
lri $IX1,    #0x3282
lri $WR1,    #0xbe57
cw 0xd
call send_back  ; 42843 (0xa75b)

lri $AR1,    #0xb395
lri $IX1,    #0xbd36
lri $WR1,    #0x3902
cw 0xd
call send_back  ; 42844 (0xa75c)

lri $AR1,    #0x9f2f
lri $IX1,    #0x85ac
lri $WR1,    #0x669c
cw 0xd
call send_back  ; 42845 (0xa75d)

lri $AR1,    #0xcdc5
lri $IX1,    #0x05be
lri $WR1,    #0x5066
cw 0xd
call send_back  ; 42846 (0xa75e)

lri $AR1,    #0x425f
lri $IX1,    #0x1820
lri $WR1,    #0x84ad
cw 0xd
call send_back  ; 42847 (0xa75f)

lri $AR1,    #0x3236
lri $IX1,    #0x92b4
lri $WR1,    #0xa474
cw 0xd
call send_back  ; 42848 (0xa760)

lri $AR1,    #0x5e2a
lri $IX1,    #0xdbb2
lri $WR1,    #0x8c5e
cw 0xd
call send_back  ; 42849 (0xa761)

lri $AR1,    #0xd56f
lri $IX1,    #0x1ea2
lri $WR1,    #0x4a5a
cw 0xd
call send_back  ; 42850 (0xa762)

lri $AR1,    #0xa769
lri $IX1,    #0xf556
lri $WR1,    #0x8324
cw 0xd
call send_back  ; 42851 (0xa763)

lri $AR1,    #0x91ee
lri $IX1,    #0x9cc8
lri $WR1,    #0x202e
cw 0xd
call send_back  ; 42852 (0xa764)

lri $AR1,    #0x94c3
lri $IX1,    #0x0528
lri $WR1,    #0x77fe
cw 0xd
call send_back  ; 42853 (0xa765)

lri $AR1,    #0x62b0
lri $IX1,    #0x17de
lri $WR1,    #0x8092
cw 0xd
call send_back  ; 42854 (0xa766)

lri $AR1,    #0xcbed
lri $IX1,    #0x4df0
lri $WR1,    #0x5cdd
cw 0xd
call send_back  ; 42855 (0xa767)

lri $AR1,    #0x5539
lri $IX1,    #0x0464
lri $WR1,    #0x9be0
cw 0xd
call send_back  ; 42856 (0xa768)

lri $AR1,    #0x9a7c
lri $IX1,    #0xc432
lri $WR1,    #0xa98a
cw 0xd
call send_back  ; 42857 (0xa769)

lri $AR1,    #0x3b21
lri $IX1,    #0xce60
lri $WR1,    #0x1ecc
cw 0xd
call send_back  ; 42858 (0xa76a)

lri $AR1,    #0xc227
lri $IX1,    #0x8cb0
lri $WR1,    #0x3010
cw 0xd
call send_back  ; 42859 (0xa76b)

lri $AR1,    #0xa311
lri $IX1,    #0xeaae
lri $WR1,    #0x4e92
cw 0xd
call send_back  ; 42860 (0xa76c)

lri $AR1,    #0x6092
lri $IX1,    #0xf270
lri $WR1,    #0x8aa6
cw 0xd
call send_back  ; 42861 (0xa76d)

lri $AR1,    #0xa155
lri $IX1,    #0x33c8
lri $WR1,    #0x429a
cw 0xd
call send_back  ; 42862 (0xa76e)

lri $AR1,    #0x3a93
lri $IX1,    #0x5c4e
lri $WR1,    #0x8b11
cw 0xd
call send_back  ; 42863 (0xa76f)

lri $AR1,    #0x6fe1
lri $IX1,    #0xda08
lri $WR1,    #0x63a2
cw 0xd
call send_back  ; 42864 (0xa770)

lri $AR1,    #0x32fb
lri $IX1,    #0x49f8
lri $WR1,    #0x1391
cw 0xd
call send_back  ; 42865 (0xa771)

lri $AR1,    #0x6dd7
lri $IX1,    #0xaf74
lri $WR1,    #0x5866
cw 0xd
call send_back  ; 42866 (0xa772)

lri $AR1,    #0x34df
lri $IX1,    #0xe080
lri $WR1,    #0x4147
cw 0xd
call send_back  ; 42867 (0xa773)

lri $AR1,    #0x8691
lri $IX1,    #0x1708
lri $WR1,    #0x87c7
cw 0xd
call send_back  ; 42868 (0xa774)

lri $AR1,    #0xd961
lri $IX1,    #0x0e5a
lri $WR1,    #0xd01e
cw 0xd
call send_back  ; 42869 (0xa775)

lri $AR1,    #0x8828
lri $IX1,    #0x5f7a
lri $WR1,    #0xd874
cw 0xd
call send_back  ; 42870 (0xa776)

lri $AR1,    #0x90f5
lri $IX1,    #0xceec
lri $WR1,    #0xa034
cw 0xd
call send_back  ; 42871 (0xa777)

lri $AR1,    #0xf17f
lri $IX1,    #0xd182
lri $WR1,    #0xd611
cw 0xd
call send_back  ; 42872 (0xa778)

lri $AR1,    #0x9829
lri $IX1,    #0x9598
lri $WR1,    #0x44bd
cw 0xd
call send_back  ; 42873 (0xa779)

lri $AR1,    #0xbfc4
lri $IX1,    #0x39a4
lri $WR1,    #0xe3e1
cw 0xd
call send_back  ; 42874 (0xa77a)

lri $AR1,    #0x7ff2
lri $IX1,    #0x683a
lri $WR1,    #0x8471
cw 0xd
call send_back  ; 42875 (0xa77b)

lri $AR1,    #0xc380
lri $IX1,    #0x357a
lri $WR1,    #0xa4e8
cw 0xd
call send_back  ; 42876 (0xa77c)

lri $AR1,    #0x9170
lri $IX1,    #0xb134
lri $WR1,    #0xb371
cw 0xd
call send_back  ; 42877 (0xa77d)

lri $AR1,    #0x851b
lri $IX1,    #0x0c78
lri $WR1,    #0xc19d
cw 0xd
call send_back  ; 42878 (0xa77e)

lri $AR1,    #0xd532
lri $IX1,    #0x50fe
lri $WR1,    #0x4eb0
cw 0xd
call send_back  ; 42879 (0xa77f)

lri $AR1,    #0xc0e4
lri $IX1,    #0x5c32
lri $WR1,    #0xb30a
cw 0xd
call send_back  ; 42880 (0xa780)

lri $AR1,    #0x8609
lri $IX1,    #0xf724
lri $WR1,    #0xc0d8
cw 0xd
call send_back  ; 42881 (0xa781)

lri $AR1,    #0x8299
lri $IX1,    #0x6030
lri $WR1,    #0x3b77
cw 0xd
call send_back  ; 42882 (0xa782)

lri $AR1,    #0x3744
lri $IX1,    #0x4ace
lri $WR1,    #0x38b9
cw 0xd
call send_back  ; 42883 (0xa783)

lri $AR1,    #0x6870
lri $IX1,    #0x1d24
lri $WR1,    #0x348f
cw 0xd
call send_back  ; 42884 (0xa784)

lri $AR1,    #0x7680
lri $IX1,    #0xead4
lri $WR1,    #0x7928
cw 0xd
call send_back  ; 42885 (0xa785)

lri $AR1,    #0x95a0
lri $IX1,    #0x37c2
lri $WR1,    #0x5b0f
cw 0xd
call send_back  ; 42886 (0xa786)

lri $AR1,    #0xb0ef
lri $IX1,    #0xcd34
lri $WR1,    #0x8a6e
cw 0xd
call send_back  ; 42887 (0xa787)

lri $AR1,    #0xdc63
lri $IX1,    #0xbefe
lri $WR1,    #0xbfe6
cw 0xd
call send_back  ; 42888 (0xa788)

lri $AR1,    #0xa41b
lri $IX1,    #0x062a
lri $WR1,    #0xb52c
cw 0xd
call send_back  ; 42889 (0xa789)

lri $AR1,    #0xa788
lri $IX1,    #0xb1da
lri $WR1,    #0x86e2
cw 0xd
call send_back  ; 42890 (0xa78a)

lri $AR1,    #0xa234
lri $IX1,    #0x7eb2
lri $WR1,    #0xaec7
cw 0xd
call send_back  ; 42891 (0xa78b)

lri $AR1,    #0xab73
lri $IX1,    #0x88aa
lri $WR1,    #0x9ad6
cw 0xd
call send_back  ; 42892 (0xa78c)

lri $AR1,    #0x71d5
lri $IX1,    #0xa288
lri $WR1,    #0x5f4c
cw 0xd
call send_back  ; 42893 (0xa78d)

lri $AR1,    #0x66a7
lri $IX1,    #0x89dc
lri $WR1,    #0x7f43
cw 0xd
call send_back  ; 42894 (0xa78e)

lri $AR1,    #0x914c
lri $IX1,    #0x8dc0
lri $WR1,    #0xa8d8
cw 0xd
call send_back  ; 42895 (0xa78f)

lri $AR1,    #0x79ce
lri $IX1,    #0x3246
lri $WR1,    #0x677f
cw 0xd
call send_back  ; 42896 (0xa790)

lri $AR1,    #0xa563
lri $IX1,    #0xc1c2
lri $WR1,    #0x9884
cw 0xd
call send_back  ; 42897 (0xa791)

lri $AR1,    #0xdf44
lri $IX1,    #0x78e4
lri $WR1,    #0x3b5c
cw 0xd
call send_back  ; 42898 (0xa792)

lri $AR1,    #0xdba7
lri $IX1,    #0xe9d4
lri $WR1,    #0x68c8
cw 0xd
call send_back  ; 42899 (0xa793)

lri $AR1,    #0x8a1b
lri $IX1,    #0x362a
lri $WR1,    #0x3157
cw 0xd
call send_back  ; 42900 (0xa794)

lri $AR1,    #0x8831
lri $IX1,    #0xb724
lri $WR1,    #0x3d69
cw 0xd
call send_back  ; 42901 (0xa795)

lri $AR1,    #0x74a4
lri $IX1,    #0x76c6
lri $WR1,    #0xa633
cw 0xd
call send_back  ; 42902 (0xa796)

lri $AR1,    #0xc6ed
lri $IX1,    #0x5c54
lri $WR1,    #0x80da
cw 0xd
call send_back  ; 42903 (0xa797)

lri $AR1,    #0xa678
lri $IX1,    #0x01ea
lri $WR1,    #0x5a2e
cw 0xd
call send_back  ; 42904 (0xa798)

lri $AR1,    #0x6863
lri $IX1,    #0xb078
lri $WR1,    #0x4b28
cw 0xd
call send_back  ; 42905 (0xa799)

lri $AR1,    #0xb9ff
lri $IX1,    #0xdb10
lri $WR1,    #0xbba1
cw 0xd
call send_back  ; 42906 (0xa79a)

lri $AR1,    #0x71fd
lri $IX1,    #0x81a6
lri $WR1,    #0xba65
cw 0xd
call send_back  ; 42907 (0xa79b)

lri $AR1,    #0x697b
lri $IX1,    #0x074a
lri $WR1,    #0x672c
cw 0xd
call send_back  ; 42908 (0xa79c)

lri $AR1,    #0x79d4
lri $IX1,    #0x1efc
lri $WR1,    #0xa488
cw 0xd
call send_back  ; 42909 (0xa79d)

lri $AR1,    #0xab89
lri $IX1,    #0x5e04
lri $WR1,    #0x8559
cw 0xd
call send_back  ; 42910 (0xa79e)

lri $AR1,    #0xa5f1
lri $IX1,    #0xa224
lri $WR1,    #0x8adb
cw 0xd
call send_back  ; 42911 (0xa79f)

lri $AR1,    #0x6731
lri $IX1,    #0xad4e
lri $WR1,    #0xadcf
cw 0xd
call send_back  ; 42912 (0xa7a0)

lri $AR1,    #0x971a
lri $IX1,    #0x0064
lri $WR1,    #0xb6e3
cw 0xd
call send_back  ; 42913 (0xa7a1)

lri $AR1,    #0x476a
lri $IX1,    #0xf9a0
lri $WR1,    #0x77e8
cw 0xd
call send_back  ; 42914 (0xa7a2)

lri $AR1,    #0x8719
lri $IX1,    #0x6b1e
lri $WR1,    #0x68c6
cw 0xd
call send_back  ; 42915 (0xa7a3)

lri $AR1,    #0xb623
lri $IX1,    #0x212c
lri $WR1,    #0x60ee
cw 0xd
call send_back  ; 42916 (0xa7a4)

lri $AR1,    #0x6282
lri $IX1,    #0x07de
lri $WR1,    #0x7f33
cw 0xd
call send_back  ; 42917 (0xa7a5)

lri $AR1,    #0x86c6
lri $IX1,    #0xaa98
lri $WR1,    #0xafb0
cw 0xd
call send_back  ; 42918 (0xa7a6)

lri $AR1,    #0xa5fd
lri $IX1,    #0x87e0
lri $WR1,    #0x80c8
cw 0xd
call send_back  ; 42919 (0xa7a7)

lri $AR1,    #0x584c
lri $IX1,    #0x0754
lri $WR1,    #0x7db9
cw 0xd
call send_back  ; 42920 (0xa7a8)

lri $AR1,    #0x470e
lri $IX1,    #0xa712
lri $WR1,    #0x6f00
cw 0xd
call send_back  ; 42921 (0xa7a9)

lri $AR1,    #0x36b7
lri $IX1,    #0x1158
lri $WR1,    #0x8ded
cw 0xd
call send_back  ; 42922 (0xa7aa)

lri $AR1,    #0xf05d
lri $IX1,    #0x1aaa
lri $WR1,    #0x4a98
cw 0xd
call send_back  ; 42923 (0xa7ab)

lri $AR1,    #0x8425
lri $IX1,    #0x0c70
lri $WR1,    #0x98b8
cw 0xd
call send_back  ; 42924 (0xa7ac)

lri $AR1,    #0x597c
lri $IX1,    #0xf720
lri $WR1,    #0x3174
cw 0xd
call send_back  ; 42925 (0xa7ad)

lri $AR1,    #0xb150
lri $IX1,    #0xf302
lri $WR1,    #0xb5b2
cw 0xd
call send_back  ; 42926 (0xa7ae)

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