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

lri $AR1,    #0xa1f3
lri $IX1,    #0xb31e
lri $WR1,    #0x92c0
cw 0xd
call send_back  ; 50900 (0xc6d4)

lri $AR1,    #0x681f
lri $IX1,    #0x5394
lri $WR1,    #0x2c0d
cw 0xd
call send_back  ; 50901 (0xc6d5)

lri $AR1,    #0xc184
lri $IX1,    #0x82e8
lri $WR1,    #0x6df2
cw 0xd
call send_back  ; 50902 (0xc6d6)

lri $AR1,    #0x8b17
lri $IX1,    #0x05ca
lri $WR1,    #0x614a
cw 0xd
call send_back  ; 50903 (0xc6d7)

lri $AR1,    #0x8016
lri $IX1,    #0x1496
lri $WR1,    #0x642c
cw 0xd
call send_back  ; 50904 (0xc6d8)

lri $AR1,    #0x6b38
lri $IX1,    #0x26ca
lri $WR1,    #0x4fe5
cw 0xd
call send_back  ; 50905 (0xc6d9)

lri $AR1,    #0x78c0
lri $IX1,    #0x51d4
lri $WR1,    #0x9135
cw 0xd
call send_back  ; 50906 (0xc6da)

lri $AR1,    #0x831a
lri $IX1,    #0x835a
lri $WR1,    #0x79df
cw 0xd
call send_back  ; 50907 (0xc6db)

lri $AR1,    #0x9b72
lri $IX1,    #0x02e4
lri $WR1,    #0xa820
cw 0xd
call send_back  ; 50908 (0xc6dc)

lri $AR1,    #0x4b05
lri $IX1,    #0xbe44
lri $WR1,    #0x1a21
cw 0xd
call send_back  ; 50909 (0xc6dd)

lri $AR1,    #0x797d
lri $IX1,    #0xcf60
lri $WR1,    #0xc0e8
cw 0xd
call send_back  ; 50910 (0xc6de)

lri $AR1,    #0x6833
lri $IX1,    #0x49e6
lri $WR1,    #0x87e5
cw 0xd
call send_back  ; 50911 (0xc6df)

lri $AR1,    #0xa998
lri $IX1,    #0x9288
lri $WR1,    #0xab9f
cw 0xd
call send_back  ; 50912 (0xc6e0)

lri $AR1,    #0x479a
lri $IX1,    #0x2936
lri $WR1,    #0xc39e
cw 0xd
call send_back  ; 50913 (0xc6e1)

lri $AR1,    #0xcb68
lri $IX1,    #0xcb08
lri $WR1,    #0x7115
cw 0xd
call send_back  ; 50914 (0xc6e2)

lri $AR1,    #0x6c35
lri $IX1,    #0x0046
lri $WR1,    #0x9563
cw 0xd
call send_back  ; 50915 (0xc6e3)

lri $AR1,    #0x328b
lri $IX1,    #0x6e3c
lri $WR1,    #0xa8ff
cw 0xd
call send_back  ; 50916 (0xc6e4)

lri $AR1,    #0xb8c5
lri $IX1,    #0x7c50
lri $WR1,    #0xa4d2
cw 0xd
call send_back  ; 50917 (0xc6e5)

lri $AR1,    #0x4120
lri $IX1,    #0xe6fe
lri $WR1,    #0xcd9f
cw 0xd
call send_back  ; 50918 (0xc6e6)

lri $AR1,    #0x7d26
lri $IX1,    #0x9b3e
lri $WR1,    #0x727c
cw 0xd
call send_back  ; 50919 (0xc6e7)

lri $AR1,    #0x79cc
lri $IX1,    #0x87ee
lri $WR1,    #0x34ee
cw 0xd
call send_back  ; 50920 (0xc6e8)

lri $AR1,    #0x0f09
lri $IX1,    #0xdab6
lri $WR1,    #0x9ac9
cw 0xd
call send_back  ; 50921 (0xc6e9)

