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

lri $AR1,    #0xb420
lri $IX1,    #0x9562
lri $WR1,    #0xb3b1
cw 0xd
call send_back  ; 45876 (0xb334)

lri $AR1,    #0x4af5
lri $IX1,    #0x9574
lri $WR1,    #0x7d56
cw 0xd
call send_back  ; 45877 (0xb335)

lri $AR1,    #0x7fe2
lri $IX1,    #0xbbf2
lri $WR1,    #0x82a1
cw 0xd
call send_back  ; 45878 (0xb336)

lri $AR1,    #0xad3c
lri $IX1,    #0x8ffc
lri $WR1,    #0xbf2f
cw 0xd
call send_back  ; 45879 (0xb337)

lri $AR1,    #0xcf79
lri $IX1,    #0x5ee8
lri $WR1,    #0x7c14
cw 0xd
call send_back  ; 45880 (0xb338)

lri $AR1,    #0x64a4
lri $IX1,    #0x2812
lri $WR1,    #0x9515
cw 0xd
call send_back  ; 45881 (0xb339)

lri $AR1,    #0x72a7
lri $IX1,    #0xd1d8
lri $WR1,    #0x8e1c
cw 0xd
call send_back  ; 45882 (0xb33a)

lri $AR1,    #0x9e30
lri $IX1,    #0x8026
lri $WR1,    #0x9011
cw 0xd
call send_back  ; 45883 (0xb33b)

lri $AR1,    #0x2383
lri $IX1,    #0x886a
lri $WR1,    #0x798f
cw 0xd
call send_back  ; 45884 (0xb33c)

lri $AR1,    #0xbe0d
lri $IX1,    #0x162a
lri $WR1,    #0xe994
cw 0xd
call send_back  ; 45885 (0xb33d)

lri $AR1,    #0x7b04
lri $IX1,    #0xff22
lri $WR1,    #0x67b3
cw 0xd
call send_back  ; 45886 (0xb33e)

lri $AR1,    #0x76e0
lri $IX1,    #0x6524
lri $WR1,    #0x6ee1
cw 0xd
call send_back  ; 45887 (0xb33f)

lri $AR1,    #0x7d0a
lri $IX1,    #0x77a8
lri $WR1,    #0x8562
cw 0xd
call send_back  ; 45888 (0xb340)

lri $AR1,    #0xcc86
lri $IX1,    #0xce32
lri $WR1,    #0x95f3
cw 0xd
call send_back  ; 45889 (0xb341)

lri $AR1,    #0x43e5
lri $IX1,    #0x508e
lri $WR1,    #0xcbb3
cw 0xd
call send_back  ; 45890 (0xb342)

lri $AR1,    #0xca5f
lri $IX1,    #0x510c
lri $WR1,    #0xa3e8
cw 0xd
call send_back  ; 45891 (0xb343)

lri $AR1,    #0xd358
lri $IX1,    #0x409a
lri $WR1,    #0x9e24
cw 0xd
call send_back  ; 45892 (0xb344)

lri $AR1,    #0xb519
lri $IX1,    #0x1c16
lri $WR1,    #0x4ce6
cw 0xd
call send_back  ; 45893 (0xb345)

lri $AR1,    #0x9b29
lri $IX1,    #0x3d8e
lri $WR1,    #0x663e
cw 0xd
call send_back  ; 45894 (0xb346)

lri $AR1,    #0x7ff4
lri $IX1,    #0x7be2
lri $WR1,    #0xb586
cw 0xd
call send_back  ; 45895 (0xb347)

lri $AR1,    #0xb126
lri $IX1,    #0x5672
lri $WR1,    #0xd4c3
cw 0xd
call send_back  ; 45896 (0xb348)

lri $AR1,    #0x4d8b
lri $IX1,    #0x323e
lri $WR1,    #0xbdbb
cw 0xd
call send_back  ; 45897 (0xb349)

lri $AR1,    #0x4aac
lri $IX1,    #0x4952
lri $WR1,    #0x7050
cw 0xd
call send_back  ; 45898 (0xb34a)

lri $AR1,    #0x441e
lri $IX1,    #0xbcae
lri $WR1,    #0x7d36
cw 0xd
call send_back  ; 45899 (0xb34b)

lri $AR1,    #0x7daf
lri $IX1,    #0x1c96
lri $WR1,    #0x9988
cw 0xd
call send_back  ; 45900 (0xb34c)

lri $AR1,    #0x7d58
lri $IX1,    #0x9286
lri $WR1,    #0x5956
cw 0xd
call send_back  ; 45901 (0xb34d)

lri $AR1,    #0x5141
lri $IX1,    #0x83ba
lri $WR1,    #0xacbc
cw 0xd
call send_back  ; 45902 (0xb34e)

