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

lri $AR1,    #0xf7fe
lri $IX1,    #0x4800
lri $WR1,    #0x91e0
cw 0x15
call send_back  ; 43036 (0xa81c)

lri $AR1,    #0x42ca
lri $IX1,    #0x396c
lri $WR1,    #0x4570
cw 0x15
call send_back  ; 43037 (0xa81d)

lri $AR1,    #0x1629
lri $IX1,    #0x2582
lri $WR1,    #0x6f82
cw 0x15
call send_back  ; 43038 (0xa81e)

lri $AR1,    #0x3e21
lri $IX1,    #0x6c7a
lri $WR1,    #0x432a
cw 0x15
call send_back  ; 43039 (0xa81f)

lri $AR1,    #0xc6a0
lri $IX1,    #0x1834
lri $WR1,    #0x54a5
cw 0x15
call send_back  ; 43040 (0xa820)

lri $AR1,    #0xc167
lri $IX1,    #0x7680
lri $WR1,    #0x50c1
cw 0x15
call send_back  ; 43041 (0xa821)

lri $AR1,    #0x813b
lri $IX1,    #0x27b8
lri $WR1,    #0xbd08
cw 0x15
call send_back  ; 43042 (0xa822)

lri $AR1,    #0x7043
lri $IX1,    #0xad38
lri $WR1,    #0x83bd
cw 0x15
call send_back  ; 43043 (0xa823)

lri $AR1,    #0xaec5
lri $IX1,    #0x4004
lri $WR1,    #0x444f
cw 0x15
call send_back  ; 43044 (0xa824)

lri $AR1,    #0x832b
lri $IX1,    #0x803a
lri $WR1,    #0x3a2d
cw 0x15
call send_back  ; 43045 (0xa825)

lri $AR1,    #0x338e
lri $IX1,    #0x828c
lri $WR1,    #0xe9af
cw 0x15
call send_back  ; 43046 (0xa826)

lri $AR1,    #0x84a8
lri $IX1,    #0x0168
lri $WR1,    #0x8410
cw 0x15
call send_back  ; 43047 (0xa827)

lri $AR1,    #0xb16c
lri $IX1,    #0x2402
lri $WR1,    #0x790e
cw 0x15
call send_back  ; 43048 (0xa828)

lri $AR1,    #0x1a1d
lri $IX1,    #0x85f0
lri $WR1,    #0x5640
cw 0x15
call send_back  ; 43049 (0xa829)

lri $AR1,    #0x893f
lri $IX1,    #0x0e8e
lri $WR1,    #0xc1b3
cw 0x15
call send_back  ; 43050 (0xa82a)

lri $AR1,    #0x2012
lri $IX1,    #0xd7c4
lri $WR1,    #0xeed9
cw 0x15
call send_back  ; 43051 (0xa82b)

lri $AR1,    #0xa408
lri $IX1,    #0x0084
lri $WR1,    #0xc268
cw 0x15
call send_back  ; 43052 (0xa82c)

lri $AR1,    #0xe1f9
lri $IX1,    #0xef88
lri $WR1,    #0x5320
cw 0x15
call send_back  ; 43053 (0xa82d)

lri $AR1,    #0x8b60
lri $IX1,    #0x5f9c
lri $WR1,    #0x7325
cw 0x15
call send_back  ; 43054 (0xa82e)

lri $AR1,    #0xb578
lri $IX1,    #0xaf16
lri $WR1,    #0xceea
cw 0x15
call send_back  ; 43055 (0xa82f)

lri $AR1,    #0xd98a
lri $IX1,    #0x78ac
lri $WR1,    #0x543c
cw 0x15
call send_back  ; 43056 (0xa830)

lri $AR1,    #0xc132
lri $IX1,    #0x946a
lri $WR1,    #0x5d89
cw 0x15
call send_back  ; 43057 (0xa831)

lri $AR1,    #0x88f9
lri $IX1,    #0x63dc
lri $WR1,    #0xeaf4
cw 0x15
call send_back  ; 43058 (0xa832)

lri $AR1,    #0x370b
lri $IX1,    #0xdd28
lri $WR1,    #0xe42d
cw 0x15
call send_back  ; 43059 (0xa833)

lri $AR1,    #0x2b57
lri $IX1,    #0x4560
lri $WR1,    #0xd3c1
cw 0x15
call send_back  ; 43060 (0xa834)

lri $AR1,    #0xc9f4
lri $IX1,    #0x1288
lri $WR1,    #0x25d2
cw 0x15
call send_back  ; 43061 (0xa835)

lri $AR1,    #0x900e
lri $IX1,    #0x22b6
lri $WR1,    #0x91e1
cw 0x15
call send_back  ; 43062 (0xa836)

