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

lri $AR1,    #0xa94c
lri $IX1,    #0x3f42
lri $WR1,    #0x9e6a
cw 0x15
call send_back  ; 64990 (0xfdde)

lri $AR1,    #0xcb09
lri $IX1,    #0x6d42
lri $WR1,    #0xa735
cw 0x15
call send_back  ; 64991 (0xfddf)

lri $AR1,    #0x5d4a
lri $IX1,    #0x6a94
lri $WR1,    #0xdb0e
cw 0x15
call send_back  ; 64992 (0xfde0)

lri $AR1,    #0x4d6b
lri $IX1,    #0xa8a6
lri $WR1,    #0x3589
cw 0x15
call send_back  ; 64993 (0xfde1)

lri $AR1,    #0x77ba
lri $IX1,    #0xedf2
lri $WR1,    #0x729e
cw 0x15
call send_back  ; 64994 (0xfde2)

lri $AR1,    #0xa05b
lri $IX1,    #0xae0e
lri $WR1,    #0x7735
cw 0x15
call send_back  ; 64995 (0xfde3)

lri $AR1,    #0x507b
lri $IX1,    #0xadc0
lri $WR1,    #0x8a0d
cw 0x15
call send_back  ; 64996 (0xfde4)

lri $AR1,    #0x40de
lri $IX1,    #0xe400
lri $WR1,    #0x4f17
cw 0x15
call send_back  ; 64997 (0xfde5)

lri $AR1,    #0x89e8
lri $IX1,    #0x7ce4
lri $WR1,    #0xd4df
cw 0x15
call send_back  ; 64998 (0xfde6)

lri $AR1,    #0x750c
lri $IX1,    #0x2450
lri $WR1,    #0x44ff
cw 0x15
call send_back  ; 64999 (0xfde7)

lri $AR1,    #0x62e8
lri $IX1,    #0x6a7e
lri $WR1,    #0xce4b
cw 0x15
call send_back  ; 65000 (0xfde8)

lri $AR1,    #0xa4da
lri $IX1,    #0x4d1c
lri $WR1,    #0x8898
cw 0x15
call send_back  ; 65001 (0xfde9)

lri $AR1,    #0xc86d
lri $IX1,    #0xd428
lri $WR1,    #0xbfe7
cw 0x15
call send_back  ; 65002 (0xfdea)

lri $AR1,    #0x865e
lri $IX1,    #0x6244
lri $WR1,    #0xa5cd
cw 0x15
call send_back  ; 65003 (0xfdeb)

lri $AR1,    #0xae87
lri $IX1,    #0xf4a6
lri $WR1,    #0xbdcf
cw 0x15
call send_back  ; 65004 (0xfdec)

lri $AR1,    #0x659b
lri $IX1,    #0x375e
lri $WR1,    #0xd2b3
cw 0x15
call send_back  ; 65005 (0xfded)

lri $AR1,    #0xb8df
lri $IX1,    #0x271e
lri $WR1,    #0xc04c
cw 0x15
call send_back  ; 65006 (0xfdee)

lri $AR1,    #0xcfc8
lri $IX1,    #0x1a30
lri $WR1,    #0xbeef
cw 0x15
call send_back  ; 65007 (0xfdef)

lri $AR1,    #0xbac8
lri $IX1,    #0x96d4
lri $WR1,    #0x82fb
cw 0x15
call send_back  ; 65008 (0xfdf0)

lri $AR1,    #0x6a16
lri $IX1,    #0x75ac
lri $WR1,    #0xcca3
cw 0x15
call send_back  ; 65009 (0xfdf1)

lri $AR1,    #0x96c5
lri $IX1,    #0x9366
lri $WR1,    #0x5178
cw 0x15
call send_back  ; 65010 (0xfdf2)

lri $AR1,    #0x3bfb
lri $IX1,    #0xe562
lri $WR1,    #0x9acf
cw 0x15
call send_back  ; 65011 (0xfdf3)

