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

lri $AR1,    #0x74c6
lri $IX1,    #0x751c
lri $WR1,    #0x7611
cw 0xd
call send_back  ; 55051 (0xd70b)

lri $AR1,    #0xe109
lri $IX1,    #0x1a5c
lri $WR1,    #0xae6a
cw 0xd
call send_back  ; 55052 (0xd70c)

lri $AR1,    #0x9833
lri $IX1,    #0x2660
lri $WR1,    #0x658e
cw 0xd
call send_back  ; 55053 (0xd70d)

lri $AR1,    #0xb384
lri $IX1,    #0x064e
lri $WR1,    #0x57d7
cw 0xd
call send_back  ; 55054 (0xd70e)

lri $AR1,    #0x6034
lri $IX1,    #0x65b4
lri $WR1,    #0xa609
cw 0xd
call send_back  ; 55055 (0xd70f)

lri $AR1,    #0xbf01
lri $IX1,    #0x6ef6
lri $WR1,    #0xb099
cw 0xd
call send_back  ; 55056 (0xd710)

lri $AR1,    #0x8db3
lri $IX1,    #0x719e
lri $WR1,    #0x4d38
cw 0xd
call send_back  ; 55057 (0xd711)

lri $AR1,    #0x94fa
lri $IX1,    #0xdb70
lri $WR1,    #0xb023
cw 0xd
call send_back  ; 55058 (0xd712)

lri $AR1,    #0xa85e
lri $IX1,    #0x6088
lri $WR1,    #0x9438
cw 0xd
call send_back  ; 55059 (0xd713)

lri $AR1,    #0xcda2
lri $IX1,    #0x3252
lri $WR1,    #0xa28e
cw 0xd
call send_back  ; 55060 (0xd714)

lri $AR1,    #0x3c6b
lri $IX1,    #0x1cbe
lri $WR1,    #0xb369
cw 0xd
call send_back  ; 55061 (0xd715)

lri $AR1,    #0x366a
lri $IX1,    #0x2c66
lri $WR1,    #0xa042
cw 0xd
call send_back  ; 55062 (0xd716)

lri $AR1,    #0x9be9
lri $IX1,    #0x0002
lri $WR1,    #0x5fe0
cw 0xd
call send_back  ; 55063 (0xd717)

lri $AR1,    #0x780a
lri $IX1,    #0xfafe
lri $WR1,    #0x6b1a
cw 0xd
call send_back  ; 55064 (0xd718)

lri $AR1,    #0xeb7f
lri $IX1,    #0x1686
lri $WR1,    #0x524b
cw 0xd
call send_back  ; 55065 (0xd719)

lri $AR1,    #0xbc0d
lri $IX1,    #0xe9ba
lri $WR1,    #0xd911
cw 0xd
call send_back  ; 55066 (0xd71a)

lri $AR1,    #0x42b8
lri $IX1,    #0x9184
lri $WR1,    #0x3f5b
cw 0xd
call send_back  ; 55067 (0xd71b)

lri $AR1,    #0x59d1
lri $IX1,    #0x43c6
lri $WR1,    #0x7465
cw 0xd
call send_back  ; 55068 (0xd71c)

lri $AR1,    #0x27cb
lri $IX1,    #0x7136
lri $WR1,    #0xa9a7
cw 0xd
call send_back  ; 55069 (0xd71d)

lri $AR1,    #0x9316
lri $IX1,    #0x44b0
lri $WR1,    #0x7943
cw 0xd
call send_back  ; 55070 (0xd71e)

lri $AR1,    #0xaee3
lri $IX1,    #0xee68
lri $WR1,    #0x7518
cw 0xd
call send_back  ; 55071 (0xd71f)

lri $AR1,    #0x6804
lri $IX1,    #0x5ca8
lri $WR1,    #0x58ed
cw 0xd
call send_back  ; 55072 (0xd720)

lri $AR1,    #0x84e4
lri $IX1,    #0xab82
lri $WR1,    #0xa3d5
cw 0xd
call send_back  ; 55073 (0xd721)

lri $AR1,    #0x8ab1
lri $IX1,    #0x9046
lri $WR1,    #0x6a63
cw 0xd
call send_back  ; 55074 (0xd722)

lri $AR1,    #0xadb9
lri $IX1,    #0x3504
lri $WR1,    #0xa4a3
cw 0xd
call send_back  ; 55075 (0xd723)

lri $AR1,    #0x7a2a
lri $IX1,    #0x3bdc
lri $WR1,    #0x708a
cw 0xd
call send_back  ; 55076 (0xd724)

lri $AR1,    #0xbe15
lri $IX1,    #0xd998
lri $WR1,    #0x9acf
cw 0xd
call send_back  ; 55077 (0xd725)

