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

lri $AR1,    #0x7880
lri $IX1,    #0xfed6
lri $WR1,    #0xa7fd
cw 0x15
call send_back  ; 50027 (0xc36b)

lri $AR1,    #0x9568
lri $IX1,    #0xabe4
lri $WR1,    #0xb0a6
cw 0x15
call send_back  ; 50028 (0xc36c)

lri $AR1,    #0x96a4
lri $IX1,    #0xd192
lri $WR1,    #0x5610
cw 0x15
call send_back  ; 50029 (0xc36d)

lri $AR1,    #0xc17d
lri $IX1,    #0x8c70
lri $WR1,    #0xbba3
cw 0x15
call send_back  ; 50030 (0xc36e)

lri $AR1,    #0xa0cd
lri $IX1,    #0x0c44
lri $WR1,    #0xce27
cw 0x15
call send_back  ; 50031 (0xc36f)

lri $AR1,    #0xacca
lri $IX1,    #0x4968
lri $WR1,    #0x8050
cw 0x15
call send_back  ; 50032 (0xc370)

lri $AR1,    #0xb2ce
lri $IX1,    #0x2e38
lri $WR1,    #0xef84
cw 0x15
call send_back  ; 50033 (0xc371)

lri $AR1,    #0x8771
lri $IX1,    #0x37c2
lri $WR1,    #0x9a6a
cw 0x15
call send_back  ; 50034 (0xc372)

lri $AR1,    #0xe0bc
lri $IX1,    #0x2160
lri $WR1,    #0x8448
cw 0x15
call send_back  ; 50035 (0xc373)

lri $AR1,    #0x7dcc
lri $IX1,    #0xab84
lri $WR1,    #0x95d0
cw 0x15
call send_back  ; 50036 (0xc374)

lri $AR1,    #0x5cb6
lri $IX1,    #0x1646
lri $WR1,    #0xa55c
cw 0x15
call send_back  ; 50037 (0xc375)

lri $AR1,    #0x8ef4
lri $IX1,    #0x9cfa
lri $WR1,    #0xae32
cw 0x15
call send_back  ; 50038 (0xc376)

lri $AR1,    #0x2032
lri $IX1,    #0x4082
lri $WR1,    #0x3fde
cw 0x15
call send_back  ; 50039 (0xc377)

lri $AR1,    #0x5acb
lri $IX1,    #0x9a6a
lri $WR1,    #0x7434
cw 0x15
call send_back  ; 50040 (0xc378)

lri $AR1,    #0x60c0
lri $IX1,    #0x6bb4
lri $WR1,    #0x2404
cw 0x15
call send_back  ; 50041 (0xc379)

lri $AR1,    #0x6f82
lri $IX1,    #0x3e4e
lri $WR1,    #0x8018
cw 0x15
call send_back  ; 50042 (0xc37a)

lri $AR1,    #0x9853
lri $IX1,    #0xe102
lri $WR1,    #0x8585
cw 0x15
call send_back  ; 50043 (0xc37b)

lri $AR1,    #0x9e9f
lri $IX1,    #0xe210
lri $WR1,    #0xd9e5
cw 0x15
call send_back  ; 50044 (0xc37c)

lri $AR1,    #0x6909
lri $IX1,    #0x9506
lri $WR1,    #0xd582
cw 0x15
call send_back  ; 50045 (0xc37d)

lri $AR1,    #0x618b
lri $IX1,    #0xc53a
lri $WR1,    #0xbf0f
cw 0x15
call send_back  ; 50046 (0xc37e)

lri $AR1,    #0xa474
lri $IX1,    #0x164c
lri $WR1,    #0xdded
cw 0x15
call send_back  ; 50047 (0xc37f)

lri $AR1,    #0x5594
lri $IX1,    #0x6134
lri $WR1,    #0x6da1
cw 0x15
call send_back  ; 50048 (0xc380)

