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

lri $AR1,    #0x8835
lri $IX1,    #0x5596
lri $WR1,    #0x8469
cw 0x15
call send_back  ; 40742 (0x9f26)

lri $AR1,    #0x9296
lri $IX1,    #0xc4b6
lri $WR1,    #0xb7d8
cw 0x15
call send_back  ; 40743 (0x9f27)

lri $AR1,    #0x5c76
lri $IX1,    #0x7f06
lri $WR1,    #0x3235
cw 0x15
call send_back  ; 40744 (0x9f28)

lri $AR1,    #0x3985
lri $IX1,    #0x8174
lri $WR1,    #0xb522
cw 0x15
call send_back  ; 40745 (0x9f29)

lri $AR1,    #0x576b
lri $IX1,    #0x26f0
lri $WR1,    #0x5173
cw 0x15
call send_back  ; 40746 (0x9f2a)

lri $AR1,    #0xf450
lri $IX1,    #0xf540
lri $WR1,    #0x8e22
cw 0x15
call send_back  ; 40747 (0x9f2b)

lri $AR1,    #0xe64f
lri $IX1,    #0x656a
lri $WR1,    #0x6e2e
cw 0x15
call send_back  ; 40748 (0x9f2c)

lri $AR1,    #0xa8a9
lri $IX1,    #0xac80
lri $WR1,    #0x835d
cw 0x15
call send_back  ; 40749 (0x9f2d)

lri $AR1,    #0xd2ff
lri $IX1,    #0x5de8
lri $WR1,    #0xb99d
cw 0x15
call send_back  ; 40750 (0x9f2e)

lri $AR1,    #0x2277
lri $IX1,    #0xe0cc
lri $WR1,    #0x67e7
cw 0x15
call send_back  ; 40751 (0x9f2f)

lri $AR1,    #0x73fe
lri $IX1,    #0x3f00
lri $WR1,    #0x5950
cw 0x15
call send_back  ; 40752 (0x9f30)

lri $AR1,    #0x9a9a
lri $IX1,    #0xebe6
lri $WR1,    #0x4a51
cw 0x15
call send_back  ; 40753 (0x9f31)

lri $AR1,    #0x3bfd
lri $IX1,    #0xe69e
lri $WR1,    #0xa3d1
cw 0x15
call send_back  ; 40754 (0x9f32)

lri $AR1,    #0x313a
lri $IX1,    #0x2b2c
lri $WR1,    #0x6f0c
cw 0x15
call send_back  ; 40755 (0x9f33)

lri $AR1,    #0xb0e8
lri $IX1,    #0xe2b4
lri $WR1,    #0x72d4
cw 0x15
call send_back  ; 40756 (0x9f34)

lri $AR1,    #0xa386
lri $IX1,    #0x4b96
lri $WR1,    #0x8454
cw 0x15
call send_back  ; 40757 (0x9f35)

lri $AR1,    #0xd267
lri $IX1,    #0x067e
lri $WR1,    #0xb2d5
cw 0x15
call send_back  ; 40758 (0x9f36)

lri $AR1,    #0x8502
lri $IX1,    #0x7632
lri $WR1,    #0x7794
cw 0x15
call send_back  ; 40759 (0x9f37)

lri $AR1,    #0xf7eb
lri $IX1,    #0x4c34
lri $WR1,    #0x5849
cw 0x15
call send_back  ; 40760 (0x9f38)

lri $AR1,    #0x444f
lri $IX1,    #0x550e
lri $WR1,    #0xd454
cw 0x15
call send_back  ; 40761 (0x9f39)

lri $AR1,    #0x2e36
lri $IX1,    #0x3b40
lri $WR1,    #0x6242
cw 0x15
call send_back  ; 40762 (0x9f3a)

lri $AR1,    #0xc36f
lri $IX1,    #0x68be
lri $WR1,    #0x949a
cw 0x15
call send_back  ; 40763 (0x9f3b)

