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

lri $AR1,    #0x70db
lri $IX1,    #0x563e
lri $WR1,    #0xac6b
cw 0x15
call send_back  ; 51774 (0xca3e)

lri $AR1,    #0xa912
lri $IX1,    #0x3ccc
lri $WR1,    #0x698a
cw 0x15
call send_back  ; 51775 (0xca3f)

lri $AR1,    #0x704d
lri $IX1,    #0x366a
lri $WR1,    #0xaab0
cw 0x15
call send_back  ; 51776 (0xca40)

lri $AR1,    #0x75f9
lri $IX1,    #0xa7ea
lri $WR1,    #0x5f9f
cw 0x15
call send_back  ; 51777 (0xca41)

lri $AR1,    #0x70cf
lri $IX1,    #0x801a
lri $WR1,    #0x4741
cw 0x15
call send_back  ; 51778 (0xca42)

lri $AR1,    #0x91f0
lri $IX1,    #0xc380
lri $WR1,    #0x7363
cw 0x15
call send_back  ; 51779 (0xca43)

lri $AR1,    #0x8266
lri $IX1,    #0x8e48
lri $WR1,    #0x9adf
cw 0x15
call send_back  ; 51780 (0xca44)

lri $AR1,    #0xa3e4
lri $IX1,    #0xecea
lri $WR1,    #0x7c3c
cw 0x15
call send_back  ; 51781 (0xca45)

lri $AR1,    #0x5d18
lri $IX1,    #0x60f0
lri $WR1,    #0x7053
cw 0x15
call send_back  ; 51782 (0xca46)

lri $AR1,    #0x5d56
lri $IX1,    #0xa754
lri $WR1,    #0x8e05
cw 0x15
call send_back  ; 51783 (0xca47)

lri $AR1,    #0xdaf2
lri $IX1,    #0x82d0
lri $WR1,    #0x459d
cw 0x15
call send_back  ; 51784 (0xca48)

lri $AR1,    #0x3b1f
lri $IX1,    #0x04b6
lri $WR1,    #0x83eb
cw 0x15
call send_back  ; 51785 (0xca49)

lri $AR1,    #0xb190
lri $IX1,    #0x3394
lri $WR1,    #0x1a9b
cw 0x15
call send_back  ; 51786 (0xca4a)

lri $AR1,    #0x99c0
lri $IX1,    #0x1f44
lri $WR1,    #0xbce6
cw 0x15
call send_back  ; 51787 (0xca4b)

lri $AR1,    #0x7327
lri $IX1,    #0x8e9c
lri $WR1,    #0xb531
cw 0x15
call send_back  ; 51788 (0xca4c)

lri $AR1,    #0x6525
lri $IX1,    #0x9b70
lri $WR1,    #0x7191
cw 0x15
call send_back  ; 51789 (0xca4d)

lri $AR1,    #0x5f09
lri $IX1,    #0xe624
lri $WR1,    #0x82ed
cw 0x15
call send_back  ; 51790 (0xca4e)

lri $AR1,    #0x2bea
lri $IX1,    #0xaa56
lri $WR1,    #0x0b9b
cw 0x15
call send_back  ; 51791 (0xca4f)

lri $AR1,    #0x89b2
lri $IX1,    #0x0b0a
lri $WR1,    #0xc038
cw 0x15
call send_back  ; 51792 (0xca50)

lri $AR1,    #0xde2a
lri $IX1,    #0x84c2
lri $WR1,    #0x66ab
cw 0x15
call send_back  ; 51793 (0xca51)

lri $AR1,    #0x644e
lri $IX1,    #0xb900
lri $WR1,    #0x8cf5
cw 0x15
call send_back  ; 51794 (0xca52)

lri $AR1,    #0x7fc2
lri $IX1,    #0xd69a
lri $WR1,    #0xe2cc
cw 0x15
call send_back  ; 51795 (0xca53)

lri $AR1,    #0xabbc
lri $IX1,    #0xdf42
lri $WR1,    #0x96ac
cw 0x15
call send_back  ; 51796 (0xca54)

lri $AR1,    #0x161b
lri $IX1,    #0x12de
lri $WR1,    #0xb04e
cw 0x15
call send_back  ; 51797 (0xca55)

lri $AR1,    #0xc71f
lri $IX1,    #0xfdd4
lri $WR1,    #0x8034
cw 0x15
call send_back  ; 51798 (0xca56)

lri $AR1,    #0x9971
lri $IX1,    #0x2820
lri $WR1,    #0xbd39
cw 0x15
call send_back  ; 51799 (0xca57)

lri $AR1,    #0x9de1
lri $IX1,    #0x4f36
lri $WR1,    #0x2eda
cw 0x15
call send_back  ; 51800 (0xca58)