lri $AR1,    #0x8591
lri $IX1,    #0x4176
lri $WR1,    #0x6984
cw 0x15
call send_back  ; 65012 (0xfdf4)

lri $AR1,    #0x34f7
lri $IX1,    #0xb17a
lri $WR1,    #0xc93f
cw 0x15
call send_back  ; 65013 (0xfdf5)

lri $AR1,    #0x4ca4
lri $IX1,    #0xdfee
lri $WR1,    #0x9aaf
cw 0x15
call send_back  ; 65014 (0xfdf6)

lri $AR1,    #0x35df
lri $IX1,    #0x2b30
lri $WR1,    #0x5dee
cw 0x15
call send_back  ; 65015 (0xfdf7)

lri $AR1,    #0x6c3f
lri $IX1,    #0x59b6
lri $WR1,    #0x4b7a
cw 0x15
call send_back  ; 65016 (0xfdf8)

lri $AR1,    #0x65a2
lri $IX1,    #0xe1c2
lri $WR1,    #0xb3f2
cw 0x15
call send_back  ; 65017 (0xfdf9)

lri $AR1,    #0x4cf4
lri $IX1,    #0x5be8
lri $WR1,    #0x8c0a
cw 0x15
call send_back  ; 65018 (0xfdfa)

lri $AR1,    #0x9994
lri $IX1,    #0x27f6
lri $WR1,    #0x5be4
cw 0x15
call send_back  ; 65019 (0xfdfb)

lri $AR1,    #0x74aa
lri $IX1,    #0xa88e
lri $WR1,    #0xde45
cw 0x15
call send_back  ; 65020 (0xfdfc)

lri $AR1,    #0x9934
lri $IX1,    #0xe206
lri $WR1,    #0x55c4
cw 0x15
call send_back  ; 65021 (0xfdfd)

lri $AR1,    #0xcb27
lri $IX1,    #0xddd2
lri $WR1,    #0x5b7f
cw 0x15
call send_back  ; 65022 (0xfdfe)

lri $AR1,    #0x8572
lri $IX1,    #0x141c
lri $WR1,    #0x8c65
cw 0x15
call send_back  ; 65023 (0xfdff)

lri $AR1,    #0x761e
lri $IX1,    #0x69be
lri $WR1,    #0x5fa4
cw 0x15
call send_back  ; 65024 (0xfe00)

lri $AR1,    #0xab7f
lri $IX1,    #0x294e
lri $WR1,    #0x7a51
cw 0x15
call send_back  ; 65025 (0xfe01)

lri $AR1,    #0xd4ab
lri $IX1,    #0xe270
lri $WR1,    #0x61d8
cw 0x15
call send_back  ; 65026 (0xfe02)

lri $AR1,    #0x0b0a
lri $IX1,    #0x6b10
lri $WR1,    #0x6037
cw 0x15
call send_back  ; 65027 (0xfe03)

lri $AR1,    #0xa263
lri $IX1,    #0x7ace
lri $WR1,    #0xa2ab
cw 0x15
call send_back  ; 65028 (0xfe04)

lri $AR1,    #0x5811
lri $IX1,    #0xa12e
lri $WR1,    #0x74ce
cw 0x15
call send_back  ; 65029 (0xfe05)

lri $AR1,    #0x49dd
lri $IX1,    #0xcbca
lri $WR1,    #0x57b9
cw 0x15
call send_back  ; 65030 (0xfe06)

lri $AR1,    #0x4024
lri $IX1,    #0x5246
lri $WR1,    #0x763e
cw 0x15
call send_back  ; 65031 (0xfe07)

lri $AR1,    #0x6eb6
lri $IX1,    #0xaa0e
lri $WR1,    #0x7cce
cw 0x15
call send_back  ; 65032 (0xfe08)

lri $AR1,    #0xbb2f
lri $IX1,    #0x9cbe
lri $WR1,    #0x8509
cw 0x15
call send_back  ; 65033 (0xfe09)