lri $AR1,    #0x9c5f
lri $IX1,    #0x8af8
lri $WR1,    #0x9297
cw 0x15
call send_back  ; 40764 (0x9f3c)

lri $AR1,    #0x4b92
lri $IX1,    #0xa64c
lri $WR1,    #0x4ad6
cw 0x15
call send_back  ; 40765 (0x9f3d)

lri $AR1,    #0x785d
lri $IX1,    #0x39dc
lri $WR1,    #0x838b
cw 0x15
call send_back  ; 40766 (0x9f3e)

lri $AR1,    #0xa45a
lri $IX1,    #0xd5b4
lri $WR1,    #0x8d4b
cw 0x15
call send_back  ; 40767 (0x9f3f)

lri $AR1,    #0x9311
lri $IX1,    #0xd140
lri $WR1,    #0xc2fc
cw 0x15
call send_back  ; 40768 (0x9f40)

lri $AR1,    #0x16a5
lri $IX1,    #0xa8da
lri $WR1,    #0x8af7
cw 0x15
call send_back  ; 40769 (0x9f41)

lri $AR1,    #0x83c8
lri $IX1,    #0x0d96
lri $WR1,    #0x1afd
cw 0x15
call send_back  ; 40770 (0x9f42)

lri $AR1,    #0xa2d3
lri $IX1,    #0x0304
lri $WR1,    #0xb1f4
cw 0x15
call send_back  ; 40771 (0x9f43)

lri $AR1,    #0x7b48
lri $IX1,    #0xa314
lri $WR1,    #0xb00f
cw 0x15
call send_back  ; 40772 (0x9f44)

lri $AR1,    #0x3291
lri $IX1,    #0x68cc
lri $WR1,    #0xcf6c
cw 0x15
call send_back  ; 40773 (0x9f45)

lri $AR1,    #0xc656
lri $IX1,    #0x56fa
lri $WR1,    #0x9cba
cw 0x15
call send_back  ; 40774 (0x9f46)

lri $AR1,    #0x8e21
lri $IX1,    #0x10a2
lri $WR1,    #0x90f5
cw 0x15
call send_back  ; 40775 (0x9f47)

lri $AR1,    #0x87c0
lri $IX1,    #0x2544
lri $WR1,    #0x32c1
cw 0x15
call send_back  ; 40776 (0x9f48)

lri $AR1,    #0x5d1d
lri $IX1,    #0x8bba
lri $WR1,    #0xcf82
cw 0x15
call send_back  ; 40777 (0x9f49)

lri $AR1,    #0x31e4
lri $IX1,    #0xaade
lri $WR1,    #0x89be
cw 0x15
call send_back  ; 40778 (0x9f4a)

lri $AR1,    #0xfac5
lri $IX1,    #0x7f8c
lri $WR1,    #0x8bc7
cw 0x15
call send_back  ; 40779 (0x9f4b)

lri $AR1,    #0xc7b3
lri $IX1,    #0x8c66
lri $WR1,    #0x8356
cw 0x15
call send_back  ; 40780 (0x9f4c)

lri $AR1,    #0x65c5
lri $IX1,    #0x67c8
lri $WR1,    #0x841f
cw 0x15
call send_back  ; 40781 (0x9f4d)

lri $AR1,    #0x6d42
lri $IX1,    #0x115a
lri $WR1,    #0x6cdc
cw 0x15
call send_back  ; 40782 (0x9f4e)

lri $AR1,    #0x9379
lri $IX1,    #0xd8ca
lri $WR1,    #0x4bfb
cw 0x15
call send_back  ; 40783 (0x9f4f)

lri $AR1,    #0x4fcc
lri $IX1,    #0xabda
lri $WR1,    #0x6672
cw 0x15
call send_back  ; 40784 (0x9f50)

lri $AR1,    #0x6ebc
lri $IX1,    #0x3a9c
lri $WR1,    #0xccc1
cw 0x15
call send_back  ; 40785 (0x9f51)

