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

lri $AR1,    #0x3626
lri $IX1,    #0x4e1a
lri $WR1,    #0x9141
cw 0xd
call send_back  ; 17914 (0x45fa)

lri $AR1,    #0x7051
lri $IX1,    #0xf9f0
lri $WR1,    #0x3772
cw 0xd
call send_back  ; 17915 (0x45fb)

lri $AR1,    #0x243a
lri $IX1,    #0x06c2
lri $WR1,    #0x9f92
cw 0xd
call send_back  ; 17916 (0x45fc)

lri $AR1,    #0x619e
lri $IX1,    #0x6afe
lri $WR1,    #0x9bf8
cw 0xd
call send_back  ; 17917 (0x45fd)

lri $AR1,    #0x4336
lri $IX1,    #0x29ec
lri $WR1,    #0x9f82
cw 0xd
call send_back  ; 17918 (0x45fe)

lri $AR1,    #0x4cac
lri $IX1,    #0x1a26
lri $WR1,    #0x5ade
cw 0xd
call send_back  ; 17919 (0x45ff)

lri $AR1,    #0x16ca
lri $IX1,    #0x978e
lri $WR1,    #0x82fc
cw 0xd
call send_back  ; 17920 (0x4600)

lri $AR1,    #0xaca6
lri $IX1,    #0xba52
lri $WR1,    #0x94b1
cw 0xd
call send_back  ; 17921 (0x4601)

lri $AR1,    #0x7c15
lri $IX1,    #0x278c
lri $WR1,    #0x7727
cw 0xd
call send_back  ; 17922 (0x4602)

lri $AR1,    #0x4f40
lri $IX1,    #0x400e
lri $WR1,    #0xd01d
cw 0xd
call send_back  ; 17923 (0x4603)

lri $AR1,    #0x4cab
lri $IX1,    #0x34fa
lri $WR1,    #0x9290
cw 0xd
call send_back  ; 17924 (0x4604)

lri $AR1,    #0xd675
lri $IX1,    #0x418e
lri $WR1,    #0xa9db
cw 0xd
call send_back  ; 17925 (0x4605)

lri $AR1,    #0x3123
lri $IX1,    #0xd4ec
lri $WR1,    #0x80d3
cw 0xd
call send_back  ; 17926 (0x4606)

lri $AR1,    #0x7dd6
lri $IX1,    #0xb634
lri $WR1,    #0x6610
cw 0xd
call send_back  ; 17927 (0x4607)

lri $AR1,    #0xab1b
lri $IX1,    #0x00b8
lri $WR1,    #0x53bf
cw 0xd
call send_back  ; 17928 (0x4608)

lri $AR1,    #0x6b4e
lri $IX1,    #0x1d9a
lri $WR1,    #0xcb41
cw 0xd
call send_back  ; 17929 (0x4609)

lri $AR1,    #0xdebe
lri $IX1,    #0x7bbc
lri $WR1,    #0xa202
cw 0xd
call send_back  ; 17930 (0x460a)

lri $AR1,    #0xd36e
lri $IX1,    #0x961a
lri $WR1,    #0xaeaf
cw 0xd
call send_back  ; 17931 (0x460b)

lri $AR1,    #0xa3cf
lri $IX1,    #0xbcac
lri $WR1,    #0x9b4f
cw 0xd
call send_back  ; 17932 (0x460c)

lri $AR1,    #0xb92f
lri $IX1,    #0xead4
lri $WR1,    #0x9a4a
cw 0xd
call send_back  ; 17933 (0x460d)

lri $AR1,    #0x6635
lri $IX1,    #0xa25c
lri $WR1,    #0x3a06
cw 0xd
call send_back  ; 17934 (0x460e)

lri $AR1,    #0x1141
lri $IX1,    #0x213a
lri $WR1,    #0x740e
cw 0xd
call send_back  ; 17935 (0x460f)

lri $AR1,    #0x5df8
lri $IX1,    #0x3bfc
lri $WR1,    #0xba5f
cw 0xd
call send_back  ; 17936 (0x4610)

lri $AR1,    #0x90cc
lri $IX1,    #0x8e12
lri $WR1,    #0x8ef4
cw 0xd
call send_back  ; 17937 (0x4611)

lri $AR1,    #0x26d3
lri $IX1,    #0x6cea
lri $WR1,    #0x7f0d
cw 0xd
call send_back  ; 17938 (0x4612)

lri $AR1,    #0x6fbe
lri $IX1,    #0xfa06
lri $WR1,    #0x8d54
cw 0xd
call send_back  ; 17939 (0x4613)

lri $AR1,    #0x3f39
lri $IX1,    #0xb3fc
lri $WR1,    #0x8b68
cw 0xd
call send_back  ; 17940 (0x4614)