lri $AR1,    #0xa732
lri $IX1,    #0x75d4
lri $WR1,    #0xd8a3
cw 0x15
call send_back  ; 43063 (0xa837)

lri $AR1,    #0x624f
lri $IX1,    #0x0452
lri $WR1,    #0x4488
cw 0x15
call send_back  ; 43064 (0xa838)

lri $AR1,    #0xbb25
lri $IX1,    #0x455c
lri $WR1,    #0x44e8
cw 0x15
call send_back  ; 43065 (0xa839)

lri $AR1,    #0x4699
lri $IX1,    #0x9bde
lri $WR1,    #0xe987
cw 0x15
call send_back  ; 43066 (0xa83a)

lri $AR1,    #0x8990
lri $IX1,    #0x51f4
lri $WR1,    #0x5566
cw 0x15
call send_back  ; 43067 (0xa83b)

lri $AR1,    #0x7fc6
lri $IX1,    #0x26f6
lri $WR1,    #0xd577
cw 0x15
call send_back  ; 43068 (0xa83c)

lri $AR1,    #0x6160
lri $IX1,    #0xdce6
lri $WR1,    #0x814f
cw 0x15
call send_back  ; 43069 (0xa83d)

lri $AR1,    #0x238c
lri $IX1,    #0xc652
lri $WR1,    #0x895b
cw 0x15
call send_back  ; 43070 (0xa83e)

lri $AR1,    #0xb3fa
lri $IX1,    #0x3670
lri $WR1,    #0x77a6
cw 0x15
call send_back  ; 43071 (0xa83f)

lri $AR1,    #0x668b
lri $IX1,    #0x018e
lri $WR1,    #0x8dcd
cw 0x15
call send_back  ; 43072 (0xa840)

lri $AR1,    #0xd7fa
lri $IX1,    #0x14b2
lri $WR1,    #0x7425
cw 0x15
call send_back  ; 43073 (0xa841)

lri $AR1,    #0x07d1
lri $IX1,    #0xaf56
lri $WR1,    #0x7ba5
cw 0x15
call send_back  ; 43074 (0xa842)

lri $AR1,    #0x7f81
lri $IX1,    #0x1b34
lri $WR1,    #0xa5ab
cw 0x15
call send_back  ; 43075 (0xa843)

lri $AR1,    #0x63e5
lri $IX1,    #0xfa22
lri $WR1,    #0x5a22
cw 0x15
call send_back  ; 43076 (0xa844)

lri $AR1,    #0xa9fe
lri $IX1,    #0x8ad0
lri $WR1,    #0x8e20
cw 0x15
call send_back  ; 43077 (0xa845)

lri $AR1,    #0xb74c
lri $IX1,    #0xb974
lri $WR1,    #0x7a8c
cw 0x15
call send_back  ; 43078 (0xa846)

lri $AR1,    #0x596f
lri $IX1,    #0x9236
lri $WR1,    #0x43da
cw 0x15
call send_back  ; 43079 (0xa847)

lri $AR1,    #0x1892
lri $IX1,    #0xd782
lri $WR1,    #0x7965
cw 0x15
call send_back  ; 43080 (0xa848)

lri $AR1,    #0x5332
lri $IX1,    #0x36dc
lri $WR1,    #0x7c8b
cw 0x15
call send_back  ; 43081 (0xa849)

lri $AR1,    #0xb1d5
lri $IX1,    #0xfb7e
lri $WR1,    #0x8d09
cw 0x15
call send_back  ; 43082 (0xa84a)

lri $AR1,    #0xb444
lri $IX1,    #0x4e76
lri $WR1,    #0x49a9
cw 0x15
call send_back  ; 43083 (0xa84b)

lri $AR1,    #0x41c7
lri $IX1,    #0x3044
lri $WR1,    #0xc9dd
cw 0x15
call send_back  ; 43084 (0xa84c)

lri $AR1,    #0xa111
lri $IX1,    #0x80f4
lri $WR1,    #0x6e4f
cw 0x15
call send_back  ; 43085 (0xa84d)

lri $AR1,    #0x6c3e
lri $IX1,    #0xbf94
lri $WR1,    #0x83f0
cw 0x15
call send_back  ; 43086 (0xa84e)

lri $AR1,    #0x58b6
lri $IX1,    #0xcaf6
lri $WR1,    #0xb6ab
cw 0x15
call send_back  ; 43087 (0xa84f)

lri $AR1,    #0xe234
lri $IX1,    #0xf9ca
lri $WR1,    #0x7629
cw 0x15
call send_back  ; 43088 (0xa850)

lri $AR1,    #0x73cf
lri $IX1,    #0x78c6
lri $WR1,    #0xb8e5
cw 0x15
call send_back  ; 43089 (0xa851)