lri $AR1,    #0x371b
lri $IX1,    #0x4038
lri $WR1,    #0x729c
cw 0x15
call send_back  ; 65034 (0xfe0a)

lri $AR1,    #0x2fc1
lri $IX1,    #0x203c
lri $WR1,    #0x3072
cw 0x15
call send_back  ; 65035 (0xfe0b)

lri $AR1,    #0x5ccf
lri $IX1,    #0x2594
lri $WR1,    #0x92d3
cw 0x15
call send_back  ; 65036 (0xfe0c)

lri $AR1,    #0xb2d4
lri $IX1,    #0xefa0
lri $WR1,    #0x1c67
cw 0x15
call send_back  ; 65037 (0xfe0d)

lri $AR1,    #0x8db7
lri $IX1,    #0xa954
lri $WR1,    #0x61d4
cw 0x15
call send_back  ; 65038 (0xfe0e)

lri $AR1,    #0xab18
lri $IX1,    #0x0378
lri $WR1,    #0x28e5
cw 0x15
call send_back  ; 65039 (0xfe0f)

lri $AR1,    #0xa3dc
lri $IX1,    #0x0a42
lri $WR1,    #0x85d7
cw 0x15
call send_back  ; 65040 (0xfe10)

lri $AR1,    #0x1fb5
lri $IX1,    #0x24fe
lri $WR1,    #0x82e4
cw 0x15
call send_back  ; 65041 (0xfe11)

lri $AR1,    #0xbcf9
lri $IX1,    #0xd300
lri $WR1,    #0x2b8e
cw 0x15
call send_back  ; 65042 (0xfe12)

lri $AR1,    #0xfa99
lri $IX1,    #0xc988
lri $WR1,    #0x86be
cw 0x15
call send_back  ; 65043 (0xfe13)

lri $AR1,    #0xb981
lri $IX1,    #0x12be
lri $WR1,    #0x8053
cw 0x15
call send_back  ; 65044 (0xfe14)

lri $AR1,    #0x863c
lri $IX1,    #0xd68a
lri $WR1,    #0x5c17
cw 0x15
call send_back  ; 65045 (0xfe15)

lri $AR1,    #0x2b25
lri $IX1,    #0xaa6a
lri $WR1,    #0x69cc
cw 0x15
call send_back  ; 65046 (0xfe16)

lri $AR1,    #0x6eee
lri $IX1,    #0xc602
lri $WR1,    #0xb341
cw 0x15
call send_back  ; 65047 (0xfe17)

lri $AR1,    #0xbade
lri $IX1,    #0x6678
lri $WR1,    #0xa316
cw 0x15
call send_back  ; 65048 (0xfe18)

lri $AR1,    #0x8f91
lri $IX1,    #0x237c
lri $WR1,    #0x8c2c
cw 0x15
call send_back  ; 65049 (0xfe19)

lri $AR1,    #0x8e75
lri $IX1,    #0x1d06
lri $WR1,    #0x676a
cw 0x15
call send_back  ; 65050 (0xfe1a)

lri $AR1,    #0x51f5
lri $IX1,    #0xd982
lri $WR1,    #0x6ec6
cw 0x15
call send_back  ; 65051 (0xfe1b)

lri $AR1,    #0x3589
lri $IX1,    #0x88a8
lri $WR1,    #0x5246
cw 0x15
call send_back  ; 65052 (0xfe1c)

lri $AR1,    #0x6a8e
lri $IX1,    #0x4798
lri $WR1,    #0x7ce9
cw 0x15
call send_back  ; 65053 (0xfe1d)

lri $AR1,    #0xa61b
lri $IX1,    #0x1790
lri $WR1,    #0x9d19
cw 0x15
call send_back  ; 65054 (0xfe1e)

lri $AR1,    #0xb7c7
lri $IX1,    #0x98b2
lri $WR1,    #0x45be
cw 0x15
call send_back  ; 65055 (0xfe1f)