lri $AR1,    #0x6690
lri $IX1,    #0xdda4
lri $WR1,    #0x7cd2
cw 0xd
call send_back  ; 17941 (0x4615)

lri $AR1,    #0x76db
lri $IX1,    #0xde3c
lri $WR1,    #0x3b17
cw 0xd
call send_back  ; 17942 (0x4616)

lri $AR1,    #0xaf8e
lri $IX1,    #0x3ce8
lri $WR1,    #0x93c3
cw 0xd
call send_back  ; 17943 (0x4617)

lri $AR1,    #0xd4b2
lri $IX1,    #0xed3e
lri $WR1,    #0xdf36
cw 0xd
call send_back  ; 17944 (0x4618)

lri $AR1,    #0x53a1
lri $IX1,    #0x2a4c
lri $WR1,    #0x7813
cw 0xd
call send_back  ; 17945 (0x4619)

lri $AR1,    #0x7c87
lri $IX1,    #0xf8dc
lri $WR1,    #0x6900
cw 0xd
call send_back  ; 17946 (0x461a)

lri $AR1,    #0x8a92
lri $IX1,    #0x7944
lri $WR1,    #0x77b4
cw 0xd
call send_back  ; 17947 (0x461b)

lri $AR1,    #0x9bfa
lri $IX1,    #0x548a
lri $WR1,    #0x49f3
cw 0xd
call send_back  ; 17948 (0x461c)

lri $AR1,    #0x76d9
lri $IX1,    #0xa84c
lri $WR1,    #0x1a7c
cw 0xd
call send_back  ; 17949 (0x461d)

lri $AR1,    #0x6709
lri $IX1,    #0xc010
lri $WR1,    #0x317c
cw 0xd
call send_back  ; 17950 (0x461e)

lri $AR1,    #0x84e1
lri $IX1,    #0x8a70
lri $WR1,    #0x7599
cw 0xd
call send_back  ; 17951 (0x461f)

lri $AR1,    #0xac1d
lri $IX1,    #0xebe0
lri $WR1,    #0x501e
cw 0xd
call send_back  ; 17952 (0x4620)

lri $AR1,    #0x35cf
lri $IX1,    #0xb858
lri $WR1,    #0xa86b
cw 0xd
call send_back  ; 17953 (0x4621)

lri $AR1,    #0x878b
lri $IX1,    #0x18d2
lri $WR1,    #0xc817
cw 0xd
call send_back  ; 17954 (0x4622)

lri $AR1,    #0x9dcb
lri $IX1,    #0x50c4
lri $WR1,    #0xeaf9
cw 0xd
call send_back  ; 17955 (0x4623)

lri $AR1,    #0xbea3
lri $IX1,    #0x1b78
lri $WR1,    #0x738d
cw 0xd
call send_back  ; 17956 (0x4624)

lri $AR1,    #0x5dcd
lri $IX1,    #0x10a0
lri $WR1,    #0x15d3
cw 0xd
call send_back  ; 17957 (0x4625)

lri $AR1,    #0x4a31
lri $IX1,    #0x8ad8
lri $WR1,    #0xa833
cw 0xd
call send_back  ; 17958 (0x4626)

lri $AR1,    #0x60da
lri $IX1,    #0x4a86
lri $WR1,    #0x8b78
cw 0xd
call send_back  ; 17959 (0x4627)

lri $AR1,    #0x988a
lri $IX1,    #0x62c4
lri $WR1,    #0xa071
cw 0xd
call send_back  ; 17960 (0x4628)

lri $AR1,    #0xa4d7
lri $IX1,    #0xc5c8
lri $WR1,    #0x6b42
cw 0xd
call send_back  ; 17961 (0x4629)

lri $AR1,    #0x8f13
lri $IX1,    #0xe18e
lri $WR1,    #0x320b
cw 0xd
call send_back  ; 17962 (0x462a)

lri $AR1,    #0x56cd
lri $IX1,    #0x0cfa
lri $WR1,    #0x75cf
cw 0xd
call send_back  ; 17963 (0x462b)

lri $AR1,    #0xd348
lri $IX1,    #0xe96a
lri $WR1,    #0x7a4f
cw 0xd
call send_back  ; 17964 (0x462c)

lri $AR1,    #0x8aac
lri $IX1,    #0x33f2
lri $WR1,    #0x8ae0
cw 0xd
call send_back  ; 17965 (0x462d)

lri $AR1,    #0x6344
lri $IX1,    #0xad1a
lri $WR1,    #0xa7b3
cw 0xd
call send_back  ; 17966 (0x462e)

lri $AR1,    #0xd69c
lri $IX1,    #0x9d5a
lri $WR1,    #0xa8cd
cw 0xd
call send_back  ; 17967 (0x462f)

lri $AR1,    #0x85cb
lri $IX1,    #0xf04a
lri $WR1,    #0x8908
cw 0xd
call send_back  ; 17968 (0x4630)