lri $AR1,    #0x5141
lri $IX1,    #0x3932
lri $WR1,    #0x5742
cw 0xd
call send_back  ; 50922 (0xc6ea)

lri $AR1,    #0x3647
lri $IX1,    #0xd696
lri $WR1,    #0x4a67
cw 0xd
call send_back  ; 50923 (0xc6eb)

lri $AR1,    #0xc74e
lri $IX1,    #0xa9c6
lri $WR1,    #0x8b75
cw 0xd
call send_back  ; 50924 (0xc6ec)

lri $AR1,    #0xb4a3
lri $IX1,    #0x5f08
lri $WR1,    #0x4c29
cw 0xd
call send_back  ; 50925 (0xc6ed)

lri $AR1,    #0x4f5e
lri $IX1,    #0xcc44
lri $WR1,    #0x6090
cw 0xd
call send_back  ; 50926 (0xc6ee)

lri $AR1,    #0xb110
lri $IX1,    #0x8e06
lri $WR1,    #0x9876
cw 0xd
call send_back  ; 50927 (0xc6ef)

lri $AR1,    #0x9083
lri $IX1,    #0xe726
lri $WR1,    #0xbcf2
cw 0xd
call send_back  ; 50928 (0xc6f0)

lri $AR1,    #0x4e84
lri $IX1,    #0xe45e
lri $WR1,    #0xce2f
cw 0xd
call send_back  ; 50929 (0xc6f1)

lri $AR1,    #0x8500
lri $IX1,    #0x0094
lri $WR1,    #0x6af5
cw 0xd
call send_back  ; 50930 (0xc6f2)

lri $AR1,    #0xb633
lri $IX1,    #0xf640
lri $WR1,    #0x7d14
cw 0xd
call send_back  ; 50931 (0xc6f3)

lri $AR1,    #0x814f
lri $IX1,    #0xeda6
lri $WR1,    #0x3b1c
cw 0xd
call send_back  ; 50932 (0xc6f4)

lri $AR1,    #0x5d5d
lri $IX1,    #0xaf42
lri $WR1,    #0xa9af
cw 0xd
call send_back  ; 50933 (0xc6f5)

lri $AR1,    #0xaaaa
lri $IX1,    #0xcd32
lri $WR1,    #0x63b6
cw 0xd
call send_back  ; 50934 (0xc6f6)

lri $AR1,    #0xce96
lri $IX1,    #0xb5ee
lri $WR1,    #0x72bf
cw 0xd
call send_back  ; 50935 (0xc6f7)

lri $AR1,    #0xe511
lri $IX1,    #0x3614
lri $WR1,    #0xc605
cw 0xd
call send_back  ; 50936 (0xc6f8)

lri $AR1,    #0x3e90
lri $IX1,    #0xf6be
lri $WR1,    #0xc019
cw 0xd
call send_back  ; 50937 (0xc6f9)

lri $AR1,    #0xc0d5
lri $IX1,    #0xe0f0
lri $WR1,    #0xc0eb
cw 0xd
call send_back  ; 50938 (0xc6fa)

lri $AR1,    #0x345b
lri $IX1,    #0xdeb2
lri $WR1,    #0x6314
cw 0xd
call send_back  ; 50939 (0xc6fb)

lri $AR1,    #0x6f9f
lri $IX1,    #0x157c
lri $WR1,    #0xb911
cw 0xd
call send_back  ; 50940 (0xc6fc)

lri $AR1,    #0x8d38
lri $IX1,    #0x4d4e
lri $WR1,    #0x9070
cw 0xd
call send_back  ; 50941 (0xc6fd)

lri $AR1,    #0xc8f5
lri $IX1,    #0xa34c
lri $WR1,    #0x7e89
cw 0xd
call send_back  ; 50942 (0xc6fe)