lri $AR1,    #0x3e64
lri $IX1,    #0x3446
lri $WR1,    #0x8673
cw 0x15
call send_back  ; 50049 (0xc381)

lri $AR1,    #0x577a
lri $IX1,    #0x217e
lri $WR1,    #0x9ce2
cw 0x15
call send_back  ; 50050 (0xc382)

lri $AR1,    #0x7328
lri $IX1,    #0xd6ca
lri $WR1,    #0xaae1
cw 0x15
call send_back  ; 50051 (0xc383)

lri $AR1,    #0x4673
lri $IX1,    #0x3862
lri $WR1,    #0x4b7f
cw 0x15
call send_back  ; 50052 (0xc384)

lri $AR1,    #0x695d
lri $IX1,    #0xfe04
lri $WR1,    #0x6b0d
cw 0x15
call send_back  ; 50053 (0xc385)

lri $AR1,    #0x76b4
lri $IX1,    #0xc82a
lri $WR1,    #0x8b35
cw 0x15
call send_back  ; 50054 (0xc386)

lri $AR1,    #0x1736
lri $IX1,    #0x62f2
lri $WR1,    #0xdc40
cw 0x15
call send_back  ; 50055 (0xc387)

lri $AR1,    #0xdb79
lri $IX1,    #0x18e6
lri $WR1,    #0x71f0
cw 0x15
call send_back  ; 50056 (0xc388)

lri $AR1,    #0xb33b
lri $IX1,    #0xb05a
lri $WR1,    #0x841b
cw 0x15
call send_back  ; 50057 (0xc389)

lri $AR1,    #0x708e
lri $IX1,    #0x1290
lri $WR1,    #0xd882
cw 0x15
call send_back  ; 50058 (0xc38a)

lri $AR1,    #0x789d
lri $IX1,    #0xcc44
lri $WR1,    #0x8503
cw 0x15
call send_back  ; 50059 (0xc38b)

lri $AR1,    #0x6b5a
lri $IX1,    #0xb3d8
lri $WR1,    #0x8eba
cw 0x15
call send_back  ; 50060 (0xc38c)

lri $AR1,    #0x86f7
lri $IX1,    #0x29ec
lri $WR1,    #0x6405
cw 0x15
call send_back  ; 50061 (0xc38d)

lri $AR1,    #0xbb5f
lri $IX1,    #0xbd4c
lri $WR1,    #0x2d1c
cw 0x15
call send_back  ; 50062 (0xc38e)

lri $AR1,    #0xa597
lri $IX1,    #0x9c42
lri $WR1,    #0xd03f
cw 0x15
call send_back  ; 50063 (0xc38f)

lri $AR1,    #0x6248
lri $IX1,    #0x491a
lri $WR1,    #0xabfd
cw 0x15
call send_back  ; 50064 (0xc390)

lri $AR1,    #0xb247
lri $IX1,    #0xa0e0
lri $WR1,    #0x53c7
cw 0x15
call send_back  ; 50065 (0xc391)

lri $AR1,    #0xab6e
lri $IX1,    #0x8742
lri $WR1,    #0x6831
cw 0x15
call send_back  ; 50066 (0xc392)

lri $AR1,    #0x8393
lri $IX1,    #0x9b7c
lri $WR1,    #0x5618
cw 0x15
call send_back  ; 50067 (0xc393)

lri $AR1,    #0xcae6
lri $IX1,    #0x5654
lri $WR1,    #0x3d2f
cw 0x15
call send_back  ; 50068 (0xc394)

lri $AR1,    #0x8696
lri $IX1,    #0xf9ea
lri $WR1,    #0x57f6
cw 0x15
call send_back  ; 50069 (0xc395)

lri $AR1,    #0x6c00
lri $IX1,    #0xf09e
lri $WR1,    #0x5cc1
cw 0x15
call send_back  ; 50070 (0xc396)