lri $AR1,    #0x5998
lri $IX1,    #0xe268
lri $WR1,    #0x9c89
cw 0xd
call send_back  ; 45903 (0xb34f)

lri $AR1,    #0xa59e
lri $IX1,    #0x57a6
lri $WR1,    #0x6911
cw 0xd
call send_back  ; 45904 (0xb350)

lri $AR1,    #0x7eb5
lri $IX1,    #0xd748
lri $WR1,    #0x7735
cw 0xd
call send_back  ; 45905 (0xb351)

lri $AR1,    #0x7bb0
lri $IX1,    #0xea66
lri $WR1,    #0x452c
cw 0xd
call send_back  ; 45906 (0xb352)

lri $AR1,    #0x4a4f
lri $IX1,    #0xed00
lri $WR1,    #0xd227
cw 0xd
call send_back  ; 45907 (0xb353)

lri $AR1,    #0xa41b
lri $IX1,    #0x7e7c
lri $WR1,    #0x5956
cw 0xd
call send_back  ; 45908 (0xb354)

lri $AR1,    #0x7f8e
lri $IX1,    #0x5c50
lri $WR1,    #0x5a6e
cw 0xd
call send_back  ; 45909 (0xb355)

lri $AR1,    #0x5dbe
lri $IX1,    #0xa9a8
lri $WR1,    #0x8725
cw 0xd
call send_back  ; 45910 (0xb356)

lri $AR1,    #0x786d
lri $IX1,    #0x2664
lri $WR1,    #0x2ed1
cw 0xd
call send_back  ; 45911 (0xb357)

lri $AR1,    #0x6bc4
lri $IX1,    #0xeb2a
lri $WR1,    #0x86a5
cw 0xd
call send_back  ; 45912 (0xb358)

lri $AR1,    #0xa287
lri $IX1,    #0xc7e4
lri $WR1,    #0x16ad
cw 0xd
call send_back  ; 45913 (0xb359)

lri $AR1,    #0x2b24
lri $IX1,    #0x3d8c
lri $WR1,    #0x8101
cw 0xd
call send_back  ; 45914 (0xb35a)

lri $AR1,    #0x0f53
lri $IX1,    #0x1b74
lri $WR1,    #0x2a62
cw 0xd
call send_back  ; 45915 (0xb35b)

lri $AR1,    #0x2fae
lri $IX1,    #0xebf4
lri $WR1,    #0x60a8
cw 0xd
call send_back  ; 45916 (0xb35c)

lri $AR1,    #0xdffb
lri $IX1,    #0x73c2
lri $WR1,    #0x5538
cw 0xd
call send_back  ; 45917 (0xb35d)

lri $AR1,    #0x7093
lri $IX1,    #0x72d8
lri $WR1,    #0x7ef5
cw 0xd
call send_back  ; 45918 (0xb35e)

lri $AR1,    #0x5499
lri $IX1,    #0x750c
lri $WR1,    #0x98ca
cw 0xd
call send_back  ; 45919 (0xb35f)

lri $AR1,    #0x8c69
lri $IX1,    #0xb45c
lri $WR1,    #0x575b
cw 0xd
call send_back  ; 45920 (0xb360)

lri $AR1,    #0x4701
lri $IX1,    #0xb622
lri $WR1,    #0x79eb
cw 0xd
call send_back  ; 45921 (0xb361)

lri $AR1,    #0x2cb7
lri $IX1,    #0x4808
lri $WR1,    #0x680a
cw 0xd
call send_back  ; 45922 (0xb362)

lri $AR1,    #0x590e
lri $IX1,    #0xb0fc
lri $WR1,    #0x7f13
cw 0xd
call send_back  ; 45923 (0xb363)

lri $AR1,    #0x10fb
lri $IX1,    #0x2e1a
lri $WR1,    #0x6817
cw 0xd
call send_back  ; 45924 (0xb364)

lri $AR1,    #0x1e63
lri $IX1,    #0x0ab2
lri $WR1,    #0x283e
cw 0xd
call send_back  ; 45925 (0xb365)

lri $AR1,    #0xc931
lri $IX1,    #0xae4e
lri $WR1,    #0xfb25
cw 0xd
call send_back  ; 45926 (0xb366)

lri $AR1,    #0x89bb
lri $IX1,    #0xbb10
lri $WR1,    #0xc85d
cw 0xd
call send_back  ; 45927 (0xb367)

lri $AR1,    #0xa7e0
lri $IX1,    #0xaa20
lri $WR1,    #0x8a8b
cw 0xd
call send_back  ; 45928 (0xb368)

lri $AR1,    #0xe5a7
lri $IX1,    #0x1b96
lri $WR1,    #0xa83c
cw 0xd
call send_back  ; 45929 (0xb369)

lri $AR1,    #0x739d
lri $IX1,    #0x2a98
lri $WR1,    #0x6c01
cw 0xd
call send_back  ; 45930 (0xb36a)