lri $AR1,    #0xa3d9
lri $IX1,    #0xc626
lri $WR1,    #0x9bc2
cw 0xd
call send_back  ; 50943 (0xc6ff)

lri $AR1,    #0x6647
lri $IX1,    #0xae1a
lri $WR1,    #0xb800
cw 0xd
call send_back  ; 50944 (0xc700)

lri $AR1,    #0x632c
lri $IX1,    #0xe9e8
lri $WR1,    #0x5c52
cw 0xd
call send_back  ; 50945 (0xc701)

lri $AR1,    #0xde73
lri $IX1,    #0x1588
lri $WR1,    #0x7b5b
cw 0xd
call send_back  ; 50946 (0xc702)

lri $AR1,    #0x8ca0
lri $IX1,    #0xbee0
lri $WR1,    #0xa392
cw 0xd
call send_back  ; 50947 (0xc703)

lri $AR1,    #0xa8cf
lri $IX1,    #0xc06a
lri $WR1,    #0x3bea
cw 0xd
call send_back  ; 50948 (0xc704)

lri $AR1,    #0x79f5
lri $IX1,    #0xd0fe
lri $WR1,    #0xacf6
cw 0xd
call send_back  ; 50949 (0xc705)

lri $AR1,    #0xafb1
lri $IX1,    #0x9394
lri $WR1,    #0xb606
cw 0xd
call send_back  ; 50950 (0xc706)

lri $AR1,    #0xa27a
lri $IX1,    #0xb166
lri $WR1,    #0x6f66
cw 0xd
call send_back  ; 50951 (0xc707)

lri $AR1,    #0x9a76
lri $IX1,    #0x5c1a
lri $WR1,    #0x803e
cw 0xd
call send_back  ; 50952 (0xc708)

lri $AR1,    #0xabdb
lri $IX1,    #0xdd72
lri $WR1,    #0xb825
cw 0xd
call send_back  ; 50953 (0xc709)

lri $AR1,    #0xd70b
lri $IX1,    #0x751e
lri $WR1,    #0x6a02
cw 0xd
call send_back  ; 50954 (0xc70a)

lri $AR1,    #0xce66
lri $IX1,    #0x953a
lri $WR1,    #0x7738
cw 0xd
call send_back  ; 50955 (0xc70b)

lri $AR1,    #0x6af3
lri $IX1,    #0x7114
lri $WR1,    #0xcfc3
cw 0xd
call send_back  ; 50956 (0xc70c)

lri $AR1,    #0x54d7
lri $IX1,    #0xa9a2
lri $WR1,    #0xa549
cw 0xd
call send_back  ; 50957 (0xc70d)

lri $AR1,    #0x93d2
lri $IX1,    #0x8e8a
lri $WR1,    #0x8ca4
cw 0xd
call send_back  ; 50958 (0xc70e)

lri $AR1,    #0x7f9c
lri $IX1,    #0xc9da
lri $WR1,    #0xab17
cw 0xd
call send_back  ; 50959 (0xc70f)

lri $AR1,    #0x3f72
lri $IX1,    #0x4076
lri $WR1,    #0x3199
cw 0xd
call send_back  ; 50960 (0xc710)

lri $AR1,    #0x939f
lri $IX1,    #0x5868
lri $WR1,    #0x325c
cw 0xd
call send_back  ; 50961 (0xc711)

lri $AR1,    #0xe350
lri $IX1,    #0x91f4
lri $WR1,    #0xaa17
cw 0xd
call send_back  ; 50962 (0xc712)

lri $AR1,    #0x5c8d
lri $IX1,    #0x4fb6
lri $WR1,    #0xc82e
cw 0xd
call send_back  ; 50963 (0xc713)

lri $AR1,    #0xbb9b
lri $IX1,    #0xad9a
lri $WR1,    #0x7637
cw 0xd
call send_back  ; 50964 (0xc714)

lri $AR1,    #0x6a9f
lri $IX1,    #0x3e10
lri $WR1,    #0xb8f3
cw 0xd
call send_back  ; 50965 (0xc715)

