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

lri $AR1,    #0x81eb
lri $IX1,    #0x557e
lri $WR1,    #0xd48c
cw 0xd
call send_back  ; 58000 (0xe290)

lri $AR1,    #0x4b4e
lri $IX1,    #0x407a
lri $WR1,    #0xce54
cw 0xd
call send_back  ; 58001 (0xe291)

lri $AR1,    #0x4c28
lri $IX1,    #0xa39e
lri $WR1,    #0xc667
cw 0xd
call send_back  ; 58002 (0xe292)

lri $AR1,    #0x32f7
lri $IX1,    #0x2d9a
lri $WR1,    #0x4fea
cw 0xd
call send_back  ; 58003 (0xe293)

lri $AR1,    #0x6652
lri $IX1,    #0xff52
lri $WR1,    #0xcd99
cw 0xd
call send_back  ; 58004 (0xe294)

lri $AR1,    #0xb992
lri $IX1,    #0x2608
lri $WR1,    #0x9bb9
cw 0xd
call send_back  ; 58005 (0xe295)

lri $AR1,    #0xb1fa
lri $IX1,    #0x1688
lri $WR1,    #0x6329
cw 0xd
call send_back  ; 58006 (0xe296)

lri $AR1,    #0x804b
lri $IX1,    #0x8b9e
lri $WR1,    #0x8e74
cw 0xd
call send_back  ; 58007 (0xe297)

lri $AR1,    #0x29fa
lri $IX1,    #0x3db0
lri $WR1,    #0x9f94
cw 0xd
call send_back  ; 58008 (0xe298)

lri $AR1,    #0x88ea
lri $IX1,    #0x70b6
lri $WR1,    #0x8e69
cw 0xd
call send_back  ; 58009 (0xe299)

lri $AR1,    #0xa7f8
lri $IX1,    #0x3188
lri $WR1,    #0xc573
cw 0xd
call send_back  ; 58010 (0xe29a)

lri $AR1,    #0x761a
lri $IX1,    #0x2aa4
lri $WR1,    #0xa3e8
cw 0xd
call send_back  ; 58011 (0xe29b)

lri $AR1,    #0x3177
lri $IX1,    #0x1c60
lri $WR1,    #0x81a6
cw 0xd
call send_back  ; 58012 (0xe29c)

lri $AR1,    #0xa733
lri $IX1,    #0x1bc4
lri $WR1,    #0x6b29
cw 0xd
call send_back  ; 58013 (0xe29d)

lri $AR1,    #0x5454
lri $IX1,    #0xa6e2
lri $WR1,    #0x88f9
cw 0xd
call send_back  ; 58014 (0xe29e)

lri $AR1,    #0x777d
lri $IX1,    #0x3d02
lri $WR1,    #0x47b7
cw 0xd
call send_back  ; 58015 (0xe29f)

lri $AR1,    #0x9ad8
lri $IX1,    #0x5c60
lri $WR1,    #0xbb4e
cw 0xd
call send_back  ; 58016 (0xe2a0)

lri $AR1,    #0x68ff
lri $IX1,    #0x6ee6
lri $WR1,    #0x4155
cw 0xd
call send_back  ; 58017 (0xe2a1)

lri $AR1,    #0x9f38
lri $IX1,    #0x2a94
lri $WR1,    #0x7445
cw 0xd
call send_back  ; 58018 (0xe2a2)

lri $AR1,    #0x82c3
lri $IX1,    #0x1a10
lri $WR1,    #0x726b
cw 0xd
call send_back  ; 58019 (0xe2a3)

lri $AR1,    #0x46a3
lri $IX1,    #0x44ee
lri $WR1,    #0xb161
cw 0xd
call send_back  ; 58020 (0xe2a4)

lri $AR1,    #0xaa9d
lri $IX1,    #0x274c
lri $WR1,    #0x6fe5
cw 0xd
call send_back  ; 58021 (0xe2a5)

