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

lri $AR1,    #0x9dcc
lri $IX1,    #0xda76
lri $WR1,    #0xb35a
cw 0xd
call send_back  ; 20973 (0x51ed)

lri $AR1,    #0xd3f2
lri $IX1,    #0xffb6
lri $WR1,    #0x4cf5
cw 0xd
call send_back  ; 20974 (0x51ee)

lri $AR1,    #0x88b3
lri $IX1,    #0x7c36
lri $WR1,    #0xafde
cw 0xd
call send_back  ; 20975 (0x51ef)

lri $AR1,    #0xd25f
lri $IX1,    #0xbe98
lri $WR1,    #0x71d4
cw 0xd
call send_back  ; 20976 (0x51f0)

lri $AR1,    #0x5c0c
lri $IX1,    #0x401c
lri $WR1,    #0x1d69
cw 0xd
call send_back  ; 20977 (0x51f1)

lri $AR1,    #0x86af
lri $IX1,    #0x4af2
lri $WR1,    #0xb390
cw 0xd
call send_back  ; 20978 (0x51f2)

lri $AR1,    #0x5a4d
lri $IX1,    #0x9d9a
lri $WR1,    #0xe1fb
cw 0xd
call send_back  ; 20979 (0x51f3)

lri $AR1,    #0x2c9e
lri $IX1,    #0x9b1e
lri $WR1,    #0x7eea
cw 0xd
call send_back  ; 20980 (0x51f4)

lri $AR1,    #0x7df4
lri $IX1,    #0x2f84
lri $WR1,    #0x7462
cw 0xd
call send_back  ; 20981 (0x51f5)

lri $AR1,    #0x5ca4
lri $IX1,    #0xdb30
lri $WR1,    #0x6274
cw 0xd
call send_back  ; 20982 (0x51f6)

lri $AR1,    #0x82d7
lri $IX1,    #0x57a2
lri $WR1,    #0xc199
cw 0xd
call send_back  ; 20983 (0x51f7)

lri $AR1,    #0x3a02
lri $IX1,    #0xdb44
lri $WR1,    #0x93af
cw 0xd
call send_back  ; 20984 (0x51f8)

lri $AR1,    #0x3ae4
lri $IX1,    #0x09b2
lri $WR1,    #0x9bb4
cw 0xd
call send_back  ; 20985 (0x51f9)

lri $AR1,    #0xa049
lri $IX1,    #0xf93c
lri $WR1,    #0x81be
cw 0xd
call send_back  ; 20986 (0x51fa)

lri $AR1,    #0x7671
lri $IX1,    #0x45f2
lri $WR1,    #0x9a4d
cw 0xd
call send_back  ; 20987 (0x51fb)

lri $AR1,    #0x5862
lri $IX1,    #0xce12
lri $WR1,    #0x9d87
cw 0xd
call send_back  ; 20988 (0x51fc)

lri $AR1,    #0xc7fc
lri $IX1,    #0x4b24
lri $WR1,    #0xd464
cw 0xd
call send_back  ; 20989 (0x51fd)

lri $AR1,    #0x5d14
lri $IX1,    #0x6698
lri $WR1,    #0x7f61
cw 0xd
call send_back  ; 20990 (0x51fe)

lri $AR1,    #0x6b76
lri $IX1,    #0x0820
lri $WR1,    #0xdbcc
cw 0xd
call send_back  ; 20991 (0x51ff)

lri $AR1,    #0xb70c
lri $IX1,    #0x4fc6
lri $WR1,    #0x9234
cw 0xd
call send_back  ; 20992 (0x5200)

lri $AR1,    #0x990e
lri $IX1,    #0xd4d2
lri $WR1,    #0x620e
cw 0xd
call send_back  ; 20993 (0x5201)

lri $AR1,    #0xf86c
lri $IX1,    #0x3e80
lri $WR1,    #0x6c27
cw 0xd
call send_back  ; 20994 (0x5202)

lri $AR1,    #0x8b74
lri $IX1,    #0xfac4
lri $WR1,    #0x6edc
cw 0xd
call send_back  ; 20995 (0x5203)

lri $AR1,    #0x5fc7
lri $IX1,    #0x9adc
lri $WR1,    #0x7cca
cw 0xd
call send_back  ; 20996 (0x5204)

lri $AR1,    #0x81a6
lri $IX1,    #0x1528
lri $WR1,    #0x8fea
cw 0xd
call send_back  ; 20997 (0x5205)

lri $AR1,    #0xaab6
lri $IX1,    #0xb6ec
lri $WR1,    #0xb8b5
cw 0xd
call send_back  ; 20998 (0x5206)

lri $AR1,    #0x8433
lri $IX1,    #0xd064
lri $WR1,    #0x6a61
cw 0xd
call send_back  ; 20999 (0x5207)