lri $AR1,    #0x6d3c
lri $IX1,    #0xa4d6
lri $WR1,    #0xb7be
cw 0x15
call send_back  ; 40786 (0x9f52)

lri $AR1,    #0x4a2b
lri $IX1,    #0x7466
lri $WR1,    #0x983a
cw 0x15
call send_back  ; 40787 (0x9f53)

lri $AR1,    #0xc333
lri $IX1,    #0xa4ca
lri $WR1,    #0x3a09
cw 0x15
call send_back  ; 40788 (0x9f54)

lri $AR1,    #0x8def
lri $IX1,    #0x806a
lri $WR1,    #0x747c
cw 0x15
call send_back  ; 40789 (0x9f55)

lri $AR1,    #0x6d93
lri $IX1,    #0x50fa
lri $WR1,    #0x7fe9
cw 0x15
call send_back  ; 40790 (0x9f56)

lri $AR1,    #0xe903
lri $IX1,    #0x6078
lri $WR1,    #0x8948
cw 0x15
call send_back  ; 40791 (0x9f57)

lri $AR1,    #0x3c86
lri $IX1,    #0xb524
lri $WR1,    #0x626b
cw 0x15
call send_back  ; 40792 (0x9f58)

lri $AR1,    #0x4e01
lri $IX1,    #0x6aec
lri $WR1,    #0x16fd
cw 0x15
call send_back  ; 40793 (0x9f59)

lri $AR1,    #0x4a03
lri $IX1,    #0xb1ba
lri $WR1,    #0x9bb7
cw 0x15
call send_back  ; 40794 (0x9f5a)

lri $AR1,    #0x8363
lri $IX1,    #0x681e
lri $WR1,    #0x9efa
cw 0x15
call send_back  ; 40795 (0x9f5b)

lri $AR1,    #0x96db
lri $IX1,    #0x26a0
lri $WR1,    #0x173f
cw 0x15
call send_back  ; 40796 (0x9f5c)

lri $AR1,    #0x8f50
lri $IX1,    #0x7862
lri $WR1,    #0xe589
cw 0x15
call send_back  ; 40797 (0x9f5d)

lri $AR1,    #0xb73c
lri $IX1,    #0x1254
lri $WR1,    #0x1f5d
cw 0x15
call send_back  ; 40798 (0x9f5e)

lri $AR1,    #0x46e3
lri $IX1,    #0x3a7e
lri $WR1,    #0x3545
cw 0x15
call send_back  ; 40799 (0x9f5f)

lri $AR1,    #0x96bf
lri $IX1,    #0x5dbc
lri $WR1,    #0x9085
cw 0x15
call send_back  ; 40800 (0x9f60)

lri $AR1,    #0x48f0
lri $IX1,    #0x2a9a
lri $WR1,    #0x4c00
cw 0x15
call send_back  ; 40801 (0x9f61)

lri $AR1,    #0x5bea
lri $IX1,    #0x8c4c
lri $WR1,    #0xb9e4
cw 0x15
call send_back  ; 40802 (0x9f62)

lri $AR1,    #0x2c51
lri $IX1,    #0xb1c2
lri $WR1,    #0xd930
cw 0x15
call send_back  ; 40803 (0x9f63)

lri $AR1,    #0x733a
lri $IX1,    #0x08c4
lri $WR1,    #0x9393
cw 0x15
call send_back  ; 40804 (0x9f64)

lri $AR1,    #0xa9ac
lri $IX1,    #0xdde0
lri $WR1,    #0x75d3
cw 0x15
call send_back  ; 40805 (0x9f65)

lri $AR1,    #0x49af
lri $IX1,    #0x466c
lri $WR1,    #0x7231
cw 0x15
call send_back  ; 40806 (0x9f66)

lri $AR1,    #0x88b8
lri $IX1,    #0x3a26
lri $WR1,    #0x7ddc
cw 0x15
call send_back  ; 40807 (0x9f67)