lri $AR1,    #0xb19d
lri $IX1,    #0x8d7e
lri $WR1,    #0xac28
cw 0x15
call send_back  ; 51801 (0xca59)

lri $AR1,    #0x6d39
lri $IX1,    #0xf698
lri $WR1,    #0xa507
cw 0x15
call send_back  ; 51802 (0xca5a)

lri $AR1,    #0x8658
lri $IX1,    #0x200c
lri $WR1,    #0xbcbc
cw 0x15
call send_back  ; 51803 (0xca5b)

lri $AR1,    #0xa538
lri $IX1,    #0xea9a
lri $WR1,    #0x926a
cw 0x15
call send_back  ; 51804 (0xca5c)

lri $AR1,    #0x6b0a
lri $IX1,    #0xc8e2
lri $WR1,    #0x8d7e
cw 0x15
call send_back  ; 51805 (0xca5d)

lri $AR1,    #0x554d
lri $IX1,    #0xd484
lri $WR1,    #0xc1a1
cw 0x15
call send_back  ; 51806 (0xca5e)

lri $AR1,    #0xae0d
lri $IX1,    #0x6380
lri $WR1,    #0x1f46
cw 0x15
call send_back  ; 51807 (0xca5f)

lri $AR1,    #0xb050
lri $IX1,    #0x9bf2
lri $WR1,    #0x8b5d
cw 0x15
call send_back  ; 51808 (0xca60)

lri $AR1,    #0x5378
lri $IX1,    #0xdcd6
lri $WR1,    #0x822c
cw 0x15
call send_back  ; 51809 (0xca61)

lri $AR1,    #0x3006
lri $IX1,    #0xd71c
lri $WR1,    #0x770c
cw 0x15
call send_back  ; 51810 (0xca62)

lri $AR1,    #0x8363
lri $IX1,    #0x02ac
lri $WR1,    #0x93e2
cw 0x15
call send_back  ; 51811 (0xca63)

lri $AR1,    #0x602d
lri $IX1,    #0xd782
lri $WR1,    #0xb106
cw 0x15
call send_back  ; 51812 (0xca64)

lri $AR1,    #0x73b3
lri $IX1,    #0xfbaa
lri $WR1,    #0x37a9
cw 0x15
call send_back  ; 51813 (0xca65)

lri $AR1,    #0xd904
lri $IX1,    #0x8b2c
lri $WR1,    #0x7e2e
cw 0x15
call send_back  ; 51814 (0xca66)

lri $AR1,    #0x9561
lri $IX1,    #0xdfc4
lri $WR1,    #0xefaf
cw 0x15
call send_back  ; 51815 (0xca67)

lri $AR1,    #0x7150
lri $IX1,    #0xea5c
lri $WR1,    #0x5519
cw 0x15
call send_back  ; 51816 (0xca68)

lri $AR1,    #0x4d3f
lri $IX1,    #0x6938
lri $WR1,    #0x4001
cw 0x15
call send_back  ; 51817 (0xca69)

lri $AR1,    #0xafe4
lri $IX1,    #0x29ca
lri $WR1,    #0xc4c0
cw 0x15
call send_back  ; 51818 (0xca6a)

lri $AR1,    #0x8046
lri $IX1,    #0x3606
lri $WR1,    #0x42e8
cw 0x15
call send_back  ; 51819 (0xca6b)

lri $AR1,    #0x84ae
lri $IX1,    #0x6958
lri $WR1,    #0x509c
cw 0x15
call send_back  ; 51820 (0xca6c)

lri $AR1,    #0xbb58
lri $IX1,    #0x91e4
lri $WR1,    #0x56d9
cw 0x15
call send_back  ; 51821 (0xca6d)

lri $AR1,    #0xd137
lri $IX1,    #0x174e
lri $WR1,    #0x6a55
cw 0x15
call send_back  ; 51822 (0xca6e)

lri $AR1,    #0xbe8c
lri $IX1,    #0x40b8
lri $WR1,    #0xcddd
cw 0x15
call send_back  ; 51823 (0xca6f)

lri $AR1,    #0xc8b4
lri $IX1,    #0xc014
lri $WR1,    #0x30ec
cw 0x15
call send_back  ; 51824 (0xca70)

lri $AR1,    #0x33f3
lri $IX1,    #0x4194
lri $WR1,    #0x0671
cw 0x15
call send_back  ; 51825 (0xca71)

lri $AR1,    #0xaf87
lri $IX1,    #0x8260
lri $WR1,    #0x9d5a
cw 0x15
call send_back  ; 51826 (0xca72)

lri $AR1,    #0x59e2
lri $IX1,    #0x0228
lri $WR1,    #0x55f8
cw 0x15
call send_back  ; 51827 (0xca73)

lri $AR1,    #0x824a
lri $IX1,    #0xdff8
lri $WR1,    #0xc4c2
cw 0x15
call send_back  ; 51828 (0xca74)