lri $AR1,    #0x4cfd
lri $IX1,    #0x0230
lri $WR1,    #0x1dd5
cw 0xd
call send_back  ; 55078 (0xd726)

lri $AR1,    #0xd8c3
lri $IX1,    #0x619c
lri $WR1,    #0x079b
cw 0xd
call send_back  ; 55079 (0xd727)

lri $AR1,    #0xb340
lri $IX1,    #0x2ed2
lri $WR1,    #0x3d6b
cw 0xd
call send_back  ; 55080 (0xd728)

lri $AR1,    #0x3764
lri $IX1,    #0xae22
lri $WR1,    #0xbd21
cw 0xd
call send_back  ; 55081 (0xd729)

lri $AR1,    #0x3817
lri $IX1,    #0x53da
lri $WR1,    #0xa9d3
cw 0xd
call send_back  ; 55082 (0xd72a)

lri $AR1,    #0x86c0
lri $IX1,    #0xc778
lri $WR1,    #0x82bb
cw 0xd
call send_back  ; 55083 (0xd72b)

lri $AR1,    #0xcabd
lri $IX1,    #0x6b34
lri $WR1,    #0x3917
cw 0xd
call send_back  ; 55084 (0xd72c)

lri $AR1,    #0x5e8c
lri $IX1,    #0x633a
lri $WR1,    #0xd2ef
cw 0xd
call send_back  ; 55085 (0xd72d)

lri $AR1,    #0x970f
lri $IX1,    #0x4368
lri $WR1,    #0xc670
cw 0xd
call send_back  ; 55086 (0xd72e)

lri $AR1,    #0x9cab
lri $IX1,    #0x69d0
lri $WR1,    #0x9ad3
cw 0xd
call send_back  ; 55087 (0xd72f)

lri $AR1,    #0x358f
lri $IX1,    #0x7fe0
lri $WR1,    #0x816d
cw 0xd
call send_back  ; 55088 (0xd730)

lri $AR1,    #0x6c01
lri $IX1,    #0x8378
lri $WR1,    #0x62f8
cw 0xd
call send_back  ; 55089 (0xd731)

lri $AR1,    #0xbaf1
lri $IX1,    #0xf4b6
lri $WR1,    #0xaa99
cw 0xd
call send_back  ; 55090 (0xd732)

lri $AR1,    #0xbeb2
lri $IX1,    #0x34d4
lri $WR1,    #0xc9cd
cw 0xd
call send_back  ; 55091 (0xd733)

lri $AR1,    #0xaf1e
lri $IX1,    #0xa5f0
lri $WR1,    #0x65a5
cw 0xd
call send_back  ; 55092 (0xd734)

lri $AR1,    #0x03f0
lri $IX1,    #0x92ec
lri $WR1,    #0xb78f
cw 0xd
call send_back  ; 55093 (0xd735)

lri $AR1,    #0x73bf
lri $IX1,    #0x3258
lri $WR1,    #0xc910
cw 0xd
call send_back  ; 55094 (0xd736)

lri $AR1,    #0x613f
lri $IX1,    #0x16b2
lri $WR1,    #0xb3a9
cw 0xd
call send_back  ; 55095 (0xd737)

lri $AR1,    #0x2245
lri $IX1,    #0xf1b4
lri $WR1,    #0x534f
cw 0xd
call send_back  ; 55096 (0xd738)

lri $AR1,    #0xb73d
lri $IX1,    #0x9818
lri $WR1,    #0xc3a2
cw 0xd
call send_back  ; 55097 (0xd739)

lri $AR1,    #0x6972
lri $IX1,    #0x8e9c
lri $WR1,    #0x6d71
cw 0xd
call send_back  ; 55098 (0xd73a)

lri $AR1,    #0x39f0
lri $IX1,    #0xf88a
lri $WR1,    #0xbb82
cw 0xd
call send_back  ; 55099 (0xd73b)

lri $AR1,    #0x725d
lri $IX1,    #0x63b4
lri $WR1,    #0xa350
cw 0xd
call send_back  ; 55100 (0xd73c)

lri $AR1,    #0x6486
lri $IX1,    #0x84fe
lri $WR1,    #0x67b8
cw 0xd
call send_back  ; 55101 (0xd73d)

lri $AR1,    #0x54fe
lri $IX1,    #0x6484
lri $WR1,    #0xb92e
cw 0xd
call send_back  ; 55102 (0xd73e)

lri $AR1,    #0x909f
lri $IX1,    #0x9778
lri $WR1,    #0x7888
cw 0xd
call send_back  ; 55103 (0xd73f)

lri $AR1,    #0xa433
lri $IX1,    #0xd9b0
lri $WR1,    #0x46e9
cw 0xd
call send_back  ; 55104 (0xd740)