lri $AR1,    #0x5091
lri $IX1,    #0x674e
lri $WR1,    #0x6265
cw 0x15
call send_back  ; 65056 (0xfe20)

lri $AR1,    #0x8cc7
lri $IX1,    #0x5228
lri $WR1,    #0xc2ab
cw 0x15
call send_back  ; 65057 (0xfe21)

lri $AR1,    #0x5341
lri $IX1,    #0xa508
lri $WR1,    #0x8e68
cw 0x15
call send_back  ; 65058 (0xfe22)

lri $AR1,    #0x2fb6
lri $IX1,    #0x933a
lri $WR1,    #0x65b4
cw 0x15
call send_back  ; 65059 (0xfe23)

lri $AR1,    #0x557b
lri $IX1,    #0x8a32
lri $WR1,    #0xa549
cw 0x15
call send_back  ; 65060 (0xfe24)

lri $AR1,    #0x5389
lri $IX1,    #0xfcfc
lri $WR1,    #0xa167
cw 0x15
call send_back  ; 65061 (0xfe25)

lri $AR1,    #0x920a
lri $IX1,    #0x2dbe
lri $WR1,    #0x86b9
cw 0x15
call send_back  ; 65062 (0xfe26)

lri $AR1,    #0xd549
lri $IX1,    #0xbad4
lri $WR1,    #0xd247
cw 0x15
call send_back  ; 65063 (0xfe27)

lri $AR1,    #0x9945
lri $IX1,    #0x61e2
lri $WR1,    #0x5720
cw 0x15
call send_back  ; 65064 (0xfe28)

lri $AR1,    #0x84d8
lri $IX1,    #0xa370
lri $WR1,    #0x71ab
cw 0x15
call send_back  ; 65065 (0xfe29)

lri $AR1,    #0x5291
lri $IX1,    #0xd644
lri $WR1,    #0x3645
cw 0x15
call send_back  ; 65066 (0xfe2a)

lri $AR1,    #0x413f
lri $IX1,    #0xea3c
lri $WR1,    #0x7a30
cw 0x15
call send_back  ; 65067 (0xfe2b)

lri $AR1,    #0xc568
lri $IX1,    #0xb6b8
lri $WR1,    #0x6b72
cw 0x15
call send_back  ; 65068 (0xfe2c)

lri $AR1,    #0x3070
lri $IX1,    #0x5962
lri $WR1,    #0xe59c
cw 0x15
call send_back  ; 65069 (0xfe2d)

lri $AR1,    #0xb1e6
lri $IX1,    #0xfe76
lri $WR1,    #0xaf22
cw 0x15
call send_back  ; 65070 (0xfe2e)

lri $AR1,    #0x5a93
lri $IX1,    #0x8c38
lri $WR1,    #0x2c43
cw 0x15
call send_back  ; 65071 (0xfe2f)

lri $AR1,    #0x80cf
lri $IX1,    #0x37d2
lri $WR1,    #0x3a1f
cw 0x15
call send_back  ; 65072 (0xfe30)

lri $AR1,    #0x70c6
lri $IX1,    #0x2240
lri $WR1,    #0x2df7
cw 0x15
call send_back  ; 65073 (0xfe31)

lri $AR1,    #0x9314
lri $IX1,    #0xe078
lri $WR1,    #0x4238
cw 0x15
call send_back  ; 65074 (0xfe32)

lri $AR1,    #0x8773
lri $IX1,    #0x6296
lri $WR1,    #0x6c68
cw 0x15
call send_back  ; 65075 (0xfe33)

lri $AR1,    #0xf8e1
lri $IX1,    #0x2a1a
lri $WR1,    #0x8c5e
cw 0x15
call send_back  ; 65076 (0xfe34)

lri $AR1,    #0x8c06
lri $IX1,    #0x47f8
lri $WR1,    #0x7f11
cw 0x15
call send_back  ; 65077 (0xfe35)