lri $AR1,    #0x2bc7
lri $IX1,    #0x3352
lri $WR1,    #0xb5b8
cw 0xd
call send_back  ; 58022 (0xe2a6)

lri $AR1,    #0xc275
lri $IX1,    #0xd714
lri $WR1,    #0x92a4
cw 0xd
call send_back  ; 58023 (0xe2a7)

lri $AR1,    #0x40d7
lri $IX1,    #0x5474
lri $WR1,    #0x5311
cw 0xd
call send_back  ; 58024 (0xe2a8)

lri $AR1,    #0xd110
lri $IX1,    #0x809a
lri $WR1,    #0x8a63
cw 0xd
call send_back  ; 58025 (0xe2a9)

lri $AR1,    #0x311b
lri $IX1,    #0x9b88
lri $WR1,    #0x8092
cw 0xd
call send_back  ; 58026 (0xe2aa)

lri $AR1,    #0x7e54
lri $IX1,    #0xc050
lri $WR1,    #0xa21d
cw 0xd
call send_back  ; 58027 (0xe2ab)

lri $AR1,    #0x89eb
lri $IX1,    #0xd19e
lri $WR1,    #0x66e5
cw 0xd
call send_back  ; 58028 (0xe2ac)

lri $AR1,    #0xab15
lri $IX1,    #0x1df0
lri $WR1,    #0x9df7
cw 0xd
call send_back  ; 58029 (0xe2ad)

lri $AR1,    #0x3345
lri $IX1,    #0x225a
lri $WR1,    #0x89e3
cw 0xd
call send_back  ; 58030 (0xe2ae)

lri $AR1,    #0x6c56
lri $IX1,    #0xb202
lri $WR1,    #0x9aa6
cw 0xd
call send_back  ; 58031 (0xe2af)

lri $AR1,    #0xbfcc
lri $IX1,    #0x3c4a
lri $WR1,    #0xb7ba
cw 0xd
call send_back  ; 58032 (0xe2b0)

lri $AR1,    #0x321e
lri $IX1,    #0xd2e6
lri $WR1,    #0x565c
cw 0xd
call send_back  ; 58033 (0xe2b1)

lri $AR1,    #0x9c51
lri $IX1,    #0xcca4
lri $WR1,    #0x6597
cw 0xd
call send_back  ; 58034 (0xe2b2)

lri $AR1,    #0x61af
lri $IX1,    #0x515a
lri $WR1,    #0x4b2a
cw 0xd
call send_back  ; 58035 (0xe2b3)

lri $AR1,    #0xa6e0
lri $IX1,    #0x9e94
lri $WR1,    #0xa1ca
cw 0xd
call send_back  ; 58036 (0xe2b4)

lri $AR1,    #0x2b59
lri $IX1,    #0x4c86
lri $WR1,    #0x82e8
cw 0xd
call send_back  ; 58037 (0xe2b5)

lri $AR1,    #0xb541
lri $IX1,    #0x25fc
lri $WR1,    #0x4372
cw 0xd
call send_back  ; 58038 (0xe2b6)

lri $AR1,    #0x63c3
lri $IX1,    #0x2582
lri $WR1,    #0x8ca7
cw 0xd
call send_back  ; 58039 (0xe2b7)

lri $AR1,    #0x9306
lri $IX1,    #0xbdc8
lri $WR1,    #0x7fa3
cw 0xd
call send_back  ; 58040 (0xe2b8)

lri $AR1,    #0x28ab
lri $IX1,    #0x9a5a
lri $WR1,    #0x7b8a
cw 0xd
call send_back  ; 58041 (0xe2b9)

lri $AR1,    #0x7f0f
lri $IX1,    #0x61ac
lri $WR1,    #0x8c0e
cw 0xd
call send_back  ; 58042 (0xe2ba)

lri $AR1,    #0x9934
lri $IX1,    #0x909c
lri $WR1,    #0x5739
cw 0xd
call send_back  ; 58043 (0xe2bb)