lri $AR1,    #0xbecb
lri $IX1,    #0x6ec4
lri $WR1,    #0x6019
cw 0x15
call send_back  ; 40808 (0x9f68)

lri $AR1,    #0x990a
lri $IX1,    #0xc012
lri $WR1,    #0x3313
cw 0x15
call send_back  ; 40809 (0x9f69)

lri $AR1,    #0xd623
lri $IX1,    #0xd3c6
lri $WR1,    #0xc3ff
cw 0x15
call send_back  ; 40810 (0x9f6a)

lri $AR1,    #0x7e57
lri $IX1,    #0x58e2
lri $WR1,    #0x9184
cw 0x15
call send_back  ; 40811 (0x9f6b)

lri $AR1,    #0xb066
lri $IX1,    #0xde96
lri $WR1,    #0x7d1e
cw 0x15
call send_back  ; 40812 (0x9f6c)

lri $AR1,    #0x1844
lri $IX1,    #0xe78e
lri $WR1,    #0x3d64
cw 0x15
call send_back  ; 40813 (0x9f6d)

lri $AR1,    #0x53dd
lri $IX1,    #0xb2ba
lri $WR1,    #0x9cdf
cw 0x15
call send_back  ; 40814 (0x9f6e)

lri $AR1,    #0xcda6
lri $IX1,    #0x533e
lri $WR1,    #0xf278
cw 0x15
call send_back  ; 40815 (0x9f6f)

lri $AR1,    #0x4c7a
lri $IX1,    #0x3dd8
lri $WR1,    #0xe602
cw 0x15
call send_back  ; 40816 (0x9f70)

lri $AR1,    #0x8350
lri $IX1,    #0x8a42
lri $WR1,    #0xdd02
cw 0x15
call send_back  ; 40817 (0x9f71)

lri $AR1,    #0xab62
lri $IX1,    #0xebea
lri $WR1,    #0xb940
cw 0x15
call send_back  ; 40818 (0x9f72)

lri $AR1,    #0x8657
lri $IX1,    #0xf58a
lri $WR1,    #0x4422
cw 0x15
call send_back  ; 40819 (0x9f73)

lri $AR1,    #0x6dee
lri $IX1,    #0xb7f4
lri $WR1,    #0x977b
cw 0x15
call send_back  ; 40820 (0x9f74)

lri $AR1,    #0xb1db
lri $IX1,    #0x549e
lri $WR1,    #0x6dc4
cw 0x15
call send_back  ; 40821 (0x9f75)

lri $AR1,    #0xd438
lri $IX1,    #0xd140
lri $WR1,    #0x6162
cw 0x15
call send_back  ; 40822 (0x9f76)

lri $AR1,    #0x9850
lri $IX1,    #0x7a18
lri $WR1,    #0xa403
cw 0x15
call send_back  ; 40823 (0x9f77)

lri $AR1,    #0xaf1f
lri $IX1,    #0x8d16
lri $WR1,    #0x7c9a
cw 0x15
call send_back  ; 40824 (0x9f78)

lri $AR1,    #0x7847
lri $IX1,    #0xe09a
lri $WR1,    #0x4416
cw 0x15
call send_back  ; 40825 (0x9f79)

lri $AR1,    #0x2dd7
lri $IX1,    #0xdcf2
lri $WR1,    #0x8662
cw 0x15
call send_back  ; 40826 (0x9f7a)

lri $AR1,    #0x44b2
lri $IX1,    #0x9048
lri $WR1,    #0xbeb4
cw 0x15
call send_back  ; 40827 (0x9f7b)

lri $AR1,    #0xb2e5
lri $IX1,    #0x013a
lri $WR1,    #0xbbc5
cw 0x15
call send_back  ; 40828 (0x9f7c)

lri $AR1,    #0x88b2
lri $IX1,    #0x4cba
lri $WR1,    #0x71fe
cw 0x15
call send_back  ; 40829 (0x9f7d)