lri $AR1,    #0x9fd2
lri $IX1,    #0xf904
lri $WR1,    #0x6aba
cw 0xd
call send_back  ; 21000 (0x5208)

lri $AR1,    #0x3609
lri $IX1,    #0x1110
lri $WR1,    #0x95c3
cw 0xd
call send_back  ; 21001 (0x5209)

lri $AR1,    #0x5849
lri $IX1,    #0xc184
lri $WR1,    #0x5286
cw 0xd
call send_back  ; 21002 (0x520a)

lri $AR1,    #0xf8b6
lri $IX1,    #0x0a84
lri $WR1,    #0x2853
cw 0xd
call send_back  ; 21003 (0x520b)

lri $AR1,    #0x50e0
lri $IX1,    #0x5422
lri $WR1,    #0x38cd
cw 0xd
call send_back  ; 21004 (0x520c)

lri $AR1,    #0x2c35
lri $IX1,    #0x4ce4
lri $WR1,    #0x5cfe
cw 0xd
call send_back  ; 21005 (0x520d)

lri $AR1,    #0x4a7a
lri $IX1,    #0x8cae
lri $WR1,    #0xa0ed
cw 0xd
call send_back  ; 21006 (0x520e)

lri $AR1,    #0x5233
lri $IX1,    #0x529e
lri $WR1,    #0xbac3
cw 0xd
call send_back  ; 21007 (0x520f)

lri $AR1,    #0x8222
lri $IX1,    #0xa75c
lri $WR1,    #0xc01f
cw 0xd
call send_back  ; 21008 (0x5210)

lri $AR1,    #0x5cdb
lri $IX1,    #0x957c
lri $WR1,    #0xa59a
cw 0xd
call send_back  ; 21009 (0x5211)

lri $AR1,    #0xc893
lri $IX1,    #0xe488
lri $WR1,    #0x6214
cw 0xd
call send_back  ; 21010 (0x5212)

lri $AR1,    #0x711a
lri $IX1,    #0xb324
lri $WR1,    #0xc0db
cw 0xd
call send_back  ; 21011 (0x5213)

lri $AR1,    #0x813e
lri $IX1,    #0x5006
lri $WR1,    #0xe329
cw 0xd
call send_back  ; 21012 (0x5214)

lri $AR1,    #0x6469
lri $IX1,    #0xa926
lri $WR1,    #0x0b2a
cw 0xd
call send_back  ; 21013 (0x5215)

lri $AR1,    #0x90d4
lri $IX1,    #0x73e4
lri $WR1,    #0xe801
cw 0xd
call send_back  ; 21014 (0x5216)

lri $AR1,    #0x3e15
lri $IX1,    #0xb080
lri $WR1,    #0x9bdb
cw 0xd
call send_back  ; 21015 (0x5217)

lri $AR1,    #0xc351
lri $IX1,    #0x3eb2
lri $WR1,    #0x7aba
cw 0xd
call send_back  ; 21016 (0x5218)

lri $AR1,    #0x8404
lri $IX1,    #0xc0a8
lri $WR1,    #0x69dd
cw 0xd
call send_back  ; 21017 (0x5219)

lri $AR1,    #0xb17b
lri $IX1,    #0xe54e
lri $WR1,    #0xb58c
cw 0xd
call send_back  ; 21018 (0x521a)

lri $AR1,    #0x9b02
lri $IX1,    #0x4214
lri $WR1,    #0x841f
cw 0xd
call send_back  ; 21019 (0x521b)

lri $AR1,    #0x2df3
lri $IX1,    #0x0828
lri $WR1,    #0xa2f8
cw 0xd
call send_back  ; 21020 (0x521c)

lri $AR1,    #0x8287
lri $IX1,    #0xf842
lri $WR1,    #0xa378
cw 0xd
call send_back  ; 21021 (0x521d)

lri $AR1,    #0xc1b7
lri $IX1,    #0xe40c
lri $WR1,    #0x7b6b
cw 0xd
call send_back  ; 21022 (0x521e)

lri $AR1,    #0x33fb
lri $IX1,    #0xab3c
lri $WR1,    #0x7e15
cw 0xd
call send_back  ; 21023 (0x521f)

lri $AR1,    #0x402f
lri $IX1,    #0xd668
lri $WR1,    #0x6865
cw 0xd
call send_back  ; 21024 (0x5220)

lri $AR1,    #0x6d85
lri $IX1,    #0x98a8
lri $WR1,    #0xc459
cw 0xd
call send_back  ; 21025 (0x5221)

lri $AR1,    #0x7ab4
lri $IX1,    #0xfd18
lri $WR1,    #0x7528
cw 0xd
call send_back  ; 21026 (0x5222)