lri $AR1,    #0xb094
lri $IX1,    #0x2b70
lri $WR1,    #0x772b
cw 0xd
call send_back  ; 58044 (0xe2bc)

lri $AR1,    #0xe9af
lri $IX1,    #0x975e
lri $WR1,    #0x65c5
cw 0xd
call send_back  ; 58045 (0xe2bd)

lri $AR1,    #0x6bad
lri $IX1,    #0x5bb8
lri $WR1,    #0xdddf
cw 0xd
call send_back  ; 58046 (0xe2be)

lri $AR1,    #0x1adc
lri $IX1,    #0xa8c4
lri $WR1,    #0xb710
cw 0xd
call send_back  ; 58047 (0xe2bf)

lri $AR1,    #0x2d58
lri $IX1,    #0x364c
lri $WR1,    #0xa6a3
cw 0xd
call send_back  ; 58048 (0xe2c0)

lri $AR1,    #0x1cb9
lri $IX1,    #0x330a
lri $WR1,    #0x59b7
cw 0xd
call send_back  ; 58049 (0xe2c1)

lri $AR1,    #0x7704
lri $IX1,    #0x79de
lri $WR1,    #0x6a2f
cw 0xd
call send_back  ; 58050 (0xe2c2)

lri $AR1,    #0xa4c8
lri $IX1,    #0xf10a
lri $WR1,    #0x2177
cw 0xd
call send_back  ; 58051 (0xe2c3)

lri $AR1,    #0xc199
lri $IX1,    #0xbb54
lri $WR1,    #0x31a2
cw 0xd
call send_back  ; 58052 (0xe2c4)

lri $AR1,    #0x7fd6
lri $IX1,    #0x9a4a
lri $WR1,    #0x6715
cw 0xd
call send_back  ; 58053 (0xe2c5)

lri $AR1,    #0x9ff9
lri $IX1,    #0x6c90
lri $WR1,    #0x3224
cw 0xd
call send_back  ; 58054 (0xe2c6)

lri $AR1,    #0xa743
lri $IX1,    #0xf27a
lri $WR1,    #0xa9cd
cw 0xd
call send_back  ; 58055 (0xe2c7)

lri $AR1,    #0x9915
lri $IX1,    #0xd6ba
lri $WR1,    #0xae16
cw 0xd
call send_back  ; 58056 (0xe2c8)

lri $AR1,    #0x61cb
lri $IX1,    #0x4086
lri $WR1,    #0x7a2d
cw 0xd
call send_back  ; 58057 (0xe2c9)

lri $AR1,    #0xc165
lri $IX1,    #0xcffe
lri $WR1,    #0xa3b7
cw 0xd
call send_back  ; 58058 (0xe2ca)

lri $AR1,    #0x37cb
lri $IX1,    #0xb516
lri $WR1,    #0x968b
cw 0xd
call send_back  ; 58059 (0xe2cb)

lri $AR1,    #0x9c01
lri $IX1,    #0x74e4
lri $WR1,    #0x7149
cw 0xd
call send_back  ; 58060 (0xe2cc)

lri $AR1,    #0x8312
lri $IX1,    #0xc89c
lri $WR1,    #0xa0e3
cw 0xd
call send_back  ; 58061 (0xe2cd)

lri $AR1,    #0xcb1a
lri $IX1,    #0xad0a
lri $WR1,    #0x96bc
cw 0xd
call send_back  ; 58062 (0xe2ce)

lri $AR1,    #0x621b
lri $IX1,    #0x18d8
lri $WR1,    #0x5645
cw 0xd
call send_back  ; 58063 (0xe2cf)

lri $AR1,    #0x980c
lri $IX1,    #0xc372
lri $WR1,    #0x3cd7
cw 0xd
call send_back  ; 58064 (0xe2d0)

lri $AR1,    #0x56e1
lri $IX1,    #0xcde2
lri $WR1,    #0x2fb7
cw 0xd
call send_back  ; 58065 (0xe2d1)