lri $AR1,    #0xa0e0
lri $IX1,    #0x6608
lri $WR1,    #0xdae4
cw 0xd
call send_back  ; 45931 (0xb36b)

lri $AR1,    #0xe012
lri $IX1,    #0x7194
lri $WR1,    #0x7dbf
cw 0xd
call send_back  ; 45932 (0xb36c)

lri $AR1,    #0xb608
lri $IX1,    #0xaa6e
lri $WR1,    #0xab8a
cw 0xd
call send_back  ; 45933 (0xb36d)

lri $AR1,    #0x568b
lri $IX1,    #0x568c
lri $WR1,    #0x602f
cw 0xd
call send_back  ; 45934 (0xb36e)

lri $AR1,    #0x76f5
lri $IX1,    #0xc4a2
lri $WR1,    #0x8cf6
cw 0xd
call send_back  ; 45935 (0xb36f)

lri $AR1,    #0x95fc
lri $IX1,    #0x36d8
lri $WR1,    #0x7511
cw 0xd
call send_back  ; 45936 (0xb370)

lri $AR1,    #0x837a
lri $IX1,    #0x5952
lri $WR1,    #0x7267
cw 0xd
call send_back  ; 45937 (0xb371)

lri $AR1,    #0xb287
lri $IX1,    #0x4182
lri $WR1,    #0xcc1e
cw 0xd
call send_back  ; 45938 (0xb372)

lri $AR1,    #0x33ab
lri $IX1,    #0x628e
lri $WR1,    #0x79fe
cw 0xd
call send_back  ; 45939 (0xb373)

lri $AR1,    #0x7c86
lri $IX1,    #0x6684
lri $WR1,    #0xa538
cw 0xd
call send_back  ; 45940 (0xb374)

lri $AR1,    #0xbdaa
lri $IX1,    #0x53cc
lri $WR1,    #0x50a6
cw 0xd
call send_back  ; 45941 (0xb375)

lri $AR1,    #0x5712
lri $IX1,    #0xb192
lri $WR1,    #0x300e
cw 0xd
call send_back  ; 45942 (0xb376)

lri $AR1,    #0x5eea
lri $IX1,    #0x5d74
lri $WR1,    #0xb77c
cw 0xd
call send_back  ; 45943 (0xb377)

lri $AR1,    #0x860d
lri $IX1,    #0x5866
lri $WR1,    #0x3144
cw 0xd
call send_back  ; 45944 (0xb378)

lri $AR1,    #0x50fc
lri $IX1,    #0xd7e6
lri $WR1,    #0x92b7
cw 0xd
call send_back  ; 45945 (0xb379)

lri $AR1,    #0x7ba7
lri $IX1,    #0x4486
lri $WR1,    #0xb51c
cw 0xd
call send_back  ; 45946 (0xb37a)

lri $AR1,    #0xd1d2
lri $IX1,    #0x5dfa
lri $WR1,    #0x6a0c
cw 0xd
call send_back  ; 45947 (0xb37b)

lri $AR1,    #0x2d69
lri $IX1,    #0x6088
lri $WR1,    #0x779d
cw 0xd
call send_back  ; 45948 (0xb37c)

lri $AR1,    #0x878d
lri $IX1,    #0x9f1a
lri $WR1,    #0x429d
cw 0xd
call send_back  ; 45949 (0xb37d)

lri $AR1,    #0x78b9
lri $IX1,    #0x70e2
lri $WR1,    #0xaa3c
cw 0xd
call send_back  ; 45950 (0xb37e)

lri $AR1,    #0x87bc
lri $IX1,    #0x70ba
lri $WR1,    #0xba5c
cw 0xd
call send_back  ; 45951 (0xb37f)

lri $AR1,    #0x9ee7
lri $IX1,    #0xc02c
lri $WR1,    #0xbf01
cw 0xd
call send_back  ; 45952 (0xb380)

lri $AR1,    #0x4a2f
lri $IX1,    #0x2764
lri $WR1,    #0x4cf6
cw 0xd
call send_back  ; 45953 (0xb381)

lri $AR1,    #0xe0b0
lri $IX1,    #0x66e6
lri $WR1,    #0x6137
cw 0xd
call send_back  ; 45954 (0xb382)

lri $AR1,    #0xcf38
lri $IX1,    #0xbf44
lri $WR1,    #0x2a37
cw 0xd
call send_back  ; 45955 (0xb383)

lri $AR1,    #0x414d
lri $IX1,    #0x76c6
lri $WR1,    #0xc389
cw 0xd
call send_back  ; 45956 (0xb384)

lri $AR1,    #0x4171
lri $IX1,    #0xdc2e
lri $WR1,    #0x85f8
cw 0xd
call send_back  ; 45957 (0xb385)