lri $AR1,    #0x68bc
lri $IX1,    #0xfabe
lri $WR1,    #0xac9b
cw 0x15
call send_back  ; 51829 (0xca75)

lri $AR1,    #0x8c58
lri $IX1,    #0x22e8
lri $WR1,    #0x5811
cw 0x15
call send_back  ; 51830 (0xca76)

lri $AR1,    #0x7c32
lri $IX1,    #0x2aac
lri $WR1,    #0x5ab9
cw 0x15
call send_back  ; 51831 (0xca77)

lri $AR1,    #0x75cf
lri $IX1,    #0x0f34
lri $WR1,    #0x892c
cw 0x15
call send_back  ; 51832 (0xca78)

lri $AR1,    #0xc816
lri $IX1,    #0x6d58
lri $WR1,    #0x5fc5
cw 0x15
call send_back  ; 51833 (0xca79)

lri $AR1,    #0xd121
lri $IX1,    #0x191c
lri $WR1,    #0x7d96
cw 0x15
call send_back  ; 51834 (0xca7a)

lri $AR1,    #0x609b
lri $IX1,    #0x1fa2
lri $WR1,    #0xaaba
cw 0x15
call send_back  ; 51835 (0xca7b)

lri $AR1,    #0x3017
lri $IX1,    #0xd7c2
lri $WR1,    #0x7694
cw 0x15
call send_back  ; 51836 (0xca7c)

lri $AR1,    #0x5e20
lri $IX1,    #0x0de6
lri $WR1,    #0xb3f7
cw 0x15
call send_back  ; 51837 (0xca7d)

lri $AR1,    #0x4857
lri $IX1,    #0xec76
lri $WR1,    #0xd6db
cw 0x15
call send_back  ; 51838 (0xca7e)

lri $AR1,    #0xa475
lri $IX1,    #0x226e
lri $WR1,    #0x58ae
cw 0x15
call send_back  ; 51839 (0xca7f)

lri $AR1,    #0xaf71
lri $IX1,    #0x165e
lri $WR1,    #0xadb7
cw 0x15
call send_back  ; 51840 (0xca80)

lri $AR1,    #0x95ab
lri $IX1,    #0xcc70
lri $WR1,    #0x5fca
cw 0x15
call send_back  ; 51841 (0xca81)

lri $AR1,    #0x3663
lri $IX1,    #0xaaba
lri $WR1,    #0x6fae
cw 0x15
call send_back  ; 51842 (0xca82)

lri $AR1,    #0x7851
lri $IX1,    #0x9780
lri $WR1,    #0x905b
cw 0x15
call send_back  ; 51843 (0xca83)

lri $AR1,    #0xeca4
lri $IX1,    #0x2992
lri $WR1,    #0x84ac
cw 0x15
call send_back  ; 51844 (0xca84)

lri $AR1,    #0xd946
lri $IX1,    #0xeb8a
lri $WR1,    #0x4176
cw 0x15
call send_back  ; 51845 (0xca85)

lri $AR1,    #0xd2a8
lri $IX1,    #0x26f6
lri $WR1,    #0x53ae
cw 0x15
call send_back  ; 51846 (0xca86)

lri $AR1,    #0xb0f7
lri $IX1,    #0x6d4c
lri $WR1,    #0x4ba4
cw 0x15
call send_back  ; 51847 (0xca87)

lri $AR1,    #0xc3ed
lri $IX1,    #0x40ae
lri $WR1,    #0x73e3
cw 0x15
call send_back  ; 51848 (0xca88)

lri $AR1,    #0x9433
lri $IX1,    #0xf74c
lri $WR1,    #0x43c8
cw 0x15
call send_back  ; 51849 (0xca89)

lri $AR1,    #0xa080
lri $IX1,    #0x587c
lri $WR1,    #0x2b5a
cw 0x15
call send_back  ; 51850 (0xca8a)

lri $AR1,    #0x3867
lri $IX1,    #0xa350
lri $WR1,    #0x6783
cw 0x15
call send_back  ; 51851 (0xca8b)

lri $AR1,    #0xbe04
lri $IX1,    #0xcac8
lri $WR1,    #0x6324
cw 0x15
call send_back  ; 51852 (0xca8c)

lri $AR1,    #0x936f
lri $IX1,    #0xdc58
lri $WR1,    #0xa324
cw 0x15
call send_back  ; 51853 (0xca8d)

lri $AR1,    #0xa83d
lri $IX1,    #0xd9e8
lri $WR1,    #0x3903
cw 0x15
call send_back  ; 51854 (0xca8e)

lri $AR1,    #0x5eda
lri $IX1,    #0xf112
lri $WR1,    #0x9908
cw 0x15
call send_back  ; 51855 (0xca8f)