lri $AR1,    #0x5ae2
lri $IX1,    #0xda50
lri $WR1,    #0xa9dd
cw 0xd
call send_back  ; 58066 (0xe2d2)

lri $AR1,    #0xd922
lri $IX1,    #0x0eb0
lri $WR1,    #0x54a2
cw 0xd
call send_back  ; 58067 (0xe2d3)

lri $AR1,    #0x495d
lri $IX1,    #0x8240
lri $WR1,    #0x4bb9
cw 0xd
call send_back  ; 58068 (0xe2d4)

lri $AR1,    #0xa424
lri $IX1,    #0x8d26
lri $WR1,    #0xc6ba
cw 0xd
call send_back  ; 58069 (0xe2d5)

lri $AR1,    #0x3580
lri $IX1,    #0x3d24
lri $WR1,    #0x7fa0
cw 0xd
call send_back  ; 58070 (0xe2d6)

lri $AR1,    #0x8806
lri $IX1,    #0xb18c
lri $WR1,    #0xaf64
cw 0xd
call send_back  ; 58071 (0xe2d7)

lri $AR1,    #0x4392
lri $IX1,    #0x345a
lri $WR1,    #0xbf3e
cw 0xd
call send_back  ; 58072 (0xe2d8)

lri $AR1,    #0x867f
lri $IX1,    #0x6dae
lri $WR1,    #0xb69d
cw 0xd
call send_back  ; 58073 (0xe2d9)

lri $AR1,    #0x1fae
lri $IX1,    #0xea92
lri $WR1,    #0xdb5d
cw 0xd
call send_back  ; 58074 (0xe2da)

lri $AR1,    #0x832a
lri $IX1,    #0x3f4e
lri $WR1,    #0xcb64
cw 0xd
call send_back  ; 58075 (0xe2db)

lri $AR1,    #0xbac1
lri $IX1,    #0x310a
lri $WR1,    #0x6c0d
cw 0xd
call send_back  ; 58076 (0xe2dc)

lri $AR1,    #0x4f4f
lri $IX1,    #0x6a38
lri $WR1,    #0x45a2
cw 0xd
call send_back  ; 58077 (0xe2dd)

lri $AR1,    #0x171d
lri $IX1,    #0x2860
lri $WR1,    #0x9e4a
cw 0xd
call send_back  ; 58078 (0xe2de)

lri $AR1,    #0x5926
lri $IX1,    #0xf1cc
lri $WR1,    #0xc993
cw 0xd
call send_back  ; 58079 (0xe2df)

lri $AR1,    #0xac78
lri $IX1,    #0x94d2
lri $WR1,    #0x8726
cw 0xd
call send_back  ; 58080 (0xe2e0)

lri $AR1,    #0x46a6
lri $IX1,    #0x59fc
lri $WR1,    #0x54a9
cw 0xd
call send_back  ; 58081 (0xe2e1)

lri $AR1,    #0x6b79
lri $IX1,    #0x4e0a
lri $WR1,    #0xa471
cw 0xd
call send_back  ; 58082 (0xe2e2)

lri $AR1,    #0xc3c8
lri $IX1,    #0xb7de
lri $WR1,    #0x5bfc
cw 0xd
call send_back  ; 58083 (0xe2e3)

lri $AR1,    #0x68be
lri $IX1,    #0x1266
lri $WR1,    #0xb2df
cw 0xd
call send_back  ; 58084 (0xe2e4)

lri $AR1,    #0x4c53
lri $IX1,    #0x19a8
lri $WR1,    #0x6427
cw 0xd
call send_back  ; 58085 (0xe2e5)

lri $AR1,    #0xb764
lri $IX1,    #0x85c2
lri $WR1,    #0x81b4
cw 0xd
call send_back  ; 58086 (0xe2e6)