lri $AR1,    #0x79c7
lri $IX1,    #0x5032
lri $WR1,    #0xa25f
cw 0xd
call send_back  ; 50966 (0xc716)

lri $AR1,    #0x53e1
lri $IX1,    #0xe136
lri $WR1,    #0x8dbf
cw 0xd
call send_back  ; 50967 (0xc717)

lri $AR1,    #0x6a8c
lri $IX1,    #0x6f0e
lri $WR1,    #0xa46b
cw 0xd
call send_back  ; 50968 (0xc718)

lri $AR1,    #0x40fb
lri $IX1,    #0x6960
lri $WR1,    #0x933f
cw 0xd
call send_back  ; 50969 (0xc719)

lri $AR1,    #0x9b73
lri $IX1,    #0xd9ce
lri $WR1,    #0x4655
cw 0xd
call send_back  ; 50970 (0xc71a)

lri $AR1,    #0x8d78
lri $IX1,    #0xebc2
lri $WR1,    #0xd221
cw 0xd
call send_back  ; 50971 (0xc71b)

lri $AR1,    #0x87db
lri $IX1,    #0x1f9e
lri $WR1,    #0xc65e
cw 0xd
call send_back  ; 50972 (0xc71c)

lri $AR1,    #0xc38e
lri $IX1,    #0x0c98
lri $WR1,    #0x6101
cw 0xd
call send_back  ; 50973 (0xc71d)

lri $AR1,    #0xd585
lri $IX1,    #0x800c
lri $WR1,    #0xd4b0
cw 0xd
call send_back  ; 50974 (0xc71e)

lri $AR1,    #0xbb6a
lri $IX1,    #0x68ae
lri $WR1,    #0x77c7
cw 0xd
call send_back  ; 50975 (0xc71f)

lri $AR1,    #0xa896
lri $IX1,    #0x2f48
lri $WR1,    #0x968e
cw 0xd
call send_back  ; 50976 (0xc720)

lri $AR1,    #0xa5f0
lri $IX1,    #0xc66c
lri $WR1,    #0x2c98
cw 0xd
call send_back  ; 50977 (0xc721)

lri $AR1,    #0x9726
lri $IX1,    #0xb5ea
lri $WR1,    #0xd6f8
cw 0xd
call send_back  ; 50978 (0xc722)

lri $AR1,    #0x4b08
lri $IX1,    #0x9650
lri $WR1,    #0xc23a
cw 0xd
call send_back  ; 50979 (0xc723)

lri $AR1,    #0xc444
lri $IX1,    #0xb444
lri $WR1,    #0x8cd3
cw 0xd
call send_back  ; 50980 (0xc724)

lri $AR1,    #0xc369
lri $IX1,    #0xcb0a
lri $WR1,    #0x6ffa
cw 0xd
call send_back  ; 50981 (0xc725)

lri $AR1,    #0xaa7b
lri $IX1,    #0xd11c
lri $WR1,    #0x5e91
cw 0xd
call send_back  ; 50982 (0xc726)

lri $AR1,    #0x75da
lri $IX1,    #0x90f2
lri $WR1,    #0x8b1a
cw 0xd
call send_back  ; 50983 (0xc727)

lri $AR1,    #0x9de1
lri $IX1,    #0x1c02
lri $WR1,    #0xcb5b
cw 0xd
call send_back  ; 50984 (0xc728)

lri $AR1,    #0x2000
lri $IX1,    #0xed1c
lri $WR1,    #0x79b4
cw 0xd
call send_back  ; 50985 (0xc729)

lri $AR1,    #0x8d9c
lri $IX1,    #0xab0e
lri $WR1,    #0xa1b7
cw 0xd
call send_back  ; 50986 (0xc72a)

lri $AR1,    #0xb2a1
lri $IX1,    #0xcbd6
lri $WR1,    #0xd722
cw 0xd
call send_back  ; 50987 (0xc72b)