lri $AR1,    #0x99be
lri $IX1,    #0xc7b0
lri $WR1,    #0xd566
cw 0xd
call send_back  ; 17969 (0x4631)

lri $AR1,    #0x99ce
lri $IX1,    #0xa354
lri $WR1,    #0x8a17
cw 0xd
call send_back  ; 17970 (0x4632)

lri $AR1,    #0x3677
lri $IX1,    #0xa9d8
lri $WR1,    #0xd85d
cw 0xd
call send_back  ; 17971 (0x4633)

lri $AR1,    #0xcd79
lri $IX1,    #0x227e
lri $WR1,    #0x45d2
cw 0xd
call send_back  ; 17972 (0x4634)

lri $AR1,    #0x883a
lri $IX1,    #0xa714
lri $WR1,    #0xaf2c
cw 0xd
call send_back  ; 17973 (0x4635)

lri $AR1,    #0x44b4
lri $IX1,    #0xe0d2
lri $WR1,    #0xd5f9
cw 0xd
call send_back  ; 17974 (0x4636)

lri $AR1,    #0x5cc8
lri $IX1,    #0xa29e
lri $WR1,    #0xa280
cw 0xd
call send_back  ; 17975 (0x4637)

lri $AR1,    #0x3731
lri $IX1,    #0xc658
lri $WR1,    #0x883e
cw 0xd
call send_back  ; 17976 (0x4638)

lri $AR1,    #0x3903
lri $IX1,    #0x3aa2
lri $WR1,    #0x651e
cw 0xd
call send_back  ; 17977 (0x4639)

lri $AR1,    #0x8df0
lri $IX1,    #0x09e2
lri $WR1,    #0xa0f5
cw 0xd
call send_back  ; 17978 (0x463a)

lri $AR1,    #0x312e
lri $IX1,    #0xb2ce
lri $WR1,    #0x244f
cw 0xd
call send_back  ; 17979 (0x463b)

lri $AR1,    #0x884a
lri $IX1,    #0xce5c
lri $WR1,    #0xd332
cw 0xd
call send_back  ; 17980 (0x463c)

lri $AR1,    #0x9cb8
lri $IX1,    #0x9658
lri $WR1,    #0x71c3
cw 0xd
call send_back  ; 17981 (0x463d)

lri $AR1,    #0x7074
lri $IX1,    #0x4b88
lri $WR1,    #0x967d
cw 0xd
call send_back  ; 17982 (0x463e)

lri $AR1,    #0x6d81
lri $IX1,    #0x9984
lri $WR1,    #0x6efb
cw 0xd
call send_back  ; 17983 (0x463f)

lri $AR1,    #0x6790
lri $IX1,    #0xca4c
lri $WR1,    #0x81ee
cw 0xd
call send_back  ; 17984 (0x4640)

lri $AR1,    #0x72aa
lri $IX1,    #0xc2ae
lri $WR1,    #0xa236
cw 0xd
call send_back  ; 17985 (0x4641)

lri $AR1,    #0xd12a
lri $IX1,    #0x3c7e
lri $WR1,    #0x54dd
cw 0xd
call send_back  ; 17986 (0x4642)

lri $AR1,    #0xced2
lri $IX1,    #0x62d0
lri $WR1,    #0x5ccf
cw 0xd
call send_back  ; 17987 (0x4643)

lri $AR1,    #0x664b
lri $IX1,    #0xb820
lri $WR1,    #0x5508
cw 0xd
call send_back  ; 17988 (0x4644)

lri $AR1,    #0xe9e7
lri $IX1,    #0xe590
lri $WR1,    #0x1b2e
cw 0xd
call send_back  ; 17989 (0x4645)

lri $AR1,    #0x77f5
lri $IX1,    #0x9e38
lri $WR1,    #0xaa38
cw 0xd
call send_back  ; 17990 (0x4646)

lri $AR1,    #0x266a
lri $IX1,    #0x00c0
lri $WR1,    #0x462a
cw 0xd
call send_back  ; 17991 (0x4647)

lri $AR1,    #0x6938
lri $IX1,    #0xb50a
lri $WR1,    #0x5f6f
cw 0xd
call send_back  ; 17992 (0x4648)

lri $AR1,    #0xa234
lri $IX1,    #0x4b66
lri $WR1,    #0xbdf6
cw 0xd
call send_back  ; 17993 (0x4649)

lri $AR1,    #0x68b0
lri $IX1,    #0xfde6
lri $WR1,    #0x318a
cw 0xd
call send_back  ; 17994 (0x464a)

lri $AR1,    #0x4ac6
lri $IX1,    #0xc450
lri $WR1,    #0x9686
cw 0xd
call send_back  ; 17995 (0x464b)