lri $AR1,    #0x603b
lri $IX1,    #0xb88a
lri $WR1,    #0x50d4
cw 0x15
call send_back  ; 50071 (0xc397)

lri $AR1,    #0xb755
lri $IX1,    #0x65f2
lri $WR1,    #0x0c21
cw 0x15
call send_back  ; 50072 (0xc398)

lri $AR1,    #0x5a0a
lri $IX1,    #0x3f44
lri $WR1,    #0x15bf
cw 0x15
call send_back  ; 50073 (0xc399)

lri $AR1,    #0xd84d
lri $IX1,    #0x19d2
lri $WR1,    #0x6ea9
cw 0x15
call send_back  ; 50074 (0xc39a)

lri $AR1,    #0x626d
lri $IX1,    #0x0f06
lri $WR1,    #0x31c9
cw 0x15
call send_back  ; 50075 (0xc39b)

lri $AR1,    #0x8a29
lri $IX1,    #0xfe2e
lri $WR1,    #0x85f8
cw 0x15
call send_back  ; 50076 (0xc39c)

lri $AR1,    #0x687e
lri $IX1,    #0x37b0
lri $WR1,    #0x97e8
cw 0x15
call send_back  ; 50077 (0xc39d)

lri $AR1,    #0xb489
lri $IX1,    #0xc29c
lri $WR1,    #0x8f9c
cw 0x15
call send_back  ; 50078 (0xc39e)

lri $AR1,    #0x5b44
lri $IX1,    #0x0e96
lri $WR1,    #0x966a
cw 0x15
call send_back  ; 50079 (0xc39f)

lri $AR1,    #0x1f72
lri $IX1,    #0xb00a
lri $WR1,    #0x6835
cw 0x15
call send_back  ; 50080 (0xc3a0)

lri $AR1,    #0x9486
lri $IX1,    #0x1d76
lri $WR1,    #0xf3cf
cw 0x15
call send_back  ; 50081 (0xc3a1)

lri $AR1,    #0x46dc
lri $IX1,    #0x68fe
lri $WR1,    #0x9c24
cw 0x15
call send_back  ; 50082 (0xc3a2)

lri $AR1,    #0x770e
lri $IX1,    #0xc1ea
lri $WR1,    #0x9d3f
cw 0x15
call send_back  ; 50083 (0xc3a3)

lri $AR1,    #0x55b5
lri $IX1,    #0x464a
lri $WR1,    #0xcdaf
cw 0x15
call send_back  ; 50084 (0xc3a4)

lri $AR1,    #0x886f
lri $IX1,    #0x7568
lri $WR1,    #0x4e67
cw 0x15
call send_back  ; 50085 (0xc3a5)

lri $AR1,    #0x506a
lri $IX1,    #0x8844
lri $WR1,    #0x98a7
cw 0x15
call send_back  ; 50086 (0xc3a6)

lri $AR1,    #0x4e53
lri $IX1,    #0x35b6
lri $WR1,    #0x9aea
cw 0x15
call send_back  ; 50087 (0xc3a7)

lri $AR1,    #0x76f2
lri $IX1,    #0x1480
lri $WR1,    #0x9b94
cw 0x15
call send_back  ; 50088 (0xc3a8)

lri $AR1,    #0xb73e
lri $IX1,    #0x05e2
lri $WR1,    #0x4140
cw 0x15
call send_back  ; 50089 (0xc3a9)

lri $AR1,    #0x664d
lri $IX1,    #0xf802
lri $WR1,    #0x4e5d
cw 0x15
call send_back  ; 50090 (0xc3aa)

lri $AR1,    #0x56d5
lri $IX1,    #0xffba
lri $WR1,    #0xaf25
cw 0x15
call send_back  ; 50091 (0xc3ab)

lri $AR1,    #0x819d
lri $IX1,    #0x6602
lri $WR1,    #0x4e6d
cw 0x15
call send_back  ; 50092 (0xc3ac)