lri $AR1,    #0xe954
lri $IX1,    #0x2218
lri $WR1,    #0xd6ed
cw 0x15
call send_back  ; 43090 (0xa852)

lri $AR1,    #0x96b7
lri $IX1,    #0x11c8
lri $WR1,    #0xe788
cw 0x15
call send_back  ; 43091 (0xa853)

lri $AR1,    #0x4aff
lri $IX1,    #0x373a
lri $WR1,    #0x8242
cw 0x15
call send_back  ; 43092 (0xa854)

lri $AR1,    #0x5f59
lri $IX1,    #0x2c80
lri $WR1,    #0x5d66
cw 0x15
call send_back  ; 43093 (0xa855)

lri $AR1,    #0xb2d7
lri $IX1,    #0xd0b4
lri $WR1,    #0x6181
cw 0x15
call send_back  ; 43094 (0xa856)

lri $AR1,    #0xd670
lri $IX1,    #0xa2fe
lri $WR1,    #0x4b02
cw 0x15
call send_back  ; 43095 (0xa857)

lri $AR1,    #0x84c5
lri $IX1,    #0xc884
lri $WR1,    #0x3876
cw 0x15
call send_back  ; 43096 (0xa858)

lri $AR1,    #0xac53
lri $IX1,    #0x1fde
lri $WR1,    #0x6d7c
cw 0x15
call send_back  ; 43097 (0xa859)

lri $AR1,    #0xb282
lri $IX1,    #0xe95e
lri $WR1,    #0x8009
cw 0x15
call send_back  ; 43098 (0xa85a)

lri $AR1,    #0x893f
lri $IX1,    #0x7bba
lri $WR1,    #0xf6f3
cw 0x15
call send_back  ; 43099 (0xa85b)

lri $AR1,    #0x989c
lri $IX1,    #0x5960
lri $WR1,    #0xf66b
cw 0x15
call send_back  ; 43100 (0xa85c)

lri $AR1,    #0x391a
lri $IX1,    #0xe322
lri $WR1,    #0x506e
cw 0x15
call send_back  ; 43101 (0xa85d)

lri $AR1,    #0x6b07
lri $IX1,    #0xf950
lri $WR1,    #0x8cb8
cw 0x15
call send_back  ; 43102 (0xa85e)

lri $AR1,    #0x7abe
lri $IX1,    #0x3d1c
lri $WR1,    #0x9d4a
cw 0x15
call send_back  ; 43103 (0xa85f)

lri $AR1,    #0xb915
lri $IX1,    #0x704e
lri $WR1,    #0x5a22
cw 0x15
call send_back  ; 43104 (0xa860)

lri $AR1,    #0xbac1
lri $IX1,    #0xca14
lri $WR1,    #0x6819
cw 0x15
call send_back  ; 43105 (0xa861)

lri $AR1,    #0x910f
lri $IX1,    #0x1c10
lri $WR1,    #0xbc98
cw 0x15
call send_back  ; 43106 (0xa862)

lri $AR1,    #0x81bd
lri $IX1,    #0x7356
lri $WR1,    #0xe112
cw 0x15
call send_back  ; 43107 (0xa863)

lri $AR1,    #0xcb34
lri $IX1,    #0x9d96
lri $WR1,    #0xcef1
cw 0x15
call send_back  ; 43108 (0xa864)

lri $AR1,    #0x5e15
lri $IX1,    #0xc308
lri $WR1,    #0x95f3
cw 0x15
call send_back  ; 43109 (0xa865)

lri $AR1,    #0x8440
lri $IX1,    #0x3a68
lri $WR1,    #0x5c8f
cw 0x15
call send_back  ; 43110 (0xa866)

lri $AR1,    #0x9142
lri $IX1,    #0xfc9e
lri $WR1,    #0x8b6d
cw 0x15
call send_back  ; 43111 (0xa867)

lri $AR1,    #0x4f77
lri $IX1,    #0xca48
lri $WR1,    #0x7a8a
cw 0x15
call send_back  ; 43112 (0xa868)

lri $AR1,    #0xc89a
lri $IX1,    #0x4dd6
lri $WR1,    #0x2008
cw 0x15
call send_back  ; 43113 (0xa869)

lri $AR1,    #0xa831
lri $IX1,    #0x696c
lri $WR1,    #0x6e56
cw 0x15
call send_back  ; 43114 (0xa86a)

lri $AR1,    #0xa991
lri $IX1,    #0x902e
lri $WR1,    #0xa093
cw 0x15
call send_back  ; 43115 (0xa86b)

lri $AR1,    #0xaad7
lri $IX1,    #0xa73a
lri $WR1,    #0x89f0
cw 0x15
call send_back  ; 43116 (0xa86c)

lri $AR1,    #0x798c
lri $IX1,    #0x92e0
lri $WR1,    #0x75ff
cw 0x15
call send_back  ; 43117 (0xa86d)