lri $AR1,    #0x718f
lri $IX1,    #0x8e70
lri $WR1,    #0x536d
cw 0xd
call send_back  ; 17996 (0x464c)

lri $AR1,    #0x8d0b
lri $IX1,    #0x500e
lri $WR1,    #0x6d76
cw 0xd
call send_back  ; 17997 (0x464d)

lri $AR1,    #0x9c2b
lri $IX1,    #0x356a
lri $WR1,    #0x4fa6
cw 0xd
call send_back  ; 17998 (0x464e)

lri $AR1,    #0x68a2
lri $IX1,    #0xb680
lri $WR1,    #0xc175
cw 0xd
call send_back  ; 17999 (0x464f)

lri $AR1,    #0xc5fd
lri $IX1,    #0x32f4
lri $WR1,    #0x2f9e
cw 0xd
call send_back  ; 18000 (0x4650)

lri $AR1,    #0xaea3
lri $IX1,    #0x27de
lri $WR1,    #0xb32a
cw 0xd
call send_back  ; 18001 (0x4651)

lri $AR1,    #0x9931
lri $IX1,    #0xcc60
lri $WR1,    #0x9037
cw 0xd
call send_back  ; 18002 (0x4652)

lri $AR1,    #0xb3ec
lri $IX1,    #0xd140
lri $WR1,    #0x979f
cw 0xd
call send_back  ; 18003 (0x4653)

lri $AR1,    #0x7ba8
lri $IX1,    #0x036e
lri $WR1,    #0x4bfb
cw 0xd
call send_back  ; 18004 (0x4654)

lri $AR1,    #0x3ee6
lri $IX1,    #0x88a4
lri $WR1,    #0xc427
cw 0xd
call send_back  ; 18005 (0x4655)

lri $AR1,    #0x6d85
lri $IX1,    #0x391c
lri $WR1,    #0x62c1
cw 0xd
call send_back  ; 18006 (0x4656)

lri $AR1,    #0x78cd
lri $IX1,    #0x187a
lri $WR1,    #0x7bc6
cw 0xd
call send_back  ; 18007 (0x4657)

lri $AR1,    #0xdf30
lri $IX1,    #0x03ec
lri $WR1,    #0x46d3
cw 0xd
call send_back  ; 18008 (0x4658)

lri $AR1,    #0xaa79
lri $IX1,    #0x32a8
lri $WR1,    #0x661b
cw 0xd
call send_back  ; 18009 (0x4659)

lri $AR1,    #0x86e1
lri $IX1,    #0x01ac
lri $WR1,    #0xb79e
cw 0xd
call send_back  ; 18010 (0x465a)

lri $AR1,    #0x8ca6
lri $IX1,    #0x9312
lri $WR1,    #0x77c4
cw 0xd
call send_back  ; 18011 (0x465b)

lri $AR1,    #0xbda9
lri $IX1,    #0xecba
lri $WR1,    #0x51ce
cw 0xd
call send_back  ; 18012 (0x465c)

lri $AR1,    #0x73b9
lri $IX1,    #0x59a4
lri $WR1,    #0x344b
cw 0xd
call send_back  ; 18013 (0x465d)

lri $AR1,    #0x6bf7
lri $IX1,    #0xbcd2
lri $WR1,    #0x7d01
cw 0xd
call send_back  ; 18014 (0x465e)

lri $AR1,    #0x1f0d
lri $IX1,    #0x23de
lri $WR1,    #0x3189
cw 0xd
call send_back  ; 18015 (0x465f)

lri $AR1,    #0x8da2
lri $IX1,    #0x1b54
lri $WR1,    #0x5eeb
cw 0xd
call send_back  ; 18016 (0x4660)

lri $AR1,    #0x73b9
lri $IX1,    #0xedd4
lri $WR1,    #0x4493
cw 0xd
call send_back  ; 18017 (0x4661)

lri $AR1,    #0xd571
lri $IX1,    #0xf30c
lri $WR1,    #0x7bf8
cw 0xd
call send_back  ; 18018 (0x4662)

lri $AR1,    #0x6ad4
lri $IX1,    #0x42b6
lri $WR1,    #0x401d
cw 0xd
call send_back  ; 18019 (0x4663)

lri $AR1,    #0x7822
lri $IX1,    #0x6376
lri $WR1,    #0xad7f
cw 0xd
call send_back  ; 18020 (0x4664)

lri $AR1,    #0x7b46
lri $IX1,    #0xc4e0
lri $WR1,    #0x2c69
cw 0xd
call send_back  ; 18021 (0x4665)

lri $AR1,    #0x26f2
lri $IX1,    #0xdf8c
lri $WR1,    #0x9563
cw 0xd
call send_back  ; 18022 (0x4666)

lri $AR1,    #0xc705
lri $IX1,    #0x9560
lri $WR1,    #0x60a6
cw 0xd
call send_back  ; 18023 (0x4667)

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