lri $AR1,    #0x304f
lri $IX1,    #0x344a
lri $WR1,    #0xaf48
cw 0xd
call send_back  ; 21027 (0x5223)

lri $AR1,    #0x9b90
lri $IX1,    #0x39aa
lri $WR1,    #0x54d7
cw 0xd
call send_back  ; 21028 (0x5224)

lri $AR1,    #0x3a4e
lri $IX1,    #0x400a
lri $WR1,    #0x8873
cw 0xd
call send_back  ; 21029 (0x5225)

lri $AR1,    #0xb092
lri $IX1,    #0x6028
lri $WR1,    #0xa625
cw 0xd
call send_back  ; 21030 (0x5226)

lri $AR1,    #0x4388
lri $IX1,    #0xc386
lri $WR1,    #0x935a
cw 0xd
call send_back  ; 21031 (0x5227)

lri $AR1,    #0x6d11
lri $IX1,    #0xd960
lri $WR1,    #0xdc7c
cw 0xd
call send_back  ; 21032 (0x5228)

lri $AR1,    #0x46e2
lri $IX1,    #0xeb0e
lri $WR1,    #0xc054
cw 0xd
call send_back  ; 21033 (0x5229)

lri $AR1,    #0x2b6f
lri $IX1,    #0x80a8
lri $WR1,    #0x76a0
cw 0xd
call send_back  ; 21034 (0x522a)

lri $AR1,    #0x1e65
lri $IX1,    #0x5634
lri $WR1,    #0x9101
cw 0xd
call send_back  ; 21035 (0x522b)

lri $AR1,    #0x3628
lri $IX1,    #0x0530
lri $WR1,    #0x2adc
cw 0xd
call send_back  ; 21036 (0x522c)

lri $AR1,    #0xbb01
lri $IX1,    #0xddd0
lri $WR1,    #0x9624
cw 0xd
call send_back  ; 21037 (0x522d)

lri $AR1,    #0x605a
lri $IX1,    #0x96bc
lri $WR1,    #0x30aa
cw 0xd
call send_back  ; 21038 (0x522e)

lri $AR1,    #0x3fde
lri $IX1,    #0x598e
lri $WR1,    #0xef12
cw 0xd
call send_back  ; 21039 (0x522f)

lri $AR1,    #0x75c5
lri $IX1,    #0x25fa
lri $WR1,    #0xcfd8
cw 0xd
call send_back  ; 21040 (0x5230)

lri $AR1,    #0x491d
lri $IX1,    #0x6cea
lri $WR1,    #0xb29c
cw 0xd
call send_back  ; 21041 (0x5231)

lri $AR1,    #0x8a5e
lri $IX1,    #0x0040
lri $WR1,    #0x5d30
cw 0xd
call send_back  ; 21042 (0x5232)

lri $AR1,    #0xa624
lri $IX1,    #0xe3c6
lri $WR1,    #0x2973
cw 0xd
call send_back  ; 21043 (0x5233)

lri $AR1,    #0xb14e
lri $IX1,    #0x0eda
lri $WR1,    #0x4ca4
cw 0xd
call send_back  ; 21044 (0x5234)

lri $AR1,    #0x4f62
lri $IX1,    #0xa666
lri $WR1,    #0x4214
cw 0xd
call send_back  ; 21045 (0x5235)

lri $AR1,    #0xa37d
lri $IX1,    #0x81ca
lri $WR1,    #0x80f3
cw 0xd
call send_back  ; 21046 (0x5236)

lri $AR1,    #0x5f9e
lri $IX1,    #0xcd06
lri $WR1,    #0xa628
cw 0xd
call send_back  ; 21047 (0x5237)

lri $AR1,    #0x5da0
lri $IX1,    #0x2e1c
lri $WR1,    #0x80d2
cw 0xd
call send_back  ; 21048 (0x5238)

lri $AR1,    #0x58b6
lri $IX1,    #0xdace
lri $WR1,    #0x5978
cw 0xd
call send_back  ; 21049 (0x5239)

lri $AR1,    #0x3db4
lri $IX1,    #0x67a4
lri $WR1,    #0xb990
cw 0xd
call send_back  ; 21050 (0x523a)

lri $AR1,    #0x7bee
lri $IX1,    #0xa870
lri $WR1,    #0x4a4a
cw 0xd
call send_back  ; 21051 (0x523b)

lri $AR1,    #0xa812
lri $IX1,    #0x9e4a
lri $WR1,    #0x7747
cw 0xd
call send_back  ; 21052 (0x523c)

lri $AR1,    #0x7db4
lri $IX1,    #0x0620
lri $WR1,    #0xbb4f
cw 0xd
call send_back  ; 21053 (0x523d)

lri $AR1,    #0x3bf1
lri $IX1,    #0x86d2
lri $WR1,    #0x3a7a
cw 0xd
call send_back  ; 21054 (0x523e)