lri $AR1,    #0x9d74
lri $IX1,    #0x6978
lri $WR1,    #0xa581
cw 0x15
call send_back  ; 43118 (0xa86e)

lri $AR1,    #0xa921
lri $IX1,    #0x6550
lri $WR1,    #0x54d4
cw 0x15
call send_back  ; 43119 (0xa86f)

lri $AR1,    #0x4fbe
lri $IX1,    #0x3c0c
lri $WR1,    #0x5e86
cw 0x15
call send_back  ; 43120 (0xa870)

lri $AR1,    #0x8ae0
lri $IX1,    #0x9a10
lri $WR1,    #0x5613
cw 0x15
call send_back  ; 43121 (0xa871)

lri $AR1,    #0x5a95
lri $IX1,    #0x4530
lri $WR1,    #0xc47a
cw 0x15
call send_back  ; 43122 (0xa872)

lri $AR1,    #0x7da0
lri $IX1,    #0xfa50
lri $WR1,    #0x619b
cw 0x15
call send_back  ; 43123 (0xa873)

lri $AR1,    #0xc716
lri $IX1,    #0x9628
lri $WR1,    #0x1b00
cw 0x15
call send_back  ; 43124 (0xa874)

lri $AR1,    #0x5242
lri $IX1,    #0xa1d8
lri $WR1,    #0x521a
cw 0x15
call send_back  ; 43125 (0xa875)

lri $AR1,    #0x2516
lri $IX1,    #0x107e
lri $WR1,    #0xd986
cw 0x15
call send_back  ; 43126 (0xa876)

lri $AR1,    #0xb4f8
lri $IX1,    #0xfb82
lri $WR1,    #0x3a6a
cw 0x15
call send_back  ; 43127 (0xa877)

lri $AR1,    #0x993b
lri $IX1,    #0x97bc
lri $WR1,    #0x9071
cw 0x15
call send_back  ; 43128 (0xa878)

lri $AR1,    #0x6216
lri $IX1,    #0x9632
lri $WR1,    #0x3482
cw 0x15
call send_back  ; 43129 (0xa879)

lri $AR1,    #0x6a71
lri $IX1,    #0xc79a
lri $WR1,    #0xdbc0
cw 0x15
call send_back  ; 43130 (0xa87a)

lri $AR1,    #0x6e4a
lri $IX1,    #0x4a46
lri $WR1,    #0xa1d8
cw 0x15
call send_back  ; 43131 (0xa87b)

lri $AR1,    #0x9704
lri $IX1,    #0xe6c0
lri $WR1,    #0x8b3d
cw 0x15
call send_back  ; 43132 (0xa87c)

lri $AR1,    #0x6a78
lri $IX1,    #0xa79e
lri $WR1,    #0xc54f
cw 0x15
call send_back  ; 43133 (0xa87d)

lri $AR1,    #0x7918
lri $IX1,    #0x4dfa
lri $WR1,    #0x281b
cw 0x15
call send_back  ; 43134 (0xa87e)

lri $AR1,    #0xaaee
lri $IX1,    #0x2402
lri $WR1,    #0x9e99
cw 0x15
call send_back  ; 43135 (0xa87f)

lri $AR1,    #0x82be
lri $IX1,    #0xfbf4
lri $WR1,    #0x8024
cw 0x15
call send_back  ; 43136 (0xa880)

lri $AR1,    #0x7a3b
lri $IX1,    #0x0228
lri $WR1,    #0x6f20
cw 0x15
call send_back  ; 43137 (0xa881)

lri $AR1,    #0x9976
lri $IX1,    #0x8d66
lri $WR1,    #0xde61
cw 0x15
call send_back  ; 43138 (0xa882)

lri $AR1,    #0x7f72
lri $IX1,    #0x6922
lri $WR1,    #0xd073
cw 0x15
call send_back  ; 43139 (0xa883)

lri $AR1,    #0x9933
lri $IX1,    #0x51de
lri $WR1,    #0x193f
cw 0x15
call send_back  ; 43140 (0xa884)

lri $AR1,    #0x9fef
lri $IX1,    #0xa460
lri $WR1,    #0xc429
cw 0x15
call send_back  ; 43141 (0xa885)

lri $AR1,    #0x86eb
lri $IX1,    #0xb4e8
lri $WR1,    #0x9e38
cw 0x15
call send_back  ; 43142 (0xa886)

lri $AR1,    #0x24a2
lri $IX1,    #0x041e
lri $WR1,    #0xa54a
cw 0x15
call send_back  ; 43143 (0xa887)

lri $AR1,    #0x7a9d
lri $IX1,    #0xb3d0
lri $WR1,    #0x22fb
cw 0x15
call send_back  ; 43144 (0xa888)

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