lri $AR1,    #0x8ce7
lri $IX1,    #0xbc2c
lri $WR1,    #0x6bb0
cw 0xd
call send_back  ; 50988 (0xc72c)

lri $AR1,    #0x4970
lri $IX1,    #0x86bc
lri $WR1,    #0xb1ea
cw 0xd
call send_back  ; 50989 (0xc72d)

lri $AR1,    #0xab9d
lri $IX1,    #0x21e4
lri $WR1,    #0x787d
cw 0xd
call send_back  ; 50990 (0xc72e)

lri $AR1,    #0x8653
lri $IX1,    #0x6a36
lri $WR1,    #0xcb22
cw 0xd
call send_back  ; 50991 (0xc72f)

lri $AR1,    #0x2641
lri $IX1,    #0x43a0
lri $WR1,    #0xabae
cw 0xd
call send_back  ; 50992 (0xc730)

lri $AR1,    #0x982d
lri $IX1,    #0x4282
lri $WR1,    #0xbf5a
cw 0xd
call send_back  ; 50993 (0xc731)

lri $AR1,    #0x7587
lri $IX1,    #0x797a
lri $WR1,    #0xb9cd
cw 0xd
call send_back  ; 50994 (0xc732)

lri $AR1,    #0x3523
lri $IX1,    #0x7842
lri $WR1,    #0x8103
cw 0xd
call send_back  ; 50995 (0xc733)

lri $AR1,    #0x4558
lri $IX1,    #0x0b78
lri $WR1,    #0x7a8e
cw 0xd
call send_back  ; 50996 (0xc734)

lri $AR1,    #0x5064
lri $IX1,    #0xc47e
lri $WR1,    #0x8c59
cw 0xd
call send_back  ; 50997 (0xc735)

lri $AR1,    #0x5b5c
lri $IX1,    #0x9c64
lri $WR1,    #0x786d
cw 0xd
call send_back  ; 50998 (0xc736)

lri $AR1,    #0x5376
lri $IX1,    #0x0428
lri $WR1,    #0xbcc8
cw 0xd
call send_back  ; 50999 (0xc737)

lri $AR1,    #0x7507
lri $IX1,    #0x4804
lri $WR1,    #0x65df
cw 0xd
call send_back  ; 51000 (0xc738)

lri $AR1,    #0xa2fa
lri $IX1,    #0x3332
lri $WR1,    #0xabd5
cw 0xd
call send_back  ; 51001 (0xc739)

lri $AR1,    #0xa518
lri $IX1,    #0x3cee
lri $WR1,    #0x9ff6
cw 0xd
call send_back  ; 51002 (0xc73a)

lri $AR1,    #0xb6f0
lri $IX1,    #0x1708
lri $WR1,    #0x8188
cw 0xd
call send_back  ; 51003 (0xc73b)

lri $AR1,    #0x38a7
lri $IX1,    #0x19cc
lri $WR1,    #0x6689
cw 0xd
call send_back  ; 51004 (0xc73c)

lri $AR1,    #0x8e89
lri $IX1,    #0xa0a0
lri $WR1,    #0x9e53
cw 0xd
call send_back  ; 51005 (0xc73d)

lri $AR1,    #0x2bac
lri $IX1,    #0xd620
lri $WR1,    #0x71db
cw 0xd
call send_back  ; 51006 (0xc73e)

lri $AR1,    #0xc767
lri $IX1,    #0x8dfe
lri $WR1,    #0x8677
cw 0xd
call send_back  ; 51007 (0xc73f)

lri $AR1,    #0x3504
lri $IX1,    #0x7e90
lri $WR1,    #0x8dca
cw 0xd
call send_back  ; 51008 (0xc740)

lri $AR1,    #0xa068
lri $IX1,    #0x533e
lri $WR1,    #0x76f0
cw 0xd
call send_back  ; 51009 (0xc741)

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