lri $AR1,    #0xb916
lri $IX1,    #0x05c2
lri $WR1,    #0x568c
cw 0x15
call send_back  ; 51856 (0xca90)

lri $AR1,    #0x46af
lri $IX1,    #0x1ed8
lri $WR1,    #0x9288
cw 0x15
call send_back  ; 51857 (0xca91)

lri $AR1,    #0x9029
lri $IX1,    #0x881c
lri $WR1,    #0x35d5
cw 0x15
call send_back  ; 51858 (0xca92)

lri $AR1,    #0x0bbf
lri $IX1,    #0x8d20
lri $WR1,    #0xc25c
cw 0x15
call send_back  ; 51859 (0xca93)

lri $AR1,    #0x71c9
lri $IX1,    #0xad42
lri $WR1,    #0x7b95
cw 0x15
call send_back  ; 51860 (0xca94)

lri $AR1,    #0x615f
lri $IX1,    #0x317e
lri $WR1,    #0x408a
cw 0x15
call send_back  ; 51861 (0xca95)

lri $AR1,    #0x9587
lri $IX1,    #0x4148
lri $WR1,    #0x8ed4
cw 0x15
call send_back  ; 51862 (0xca96)

lri $AR1,    #0x4ebf
lri $IX1,    #0x1410
lri $WR1,    #0xa7c2
cw 0x15
call send_back  ; 51863 (0xca97)

lri $AR1,    #0x6c3b
lri $IX1,    #0xc9b8
lri $WR1,    #0x960e
cw 0x15
call send_back  ; 51864 (0xca98)

lri $AR1,    #0xdba4
lri $IX1,    #0xec84
lri $WR1,    #0xbc55
cw 0x15
call send_back  ; 51865 (0xca99)

lri $AR1,    #0x6591
lri $IX1,    #0xc3da
lri $WR1,    #0x81db
cw 0x15
call send_back  ; 51866 (0xca9a)

lri $AR1,    #0x50ba
lri $IX1,    #0x8f80
lri $WR1,    #0x8492
cw 0x15
call send_back  ; 51867 (0xca9b)

lri $AR1,    #0xbd05
lri $IX1,    #0x9f5e
lri $WR1,    #0xcd1b
cw 0x15
call send_back  ; 51868 (0xca9c)

lri $AR1,    #0x5358
lri $IX1,    #0x24aa
lri $WR1,    #0x3ab1
cw 0x15
call send_back  ; 51869 (0xca9d)

lri $AR1,    #0x5679
lri $IX1,    #0xad94
lri $WR1,    #0x9a9b
cw 0x15
call send_back  ; 51870 (0xca9e)

lri $AR1,    #0x24c9
lri $IX1,    #0x9d14
lri $WR1,    #0x803d
cw 0x15
call send_back  ; 51871 (0xca9f)

lri $AR1,    #0x3232
lri $IX1,    #0xbd30
lri $WR1,    #0x583e
cw 0x15
call send_back  ; 51872 (0xcaa0)

lri $AR1,    #0xcd11
lri $IX1,    #0x623c
lri $WR1,    #0xbaf9
cw 0x15
call send_back  ; 51873 (0xcaa1)

lri $AR1,    #0x8069
lri $IX1,    #0x9a76
lri $WR1,    #0x8fa3
cw 0x15
call send_back  ; 51874 (0xcaa2)

lri $AR1,    #0x793b
lri $IX1,    #0xb57c
lri $WR1,    #0x834d
cw 0x15
call send_back  ; 51875 (0xcaa3)

lri $AR1,    #0xdc4a
lri $IX1,    #0x2bf8
lri $WR1,    #0x8c4f
cw 0x15
call send_back  ; 51876 (0xcaa4)

lri $AR1,    #0x551a
lri $IX1,    #0xb80a
lri $WR1,    #0x8c25
cw 0x15
call send_back  ; 51877 (0xcaa5)

lri $AR1,    #0x3683
lri $IX1,    #0x63cc
lri $WR1,    #0x7f54
cw 0x15
call send_back  ; 51878 (0xcaa6)

lri $AR1,    #0xa899
lri $IX1,    #0x936c
lri $WR1,    #0x6c63
cw 0x15
call send_back  ; 51879 (0xcaa7)

lri $AR1,    #0x774a
lri $IX1,    #0xbd44
lri $WR1,    #0x487b
cw 0x15
call send_back  ; 51880 (0xcaa8)

lri $AR1,    #0x807a
lri $IX1,    #0xba70
lri $WR1,    #0xb1c0
cw 0x15
call send_back  ; 51881 (0xcaa9)

lri $AR1,    #0x5fe4
lri $IX1,    #0x7f2a
lri $WR1,    #0x8ce9
cw 0x15
call send_back  ; 51882 (0xcaaa)

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