lri $AR1,    #0x981e
lri $IX1,    #0x4fb4
lri $WR1,    #0x3c4e
cw 0x15
call send_back  ; 65078 (0xfe36)

lri $AR1,    #0xbe47
lri $IX1,    #0x6d2c
lri $WR1,    #0xa89e
cw 0x15
call send_back  ; 65079 (0xfe37)

lri $AR1,    #0x4a7d
lri $IX1,    #0x373e
lri $WR1,    #0x89be
cw 0x15
call send_back  ; 65080 (0xfe38)

lri $AR1,    #0x7514
lri $IX1,    #0xd206
lri $WR1,    #0x75d7
cw 0x15
call send_back  ; 65081 (0xfe39)

lri $AR1,    #0x7afe
lri $IX1,    #0x97e0
lri $WR1,    #0x02fe
cw 0x15
call send_back  ; 65082 (0xfe3a)

lri $AR1,    #0x76b1
lri $IX1,    #0xf0d8
lri $WR1,    #0xce02
cw 0x15
call send_back  ; 65083 (0xfe3b)

lri $AR1,    #0x4af9
lri $IX1,    #0x5cb6
lri $WR1,    #0x8525
cw 0x15
call send_back  ; 65084 (0xfe3c)

lri $AR1,    #0xac8c
lri $IX1,    #0x1c6c
lri $WR1,    #0xdccf
cw 0x15
call send_back  ; 65085 (0xfe3d)

lri $AR1,    #0xc6a6
lri $IX1,    #0x7bf8
lri $WR1,    #0x11ba
cw 0x15
call send_back  ; 65086 (0xfe3e)

lri $AR1,    #0x7a88
lri $IX1,    #0x9e7e
lri $WR1,    #0xbdc2
cw 0x15
call send_back  ; 65087 (0xfe3f)

lri $AR1,    #0x3124
lri $IX1,    #0xfac2
lri $WR1,    #0x29d5
cw 0x15
call send_back  ; 65088 (0xfe40)

lri $AR1,    #0x81c3
lri $IX1,    #0x8eb2
lri $WR1,    #0xd117
cw 0x15
call send_back  ; 65089 (0xfe41)

lri $AR1,    #0x7001
lri $IX1,    #0x553e
lri $WR1,    #0x56ce
cw 0x15
call send_back  ; 65090 (0xfe42)

lri $AR1,    #0x96dd
lri $IX1,    #0xda0e
lri $WR1,    #0xa229
cw 0x15
call send_back  ; 65091 (0xfe43)

lri $AR1,    #0x9e43
lri $IX1,    #0x0368
lri $WR1,    #0x8863
cw 0x15
call send_back  ; 65092 (0xfe44)

lri $AR1,    #0xb3c4
lri $IX1,    #0x72ec
lri $WR1,    #0x4762
cw 0x15
call send_back  ; 65093 (0xfe45)

lri $AR1,    #0x4eef
lri $IX1,    #0x523e
lri $WR1,    #0x705d
cw 0x15
call send_back  ; 65094 (0xfe46)

lri $AR1,    #0x2cf8
lri $IX1,    #0x217c
lri $WR1,    #0xa398
cw 0x15
call send_back  ; 65095 (0xfe47)

lri $AR1,    #0x0715
lri $IX1,    #0x497a
lri $WR1,    #0x83be
cw 0x15
call send_back  ; 65096 (0xfe48)

lri $AR1,    #0x7255
lri $IX1,    #0xecb2
lri $WR1,    #0x70ff
cw 0x15
call send_back  ; 65097 (0xfe49)

lri $AR1,    #0xf74d
lri $IX1,    #0xd5cc
lri $WR1,    #0xc964
cw 0x15
call send_back  ; 65098 (0xfe4a)

lri $AR1,    #0x235a
lri $IX1,    #0x93c6
lri $WR1,    #0x7d89
cw 0x15
call send_back  ; 65099 (0xfe4b)

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