lri $AR1,    #0xbdad
lri $IX1,    #0xedc4
lri $WR1,    #0x9f7c
cw 0x15
call send_back  ; 50093 (0xc3ad)

lri $AR1,    #0xaa98
lri $IX1,    #0x6b16
lri $WR1,    #0x485b
cw 0x15
call send_back  ; 50094 (0xc3ae)

lri $AR1,    #0x348c
lri $IX1,    #0xe5b8
lri $WR1,    #0x39bf
cw 0x15
call send_back  ; 50095 (0xc3af)

lri $AR1,    #0x51a4
lri $IX1,    #0x0cf2
lri $WR1,    #0xa718
cw 0x15
call send_back  ; 50096 (0xc3b0)

lri $AR1,    #0xa332
lri $IX1,    #0xdb78
lri $WR1,    #0x1adb
cw 0x15
call send_back  ; 50097 (0xc3b1)

lri $AR1,    #0x6553
lri $IX1,    #0x0ea0
lri $WR1,    #0xb08e
cw 0x15
call send_back  ; 50098 (0xc3b2)

lri $AR1,    #0x6aa6
lri $IX1,    #0xa482
lri $WR1,    #0x2fa3
cw 0x15
call send_back  ; 50099 (0xc3b3)

lri $AR1,    #0xa970
lri $IX1,    #0x1136
lri $WR1,    #0xb7cd
cw 0x15
call send_back  ; 50100 (0xc3b4)

lri $AR1,    #0x7afa
lri $IX1,    #0x63f0
lri $WR1,    #0xc8b2
cw 0x15
call send_back  ; 50101 (0xc3b5)

lri $AR1,    #0x7d83
lri $IX1,    #0x490e
lri $WR1,    #0x8cb6
cw 0x15
call send_back  ; 50102 (0xc3b6)

lri $AR1,    #0x6c8f
lri $IX1,    #0xd6ea
lri $WR1,    #0xcfd3
cw 0x15
call send_back  ; 50103 (0xc3b7)

lri $AR1,    #0x9add
lri $IX1,    #0x7f7e
lri $WR1,    #0x511a
cw 0x15
call send_back  ; 50104 (0xc3b8)

lri $AR1,    #0x64e6
lri $IX1,    #0x79a4
lri $WR1,    #0x86ec
cw 0x15
call send_back  ; 50105 (0xc3b9)

lri $AR1,    #0x5220
lri $IX1,    #0x9912
lri $WR1,    #0x5b6f
cw 0x15
call send_back  ; 50106 (0xc3ba)

lri $AR1,    #0x8ee4
lri $IX1,    #0xfcd0
lri $WR1,    #0x3867
cw 0x15
call send_back  ; 50107 (0xc3bb)

lri $AR1,    #0xd043
lri $IX1,    #0x5842
lri $WR1,    #0x4ee9
cw 0x15
call send_back  ; 50108 (0xc3bc)

lri $AR1,    #0x6e95
lri $IX1,    #0x0398
lri $WR1,    #0xc111
cw 0x15
call send_back  ; 50109 (0xc3bd)

lri $AR1,    #0x731e
lri $IX1,    #0x94aa
lri $WR1,    #0x912d
cw 0x15
call send_back  ; 50110 (0xc3be)

lri $AR1,    #0x587e
lri $IX1,    #0xa218
lri $WR1,    #0xdb8f
cw 0x15
call send_back  ; 50111 (0xc3bf)

lri $AR1,    #0xb56f
lri $IX1,    #0x9ec4
lri $WR1,    #0x4576
cw 0x15
call send_back  ; 50112 (0xc3c0)

lri $AR1,    #0x545b
lri $IX1,    #0x9456
lri $WR1,    #0x953d
cw 0x15
call send_back  ; 50113 (0xc3c1)

lri $AR1,    #0xba65
lri $IX1,    #0x081a
lri $WR1,    #0x753c
cw 0x15
call send_back  ; 50114 (0xc3c2)