lri $AR1,    #0x791c
lri $IX1,    #0x8014
lri $WR1,    #0x96ed
cw 0xd
call send_back  ; 55105 (0xd741)

lri $AR1,    #0x994b
lri $IX1,    #0xb8ce
lri $WR1,    #0x8095
cw 0xd
call send_back  ; 55106 (0xd742)

lri $AR1,    #0x705c
lri $IX1,    #0x3d8c
lri $WR1,    #0x8b05
cw 0xd
call send_back  ; 55107 (0xd743)

lri $AR1,    #0xe70e
lri $IX1,    #0xdfa0
lri $WR1,    #0x54b0
cw 0xd
call send_back  ; 55108 (0xd744)

lri $AR1,    #0x920c
lri $IX1,    #0x0d46
lri $WR1,    #0xdbf6
cw 0xd
call send_back  ; 55109 (0xd745)

lri $AR1,    #0xbc3e
lri $IX1,    #0xfaec
lri $WR1,    #0x87c5
cw 0xd
call send_back  ; 55110 (0xd746)

lri $AR1,    #0x386e
lri $IX1,    #0x5ad2
lri $WR1,    #0x5159
cw 0xd
call send_back  ; 55111 (0xd747)

lri $AR1,    #0x7daa
lri $IX1,    #0x60b6
lri $WR1,    #0x7596
cw 0xd
call send_back  ; 55112 (0xd748)

lri $AR1,    #0x7d1c
lri $IX1,    #0x16fc
lri $WR1,    #0xbe21
cw 0xd
call send_back  ; 55113 (0xd749)

lri $AR1,    #0xbfaf
lri $IX1,    #0xa60e
lri $WR1,    #0x9fbe
cw 0xd
call send_back  ; 55114 (0xd74a)

lri $AR1,    #0x8d57
lri $IX1,    #0xfe4c
lri $WR1,    #0x7cff
cw 0xd
call send_back  ; 55115 (0xd74b)

lri $AR1,    #0x8741
lri $IX1,    #0x3858
lri $WR1,    #0xb1e1
cw 0xd
call send_back  ; 55116 (0xd74c)

lri $AR1,    #0x19c8
lri $IX1,    #0xd712
lri $WR1,    #0x8652
cw 0xd
call send_back  ; 55117 (0xd74d)

lri $AR1,    #0x5a72
lri $IX1,    #0xc214
lri $WR1,    #0x234f
cw 0xd
call send_back  ; 55118 (0xd74e)

lri $AR1,    #0xa9cd
lri $IX1,    #0x2ef2
lri $WR1,    #0x8787
cw 0xd
call send_back  ; 55119 (0xd74f)

lri $AR1,    #0x287e
lri $IX1,    #0xa326
lri $WR1,    #0x9e2f
cw 0xd
call send_back  ; 55120 (0xd750)

lri $AR1,    #0x9a43
lri $IX1,    #0x9fe2
lri $WR1,    #0x6407
cw 0xd
call send_back  ; 55121 (0xd751)

lri $AR1,    #0x9150
lri $IX1,    #0x449e
lri $WR1,    #0x5425
cw 0xd
call send_back  ; 55122 (0xd752)

lri $AR1,    #0x8fc3
lri $IX1,    #0x24ba
lri $WR1,    #0x879b
cw 0xd
call send_back  ; 55123 (0xd753)

lri $AR1,    #0x9489
lri $IX1,    #0x8ffc
lri $WR1,    #0x687a
cw 0xd
call send_back  ; 55124 (0xd754)

lri $AR1,    #0xa479
lri $IX1,    #0x8538
lri $WR1,    #0x7255
cw 0xd
call send_back  ; 55125 (0xd755)

lri $AR1,    #0xb00b
lri $IX1,    #0x51fe
lri $WR1,    #0x17c5
cw 0xd
call send_back  ; 55126 (0xd756)

lri $AR1,    #0x1960
lri $IX1,    #0x618c
lri $WR1,    #0x65fc
cw 0xd
call send_back  ; 55127 (0xd757)

lri $AR1,    #0x7600
lri $IX1,    #0xd0e6
lri $WR1,    #0xc510
cw 0xd
call send_back  ; 55128 (0xd758)

lri $AR1,    #0xd310
lri $IX1,    #0xe55a
lri $WR1,    #0x9ceb
cw 0xd
call send_back  ; 55129 (0xd759)

lri $AR1,    #0xa25e
lri $IX1,    #0x5e40
lri $WR1,    #0x9487
cw 0xd
call send_back  ; 55130 (0xd75a)

lri $AR1,    #0x6a04
lri $IX1,    #0xaa4a
lri $WR1,    #0xf283
cw 0xd
call send_back  ; 55131 (0xd75b)

lri $AR1,    #0x37f8
lri $IX1,    #0x2c2e
lri $WR1,    #0x3b99
cw 0xd
call send_back  ; 55132 (0xd75c)