lri $AR1,    #0xb8b2
lri $IX1,    #0xb07a
lri $WR1,    #0x3f34
cw 0x15
call send_back  ; 40830 (0x9f7e)

lri $AR1,    #0x6ed6
lri $IX1,    #0x837e
lri $WR1,    #0x44e7
cw 0x15
call send_back  ; 40831 (0x9f7f)

lri $AR1,    #0x4d8c
lri $IX1,    #0x6b1e
lri $WR1,    #0x63bb
cw 0x15
call send_back  ; 40832 (0x9f80)

lri $AR1,    #0x33ee
lri $IX1,    #0xf308
lri $WR1,    #0x6c19
cw 0x15
call send_back  ; 40833 (0x9f81)

lri $AR1,    #0x2f34
lri $IX1,    #0x339e
lri $WR1,    #0xa5a1
cw 0x15
call send_back  ; 40834 (0x9f82)

lri $AR1,    #0x4d4c
lri $IX1,    #0x822a
lri $WR1,    #0x4064
cw 0x15
call send_back  ; 40835 (0x9f83)

lri $AR1,    #0x8ddd
lri $IX1,    #0x6348
lri $WR1,    #0x7894
cw 0x15
call send_back  ; 40836 (0x9f84)

lri $AR1,    #0x8a8a
lri $IX1,    #0x4014
lri $WR1,    #0x8e9d
cw 0x15
call send_back  ; 40837 (0x9f85)

lri $AR1,    #0x7ebe
lri $IX1,    #0xd368
lri $WR1,    #0x134e
cw 0x15
call send_back  ; 40838 (0x9f86)

lri $AR1,    #0x7adb
lri $IX1,    #0x04c2
lri $WR1,    #0x490d
cw 0x15
call send_back  ; 40839 (0x9f87)

lri $AR1,    #0xa614
lri $IX1,    #0x130a
lri $WR1,    #0x60be
cw 0x15
call send_back  ; 40840 (0x9f88)

lri $AR1,    #0xddca
lri $IX1,    #0xa9f8
lri $WR1,    #0x8256
cw 0x15
call send_back  ; 40841 (0x9f89)

lri $AR1,    #0x20ab
lri $IX1,    #0xe12c
lri $WR1,    #0xbeb4
cw 0x15
call send_back  ; 40842 (0x9f8a)

lri $AR1,    #0xe784
lri $IX1,    #0x54c0
lri $WR1,    #0x99db
cw 0x15
call send_back  ; 40843 (0x9f8b)

lri $AR1,    #0xb4e8
lri $IX1,    #0xa37c
lri $WR1,    #0xb203
cw 0x15
call send_back  ; 40844 (0x9f8c)

lri $AR1,    #0xa0a7
lri $IX1,    #0xc758
lri $WR1,    #0x81a9
cw 0x15
call send_back  ; 40845 (0x9f8d)

lri $AR1,    #0x534e
lri $IX1,    #0x1186
lri $WR1,    #0x3829
cw 0x15
call send_back  ; 40846 (0x9f8e)

lri $AR1,    #0xa980
lri $IX1,    #0x33ae
lri $WR1,    #0x85df
cw 0x15
call send_back  ; 40847 (0x9f8f)

lri $AR1,    #0x6e88
lri $IX1,    #0xcc7c
lri $WR1,    #0xde7e
cw 0x15
call send_back  ; 40848 (0x9f90)

lri $AR1,    #0xa8d9
lri $IX1,    #0x865a
lri $WR1,    #0x7d95
cw 0x15
call send_back  ; 40849 (0x9f91)

lri $AR1,    #0x32f0
lri $IX1,    #0x1b5a
lri $WR1,    #0xc6d7
cw 0x15
call send_back  ; 40850 (0x9f92)

lri $AR1,    #0x2e3f
lri $IX1,    #0xa216
lri $WR1,    #0xcd44
cw 0x15
call send_back  ; 40851 (0x9f93)

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