lri $AR1,    #0x5cec
lri $IX1,    #0x9d20
lri $WR1,    #0x6f09
cw 0xd
call send_back  ; 21055 (0x523f)

lri $AR1,    #0x9f73
lri $IX1,    #0x1724
lri $WR1,    #0x9345
cw 0xd
call send_back  ; 21056 (0x5240)

lri $AR1,    #0xa5b1
lri $IX1,    #0x18ce
lri $WR1,    #0x7cb4
cw 0xd
call send_back  ; 21057 (0x5241)

lri $AR1,    #0xeb23
lri $IX1,    #0x1e12
lri $WR1,    #0xa9fe
cw 0xd
call send_back  ; 21058 (0x5242)

lri $AR1,    #0x67a6
lri $IX1,    #0x1f26
lri $WR1,    #0xb6ae
cw 0xd
call send_back  ; 21059 (0x5243)

lri $AR1,    #0xbd08
lri $IX1,    #0xbea4
lri $WR1,    #0x1d61
cw 0xd
call send_back  ; 21060 (0x5244)

lri $AR1,    #0x27b9
lri $IX1,    #0x20cc
lri $WR1,    #0x0a5d
cw 0xd
call send_back  ; 21061 (0x5245)

lri $AR1,    #0x7b28
lri $IX1,    #0x96d8
lri $WR1,    #0x5e3b
cw 0xd
call send_back  ; 21062 (0x5246)

lri $AR1,    #0x9568
lri $IX1,    #0x888e
lri $WR1,    #0xc19b
cw 0xd
call send_back  ; 21063 (0x5247)

lri $AR1,    #0xcd8f
lri $IX1,    #0xd9f6
lri $WR1,    #0xb08b
cw 0xd
call send_back  ; 21064 (0x5248)

lri $AR1,    #0x4b8f
lri $IX1,    #0x527c
lri $WR1,    #0x8d98
cw 0xd
call send_back  ; 21065 (0x5249)

lri $AR1,    #0xd7db
lri $IX1,    #0x2650
lri $WR1,    #0x7a2f
cw 0xd
call send_back  ; 21066 (0x524a)

lri $AR1,    #0x64af
lri $IX1,    #0x925a
lri $WR1,    #0x4349
cw 0xd
call send_back  ; 21067 (0x524b)

lri $AR1,    #0x3a3f
lri $IX1,    #0x5e88
lri $WR1,    #0x870a
cw 0xd
call send_back  ; 21068 (0x524c)

lri $AR1,    #0xaab1
lri $IX1,    #0xf1be
lri $WR1,    #0xb14a
cw 0xd
call send_back  ; 21069 (0x524d)

lri $AR1,    #0xe210
lri $IX1,    #0x4e5e
lri $WR1,    #0x6aad
cw 0xd
call send_back  ; 21070 (0x524e)

lri $AR1,    #0xaa34
lri $IX1,    #0xad84
lri $WR1,    #0x774a
cw 0xd
call send_back  ; 21071 (0x524f)

lri $AR1,    #0x31c8
lri $IX1,    #0x62f4
lri $WR1,    #0x277d
cw 0xd
call send_back  ; 21072 (0x5250)

lri $AR1,    #0x7152
lri $IX1,    #0x1ae8
lri $WR1,    #0x46f0
cw 0xd
call send_back  ; 21073 (0x5251)

lri $AR1,    #0x8890
lri $IX1,    #0x3e9c
lri $WR1,    #0xc360
cw 0xd
call send_back  ; 21074 (0x5252)

lri $AR1,    #0x41e8
lri $IX1,    #0x3bfe
lri $WR1,    #0x7646
cw 0xd
call send_back  ; 21075 (0x5253)

lri $AR1,    #0x314d
lri $IX1,    #0x7018
lri $WR1,    #0x71dd
cw 0xd
call send_back  ; 21076 (0x5254)

lri $AR1,    #0x7f5f
lri $IX1,    #0x6bc8
lri $WR1,    #0x4b9f
cw 0xd
call send_back  ; 21077 (0x5255)

lri $AR1,    #0x411f
lri $IX1,    #0x1564
lri $WR1,    #0x7bcb
cw 0xd
call send_back  ; 21078 (0x5256)

lri $AR1,    #0x1ff3
lri $IX1,    #0xa9b2
lri $WR1,    #0x6b00
cw 0xd
call send_back  ; 21079 (0x5257)

lri $AR1,    #0x6d6e
lri $IX1,    #0xb200
lri $WR1,    #0x8c78
cw 0xd
call send_back  ; 21080 (0x5258)

lri $AR1,    #0x697d
lri $IX1,    #0x8ca4
lri $WR1,    #0xcd05
cw 0xd
call send_back  ; 21081 (0x5259)

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