lri $AR1,    #0x336f
lri $IX1,    #0xa5b2
lri $WR1,    #0x5497
cw 0x15
call send_back  ; 50115 (0xc3c3)

lri $AR1,    #0x80a7
lri $IX1,    #0x8806
lri $WR1,    #0x8e5b
cw 0x15
call send_back  ; 50116 (0xc3c4)

lri $AR1,    #0xa245
lri $IX1,    #0x40ee
lri $WR1,    #0xd925
cw 0x15
call send_back  ; 50117 (0xc3c5)

lri $AR1,    #0x44da
lri $IX1,    #0x34ea
lri $WR1,    #0xdebd
cw 0x15
call send_back  ; 50118 (0xc3c6)

lri $AR1,    #0x7dfd
lri $IX1,    #0xa094
lri $WR1,    #0x1cde
cw 0x15
call send_back  ; 50119 (0xc3c7)

lri $AR1,    #0x9baa
lri $IX1,    #0xc9de
lri $WR1,    #0x3585
cw 0x15
call send_back  ; 50120 (0xc3c8)

lri $AR1,    #0xb514
lri $IX1,    #0x97fa
lri $WR1,    #0x7f16
cw 0x15
call send_back  ; 50121 (0xc3c9)

lri $AR1,    #0x4b54
lri $IX1,    #0x30f2
lri $WR1,    #0xd1ae
cw 0x15
call send_back  ; 50122 (0xc3ca)

lri $AR1,    #0x7baa
lri $IX1,    #0x6cb8
lri $WR1,    #0xa0de
cw 0x15
call send_back  ; 50123 (0xc3cb)

lri $AR1,    #0x6cad
lri $IX1,    #0x09e0
lri $WR1,    #0x463d
cw 0x15
call send_back  ; 50124 (0xc3cc)

lri $AR1,    #0x9b47
lri $IX1,    #0xb89e
lri $WR1,    #0x5af5
cw 0x15
call send_back  ; 50125 (0xc3cd)

lri $AR1,    #0x5ba9
lri $IX1,    #0x654a
lri $WR1,    #0x7be0
cw 0x15
call send_back  ; 50126 (0xc3ce)

lri $AR1,    #0xa62c
lri $IX1,    #0xcc28
lri $WR1,    #0x3529
cw 0x15
call send_back  ; 50127 (0xc3cf)

lri $AR1,    #0x7f60
lri $IX1,    #0x6c6e
lri $WR1,    #0x7820
cw 0x15
call send_back  ; 50128 (0xc3d0)

lri $AR1,    #0xd612
lri $IX1,    #0x8980
lri $WR1,    #0x4742
cw 0x15
call send_back  ; 50129 (0xc3d1)

lri $AR1,    #0xf1a0
lri $IX1,    #0x2d5a
lri $WR1,    #0x9200
cw 0x15
call send_back  ; 50130 (0xc3d2)

lri $AR1,    #0x5e75
lri $IX1,    #0x2fee
lri $WR1,    #0x6b68
cw 0x15
call send_back  ; 50131 (0xc3d3)

lri $AR1,    #0x8de9
lri $IX1,    #0x43ae
lri $WR1,    #0xbc28
cw 0x15
call send_back  ; 50132 (0xc3d4)

lri $AR1,    #0x7a61
lri $IX1,    #0x0fd4
lri $WR1,    #0xaa0f
cw 0x15
call send_back  ; 50133 (0xc3d5)

lri $AR1,    #0x6ffd
lri $IX1,    #0x95ca
lri $WR1,    #0x8c8f
cw 0x15
call send_back  ; 50134 (0xc3d6)

lri $AR1,    #0x7dae
lri $IX1,    #0x9f24
lri $WR1,    #0x475b
cw 0x15
call send_back  ; 50135 (0xc3d7)

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