lri $AR1,    #0x9663
lri $IX1,    #0xd206
lri $WR1,    #0xe50c
cw 0xd
call send_back  ; 55133 (0xd75d)

lri $AR1,    #0x2cfc
lri $IX1,    #0x2e2a
lri $WR1,    #0xaea0
cw 0xd
call send_back  ; 55134 (0xd75e)

lri $AR1,    #0x3f47
lri $IX1,    #0xdfce
lri $WR1,    #0xd920
cw 0xd
call send_back  ; 55135 (0xd75f)

lri $AR1,    #0x2f01
lri $IX1,    #0x4d54
lri $WR1,    #0x5412
cw 0xd
call send_back  ; 55136 (0xd760)

lri $AR1,    #0x7586
lri $IX1,    #0x5974
lri $WR1,    #0x8696
cw 0xd
call send_back  ; 55137 (0xd761)

lri $AR1,    #0x868d
lri $IX1,    #0xb838
lri $WR1,    #0x651c
cw 0xd
call send_back  ; 55138 (0xd762)

lri $AR1,    #0xa1fa
lri $IX1,    #0xb7ec
lri $WR1,    #0x76e0
cw 0xd
call send_back  ; 55139 (0xd763)

lri $AR1,    #0xa221
lri $IX1,    #0x9612
lri $WR1,    #0xa3d4
cw 0xd
call send_back  ; 55140 (0xd764)

lri $AR1,    #0xaf47
lri $IX1,    #0xaf52
lri $WR1,    #0x7cfe
cw 0xd
call send_back  ; 55141 (0xd765)

lri $AR1,    #0xd0b7
lri $IX1,    #0xe59c
lri $WR1,    #0x8edd
cw 0xd
call send_back  ; 55142 (0xd766)

lri $AR1,    #0x7725
lri $IX1,    #0x566e
lri $WR1,    #0x8ee1
cw 0xd
call send_back  ; 55143 (0xd767)

lri $AR1,    #0xb3d5
lri $IX1,    #0xcf54
lri $WR1,    #0xba8e
cw 0xd
call send_back  ; 55144 (0xd768)

lri $AR1,    #0x3b28
lri $IX1,    #0x35c4
lri $WR1,    #0x6852
cw 0xd
call send_back  ; 55145 (0xd769)

lri $AR1,    #0x710f
lri $IX1,    #0x3344
lri $WR1,    #0x779e
cw 0xd
call send_back  ; 55146 (0xd76a)

lri $AR1,    #0x7108
lri $IX1,    #0xc616
lri $WR1,    #0x5f5d
cw 0xd
call send_back  ; 55147 (0xd76b)

lri $AR1,    #0xab14
lri $IX1,    #0xba46
lri $WR1,    #0x6f48
cw 0xd
call send_back  ; 55148 (0xd76c)

lri $AR1,    #0xaa67
lri $IX1,    #0x666c
lri $WR1,    #0xd236
cw 0xd
call send_back  ; 55149 (0xd76d)

lri $AR1,    #0x4a2c
lri $IX1,    #0x32d4
lri $WR1,    #0x5cf3
cw 0xd
call send_back  ; 55150 (0xd76e)

lri $AR1,    #0x601c
lri $IX1,    #0x519c
lri $WR1,    #0x96a5
cw 0xd
call send_back  ; 55151 (0xd76f)

lri $AR1,    #0x9c4c
lri $IX1,    #0x8148
lri $WR1,    #0x8d5f
cw 0xd
call send_back  ; 55152 (0xd770)

lri $AR1,    #0xe8f8
lri $IX1,    #0x9b5c
lri $WR1,    #0x52e9
cw 0xd
call send_back  ; 55153 (0xd771)

lri $AR1,    #0xd496
lri $IX1,    #0xebaa
lri $WR1,    #0xcb48
cw 0xd
call send_back  ; 55154 (0xd772)

lri $AR1,    #0x6410
lri $IX1,    #0xbcb6
lri $WR1,    #0xa823
cw 0xd
call send_back  ; 55155 (0xd773)

lri $AR1,    #0x7264
lri $IX1,    #0x08f2
lri $WR1,    #0x618c
cw 0xd
call send_back  ; 55156 (0xd774)

lri $AR1,    #0x5e86
lri $IX1,    #0xb824
lri $WR1,    #0x963f
cw 0xd
call send_back  ; 55157 (0xd775)

lri $AR1,    #0x97cf
lri $IX1,    #0x1bd6
lri $WR1,    #0x5ade
cw 0xd
call send_back  ; 55158 (0xd776)

lri $AR1,    #0x7ccd
lri $IX1,    #0x5d0c
lri $WR1,    #0x8158
cw 0xd
call send_back  ; 55159 (0xd777)

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