lri $AR1,    #0x391c
lri $IX1,    #0xce48
lri $WR1,    #0x7abd
cw 0xd
call send_back  ; 58087 (0xe2e7)

lri $AR1,    #0x7b10
lri $IX1,    #0xa3ba
lri $WR1,    #0x6be9
cw 0xd
call send_back  ; 58088 (0xe2e8)

lri $AR1,    #0xd8d8
lri $IX1,    #0x9462
lri $WR1,    #0x7928
cw 0xd
call send_back  ; 58089 (0xe2e9)

lri $AR1,    #0xb977
lri $IX1,    #0x6d76
lri $WR1,    #0x1ed1
cw 0xd
call send_back  ; 58090 (0xe2ea)

lri $AR1,    #0x5c5f
lri $IX1,    #0x38d2
lri $WR1,    #0x7913
cw 0xd
call send_back  ; 58091 (0xe2eb)

lri $AR1,    #0x7366
lri $IX1,    #0x1af4
lri $WR1,    #0xd64a
cw 0xd
call send_back  ; 58092 (0xe2ec)

lri $AR1,    #0x5e74
lri $IX1,    #0xacc6
lri $WR1,    #0x6251
cw 0xd
call send_back  ; 58093 (0xe2ed)

lri $AR1,    #0x8d47
lri $IX1,    #0x97cc
lri $WR1,    #0xb65a
cw 0xd
call send_back  ; 58094 (0xe2ee)

lri $AR1,    #0x4f0b
lri $IX1,    #0x1b34
lri $WR1,    #0x7a4c
cw 0xd
call send_back  ; 58095 (0xe2ef)

lri $AR1,    #0x8f2c
lri $IX1,    #0x9376
lri $WR1,    #0x6a60
cw 0xd
call send_back  ; 58096 (0xe2f0)

lri $AR1,    #0x8a18
lri $IX1,    #0x05ec
lri $WR1,    #0x5ce1
cw 0xd
call send_back  ; 58097 (0xe2f1)

lri $AR1,    #0xc45a
lri $IX1,    #0xed1c
lri $WR1,    #0x31ba
cw 0xd
call send_back  ; 58098 (0xe2f2)

lri $AR1,    #0x61d0
lri $IX1,    #0xf220
lri $WR1,    #0x46d3
cw 0xd
call send_back  ; 58099 (0xe2f3)

lri $AR1,    #0x424a
lri $IX1,    #0xc2d8
lri $WR1,    #0x81e5
cw 0xd
call send_back  ; 58100 (0xe2f4)

lri $AR1,    #0xe472
lri $IX1,    #0xac64
lri $WR1,    #0x19ac
cw 0xd
call send_back  ; 58101 (0xe2f5)

lri $AR1,    #0x5f36
lri $IX1,    #0xec7e
lri $WR1,    #0x6633
cw 0xd
call send_back  ; 58102 (0xe2f6)

lri $AR1,    #0xa595
lri $IX1,    #0xac40
lri $WR1,    #0x812a
cw 0xd
call send_back  ; 58103 (0xe2f7)

lri $AR1,    #0xa01e
lri $IX1,    #0x29e8
lri $WR1,    #0xc4e7
cw 0xd
call send_back  ; 58104 (0xe2f8)

lri $AR1,    #0x52e7
lri $IX1,    #0x9f30
lri $WR1,    #0xa220
cw 0xd
call send_back  ; 58105 (0xe2f9)

lri $AR1,    #0xa653
lri $IX1,    #0xccbc
lri $WR1,    #0xb1e2
cw 0xd
call send_back  ; 58106 (0xe2fa)

lri $AR1,    #0x5c7c
lri $IX1,    #0xa336
lri $WR1,    #0xbae8
cw 0xd
call send_back  ; 58107 (0xe2fb)

lri $AR1,    #0xa47d
lri $IX1,    #0x25b2
lri $WR1,    #0x76cd
cw 0xd
call send_back  ; 58108 (0xe2fc)

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