lri $AR1,    #0x78f1
lri $IX1,    #0xd182
lri $WR1,    #0x6bb2
cw 0xd
call send_back  ; 45958 (0xb386)

lri $AR1,    #0x5b0d
lri $IX1,    #0x2924
lri $WR1,    #0x497e
cw 0xd
call send_back  ; 45959 (0xb387)

lri $AR1,    #0x9eda
lri $IX1,    #0xf30a
lri $WR1,    #0xa3a2
cw 0xd
call send_back  ; 45960 (0xb388)

lri $AR1,    #0xd696
lri $IX1,    #0x1f60
lri $WR1,    #0x8e6e
cw 0xd
call send_back  ; 45961 (0xb389)

lri $AR1,    #0x92d5
lri $IX1,    #0x7762
lri $WR1,    #0xb826
cw 0xd
call send_back  ; 45962 (0xb38a)

lri $AR1,    #0xb33d
lri $IX1,    #0xbcda
lri $WR1,    #0x4b2b
cw 0xd
call send_back  ; 45963 (0xb38b)

lri $AR1,    #0xae44
lri $IX1,    #0xa3e0
lri $WR1,    #0x2d14
cw 0xd
call send_back  ; 45964 (0xb38c)

lri $AR1,    #0x949b
lri $IX1,    #0x3256
lri $WR1,    #0x98c0
cw 0xd
call send_back  ; 45965 (0xb38d)

lri $AR1,    #0xc4ad
lri $IX1,    #0xbbee
lri $WR1,    #0x8ee9
cw 0xd
call send_back  ; 45966 (0xb38e)

lri $AR1,    #0x85ff
lri $IX1,    #0x10e4
lri $WR1,    #0x7a4d
cw 0xd
call send_back  ; 45967 (0xb38f)

lri $AR1,    #0x7bb9
lri $IX1,    #0x6966
lri $WR1,    #0x89fe
cw 0xd
call send_back  ; 45968 (0xb390)

lri $AR1,    #0x6933
lri $IX1,    #0xfeea
lri $WR1,    #0x0dea
cw 0xd
call send_back  ; 45969 (0xb391)

lri $AR1,    #0x82c4
lri $IX1,    #0x0042
lri $WR1,    #0x6f25
cw 0xd
call send_back  ; 45970 (0xb392)

lri $AR1,    #0x58c4
lri $IX1,    #0x7cb0
lri $WR1,    #0x8f0f
cw 0xd
call send_back  ; 45971 (0xb393)

lri $AR1,    #0xb1e0
lri $IX1,    #0xe5f4
lri $WR1,    #0xcdd8
cw 0xd
call send_back  ; 45972 (0xb394)

lri $AR1,    #0x45ca
lri $IX1,    #0xc068
lri $WR1,    #0x9281
cw 0xd
call send_back  ; 45973 (0xb395)

lri $AR1,    #0x985e
lri $IX1,    #0xe42e
lri $WR1,    #0x4bdd
cw 0xd
call send_back  ; 45974 (0xb396)

lri $AR1,    #0x9933
lri $IX1,    #0x31ac
lri $WR1,    #0x63b2
cw 0xd
call send_back  ; 45975 (0xb397)

lri $AR1,    #0x82d6
lri $IX1,    #0xaf1e
lri $WR1,    #0xe272
cw 0xd
call send_back  ; 45976 (0xb398)

lri $AR1,    #0xa085
lri $IX1,    #0x8c96
lri $WR1,    #0x6bb2
cw 0xd
call send_back  ; 45977 (0xb399)

lri $AR1,    #0x80b3
lri $IX1,    #0x6742
lri $WR1,    #0xa8ed
cw 0xd
call send_back  ; 45978 (0xb39a)

lri $AR1,    #0x0e2d
lri $IX1,    #0x3438
lri $WR1,    #0x898f
cw 0xd
call send_back  ; 45979 (0xb39b)

lri $AR1,    #0xf133
lri $IX1,    #0x5ea8
lri $WR1,    #0xd4f1
cw 0xd
call send_back  ; 45980 (0xb39c)

lri $AR1,    #0x5541
lri $IX1,    #0xbcb2
lri $WR1,    #0xc444
cw 0xd
call send_back  ; 45981 (0xb39d)

lri $AR1,    #0x9ff6
lri $IX1,    #0xe9c0
lri $WR1,    #0x9808
cw 0xd
call send_back  ; 45982 (0xb39e)

lri $AR1,    #0xa8cb
lri $IX1,    #0x34b0
lri $WR1,    #0xbe19
cw 0xd
call send_back  ; 45983 (0xb39f)

lri $AR1,    #0x7903
lri $IX1,    #0x8396
lri $WR1,    #0x82d6
cw 0xd
call send_back  ; 45984 (0xb3a0)

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