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

lri $AR1,    #0x61e9
lri $IX1,    #0x3490
lri $WR1,    #0x9b44
cw 0xd
call send_back  ; 41944 (0xa3d8)

lri $AR1,    #0x77cf
lri $IX1,    #0x325e
lri $WR1,    #0x82f0
cw 0xd
call send_back  ; 41945 (0xa3d9)

lri $AR1,    #0x9b46
lri $IX1,    #0x1f98
lri $WR1,    #0xae74
cw 0xd
call send_back  ; 41946 (0xa3da)

lri $AR1,    #0x46b5
lri $IX1,    #0x3998
lri $WR1,    #0xb06a
cw 0xd
call send_back  ; 41947 (0xa3db)

lri $AR1,    #0x547f
lri $IX1,    #0x0ae4
lri $WR1,    #0x8e29
cw 0xd
call send_back  ; 41948 (0xa3dc)

lri $AR1,    #0x8e59
lri $IX1,    #0x7582
lri $WR1,    #0x9930
cw 0xd
call send_back  ; 41949 (0xa3dd)

lri $AR1,    #0xb1a5
lri $IX1,    #0x46d2
lri $WR1,    #0x581e
cw 0xd
call send_back  ; 41950 (0xa3de)

lri $AR1,    #0x58b4
lri $IX1,    #0xe338
lri $WR1,    #0x743b
cw 0xd
call send_back  ; 41951 (0xa3df)

lri $AR1,    #0xb02e
lri $IX1,    #0xcb5e
lri $WR1,    #0x8627
cw 0xd
call send_back  ; 41952 (0xa3e0)

lri $AR1,    #0xab7d
lri $IX1,    #0x646e
lri $WR1,    #0xa5c0
cw 0xd
call send_back  ; 41953 (0xa3e1)

lri $AR1,    #0x6a81
lri $IX1,    #0x67f6
lri $WR1,    #0xaed2
cw 0xd
call send_back  ; 41954 (0xa3e2)

lri $AR1,    #0x966a
lri $IX1,    #0x8ff8
lri $WR1,    #0x9d95
cw 0xd
call send_back  ; 41955 (0xa3e3)

lri $AR1,    #0x82fb
lri $IX1,    #0x56b6
lri $WR1,    #0x9b96
cw 0xd
call send_back  ; 41956 (0xa3e4)

lri $AR1,    #0xbd04
lri $IX1,    #0xd9d0
lri $WR1,    #0x2f17
cw 0xd
call send_back  ; 41957 (0xa3e5)

lri $AR1,    #0x3e7b
lri $IX1,    #0xfb3a
lri $WR1,    #0xdc74
cw 0xd
call send_back  ; 41958 (0xa3e6)

lri $AR1,    #0xa3e1
lri $IX1,    #0x9aa2
lri $WR1,    #0x4a99
cw 0xd
call send_back  ; 41959 (0xa3e7)

lri $AR1,    #0xd665
lri $IX1,    #0x14de
lri $WR1,    #0x8125
cw 0xd
call send_back  ; 41960 (0xa3e8)

lri $AR1,    #0x8976
lri $IX1,    #0xfed0
lri $WR1,    #0x8042
cw 0xd
call send_back  ; 41961 (0xa3e9)

lri $AR1,    #0x8a2e
lri $IX1,    #0x2c8a
lri $WR1,    #0x9fbe
cw 0xd
call send_back  ; 41962 (0xa3ea)

lri $AR1,    #0x9259
lri $IX1,    #0x64fc
lri $WR1,    #0xb47f
cw 0xd
call send_back  ; 41963 (0xa3eb)

lri $AR1,    #0x7862
lri $IX1,    #0x85fc
lri $WR1,    #0x50db
cw 0xd
call send_back  ; 41964 (0xa3ec)

lri $AR1,    #0x910c
lri $IX1,    #0x340c
lri $WR1,    #0x6de5
cw 0xd
call send_back  ; 41965 (0xa3ed)

lri $AR1,    #0x472c
lri $IX1,    #0x5c8a
lri $WR1,    #0x4944
cw 0xd
call send_back  ; 41966 (0xa3ee)

lri $AR1,    #0xb148
lri $IX1,    #0xb0bc
lri $WR1,    #0x249a
cw 0xd
call send_back  ; 41967 (0xa3ef)

lri $AR1,    #0xa460
lri $IX1,    #0xb372
lri $WR1,    #0xb918
cw 0xd
call send_back  ; 41968 (0xa3f0)

lri $AR1,    #0x4ebc
lri $IX1,    #0xda9a
lri $WR1,    #0x7b3f
cw 0xd
call send_back  ; 41969 (0xa3f1)

lri $AR1,    #0xa500
lri $IX1,    #0x8198
lri $WR1,    #0x1871
cw 0xd
call send_back  ; 41970 (0xa3f2)

lri $AR1,    #0xbf60
lri $IX1,    #0xd898
lri $WR1,    #0x4953
cw 0xd
call send_back  ; 41971 (0xa3f3)

lri $AR1,    #0x8c46
lri $IX1,    #0x80d6
lri $WR1,    #0x8992
cw 0xd
call send_back  ; 41972 (0xa3f4)

lri $AR1,    #0xd932
lri $IX1,    #0xfd0a
lri $WR1,    #0x5f23
cw 0xd
call send_back  ; 41973 (0xa3f5)

lri $AR1,    #0x822b
lri $IX1,    #0x68c4
lri $WR1,    #0x7888
cw 0xd
call send_back  ; 41974 (0xa3f6)

lri $AR1,    #0x7b88
lri $IX1,    #0xe936
lri $WR1,    #0x6b2b
cw 0xd
call send_back  ; 41975 (0xa3f7)

lri $AR1,    #0x4170
lri $IX1,    #0xdcfa
lri $WR1,    #0xa059
cw 0xd
call send_back  ; 41976 (0xa3f8)

lri $AR1,    #0xe3d2
lri $IX1,    #0xd85e
lri $WR1,    #0xe900
cw 0xd
call send_back  ; 41977 (0xa3f9)

lri $AR1,    #0xc528
lri $IX1,    #0xd6de
lri $WR1,    #0x9da5
cw 0xd
call send_back  ; 41978 (0xa3fa)

lri $AR1,    #0x95e2
lri $IX1,    #0x9a3c
lri $WR1,    #0x81ba
cw 0xd
call send_back  ; 41979 (0xa3fb)

lri $AR1,    #0x7db8
lri $IX1,    #0xd2e8
lri $WR1,    #0x36d5
cw 0xd
call send_back  ; 41980 (0xa3fc)

lri $AR1,    #0x9fb8
lri $IX1,    #0x4518
lri $WR1,    #0x45db
cw 0xd
call send_back  ; 41981 (0xa3fd)

lri $AR1,    #0x1569
lri $IX1,    #0x896a
lri $WR1,    #0x81bb
cw 0xd
call send_back  ; 41982 (0xa3fe)

lri $AR1,    #0x80c6
lri $IX1,    #0x2744
lri $WR1,    #0xa8b3
cw 0xd
call send_back  ; 41983 (0xa3ff)

lri $AR1,    #0xcc6a
lri $IX1,    #0x7adc
lri $WR1,    #0x8ec3
cw 0xd
call send_back  ; 41984 (0xa400)

lri $AR1,    #0x7cb9
lri $IX1,    #0x002c
lri $WR1,    #0xa550
cw 0xd
call send_back  ; 41985 (0xa401)

lri $AR1,    #0x7458
lri $IX1,    #0x17a2
lri $WR1,    #0xc196
cw 0xd
call send_back  ; 41986 (0xa402)

lri $AR1,    #0xa1c3
lri $IX1,    #0x08de
lri $WR1,    #0x74df
cw 0xd
call send_back  ; 41987 (0xa403)

lri $AR1,    #0x934b
lri $IX1,    #0xcb50
lri $WR1,    #0x7f3d
cw 0xd
call send_back  ; 41988 (0xa404)

lri $AR1,    #0xca61
lri $IX1,    #0xd40a
lri $WR1,    #0x3e97
cw 0xd
call send_back  ; 41989 (0xa405)

lri $AR1,    #0xb659
lri $IX1,    #0xb37c
lri $WR1,    #0x59d6
cw 0xd
call send_back  ; 41990 (0xa406)

lri $AR1,    #0x62a2
lri $IX1,    #0x8d94
lri $WR1,    #0xa91f
cw 0xd
call send_back  ; 41991 (0xa407)

lri $AR1,    #0x7b9c
lri $IX1,    #0x49f6
lri $WR1,    #0xe1b0
cw 0xd
call send_back  ; 41992 (0xa408)

lri $AR1,    #0xb8f3
lri $IX1,    #0xa198
lri $WR1,    #0xb57b
cw 0xd
call send_back  ; 41993 (0xa409)

lri $AR1,    #0xdbc4
lri $IX1,    #0xcaa4
lri $WR1,    #0x43fa
cw 0xd
call send_back  ; 41994 (0xa40a)

lri $AR1,    #0x2264
lri $IX1,    #0x52ec
lri $WR1,    #0xcb6c
cw 0xd
call send_back  ; 41995 (0xa40b)

lri $AR1,    #0xbb12
lri $IX1,    #0x9cb6
lri $WR1,    #0x5ee5
cw 0xd
call send_back  ; 41996 (0xa40c)

lri $AR1,    #0xba6d
lri $IX1,    #0x4932
lri $WR1,    #0x5f61
cw 0xd
call send_back  ; 41997 (0xa40d)

lri $AR1,    #0xc9ec
lri $IX1,    #0x877c
lri $WR1,    #0x7354
cw 0xd
call send_back  ; 41998 (0xa40e)

lri $AR1,    #0x863f
lri $IX1,    #0x9e5c
lri $WR1,    #0x99d7
cw 0xd
call send_back  ; 41999 (0xa40f)

lri $AR1,    #0xbcdc
lri $IX1,    #0xfaac
lri $WR1,    #0x9bfb
cw 0xd
call send_back  ; 42000 (0xa410)

lri $AR1,    #0x4383
lri $IX1,    #0x73b2
lri $WR1,    #0x6848
cw 0xd
call send_back  ; 42001 (0xa411)

lri $AR1,    #0x641c
lri $IX1,    #0x3224
lri $WR1,    #0xb20f
cw 0xd
call send_back  ; 42002 (0xa412)

lri $AR1,    #0xaaa5
lri $IX1,    #0x965a
lri $WR1,    #0x5f8b
cw 0xd
call send_back  ; 42003 (0xa413)

lri $AR1,    #0x2a9e
lri $IX1,    #0x7d36
lri $WR1,    #0xc767
cw 0xd
call send_back  ; 42004 (0xa414)

lri $AR1,    #0x6ca0
lri $IX1,    #0x3b62
lri $WR1,    #0x57c3
cw 0xd
call send_back  ; 42005 (0xa415)

lri $AR1,    #0x8495
lri $IX1,    #0x7170
lri $WR1,    #0x5e2d
cw 0xd
call send_back  ; 42006 (0xa416)

lri $AR1,    #0x343f
lri $IX1,    #0x5b4c
lri $WR1,    #0xa9c6
cw 0xd
call send_back  ; 42007 (0xa417)

lri $AR1,    #0x5578
lri $IX1,    #0x50e2
lri $WR1,    #0x85fc
cw 0xd
call send_back  ; 42008 (0xa418)

lri $AR1,    #0x72e9
lri $IX1,    #0xb50c
lri $WR1,    #0x7601
cw 0xd
call send_back  ; 42009 (0xa419)

lri $AR1,    #0xd592
lri $IX1,    #0x6be8
lri $WR1,    #0x068c
cw 0xd
call send_back  ; 42010 (0xa41a)

lri $AR1,    #0x40eb
lri $IX1,    #0x0098
lri $WR1,    #0x5ce4
cw 0xd
call send_back  ; 42011 (0xa41b)

lri $AR1,    #0x7f01
lri $IX1,    #0xc676
lri $WR1,    #0x3fde
cw 0xd
call send_back  ; 42012 (0xa41c)

lri $AR1,    #0x993b
lri $IX1,    #0x58ee
lri $WR1,    #0x10c7
cw 0xd
call send_back  ; 42013 (0xa41d)

lri $AR1,    #0x8a45
lri $IX1,    #0xc8d4
lri $WR1,    #0x67de
cw 0xd
call send_back  ; 42014 (0xa41e)

lri $AR1,    #0xb8c3
lri $IX1,    #0x6598
lri $WR1,    #0xa956
cw 0xd
call send_back  ; 42015 (0xa41f)

lri $AR1,    #0x8245
lri $IX1,    #0x43f4
lri $WR1,    #0x4d8d
cw 0xd
call send_back  ; 42016 (0xa420)

lri $AR1,    #0x6929
lri $IX1,    #0x4bba
lri $WR1,    #0xa072
cw 0xd
call send_back  ; 42017 (0xa421)

lri $AR1,    #0x77d8
lri $IX1,    #0x9130
lri $WR1,    #0x49ad
cw 0xd
call send_back  ; 42018 (0xa422)

lri $AR1,    #0x7f17
lri $IX1,    #0xee9c
lri $WR1,    #0xe0a4
cw 0xd
call send_back  ; 42019 (0xa423)

lri $AR1,    #0xdccc
lri $IX1,    #0x1596
lri $WR1,    #0x84e2
cw 0xd
call send_back  ; 42020 (0xa424)

lri $AR1,    #0x5401
lri $IX1,    #0x87a4
lri $WR1,    #0x4cf8
cw 0xd
call send_back  ; 42021 (0xa425)

lri $AR1,    #0x8e6e
lri $IX1,    #0xf0b0
lri $WR1,    #0xbb5e
cw 0xd
call send_back  ; 42022 (0xa426)

lri $AR1,    #0x836e
lri $IX1,    #0x1dee
lri $WR1,    #0xaa6f
cw 0xd
call send_back  ; 42023 (0xa427)

lri $AR1,    #0x9793
lri $IX1,    #0x1eca
lri $WR1,    #0xa60a
cw 0xd
call send_back  ; 42024 (0xa428)

lri $AR1,    #0x33c4
lri $IX1,    #0xe54e
lri $WR1,    #0x52e4
cw 0xd
call send_back  ; 42025 (0xa429)

lri $AR1,    #0xb221
lri $IX1,    #0xd6be
lri $WR1,    #0x312b
cw 0xd
call send_back  ; 42026 (0xa42a)

lri $AR1,    #0xb28a
lri $IX1,    #0x0cd4
lri $WR1,    #0x1973
cw 0xd
call send_back  ; 42027 (0xa42b)

lri $AR1,    #0x9012
lri $IX1,    #0x6b3a
lri $WR1,    #0xa88e
cw 0xd
call send_back  ; 42028 (0xa42c)

lri $AR1,    #0xac32
lri $IX1,    #0x04d8
lri $WR1,    #0x485e
cw 0xd
call send_back  ; 42029 (0xa42d)

lri $AR1,    #0x7403
lri $IX1,    #0x7782
lri $WR1,    #0x8129
cw 0xd
call send_back  ; 42030 (0xa42e)

lri $AR1,    #0xc762
lri $IX1,    #0xc484
lri $WR1,    #0x207e
cw 0xd
call send_back  ; 42031 (0xa42f)

lri $AR1,    #0xa136
lri $IX1,    #0x9fc4
lri $WR1,    #0xe84c
cw 0xd
call send_back  ; 42032 (0xa430)

lri $AR1,    #0xebbc
lri $IX1,    #0x16d8
lri $WR1,    #0x4222
cw 0xd
call send_back  ; 42033 (0xa431)

lri $AR1,    #0x2b1f
lri $IX1,    #0xacd6
lri $WR1,    #0x4042
cw 0xd
call send_back  ; 42034 (0xa432)

lri $AR1,    #0x7c27
lri $IX1,    #0x7732
lri $WR1,    #0x677c
cw 0xd
call send_back  ; 42035 (0xa433)

lri $AR1,    #0xac66
lri $IX1,    #0x4b82
lri $WR1,    #0xb27b
cw 0xd
call send_back  ; 42036 (0xa434)

lri $AR1,    #0x4c92
lri $IX1,    #0x855c
lri $WR1,    #0xd884
cw 0xd
call send_back  ; 42037 (0xa435)

lri $AR1,    #0x6d76
lri $IX1,    #0x374e
lri $WR1,    #0x7f38
cw 0xd
call send_back  ; 42038 (0xa436)

lri $AR1,    #0x9b40
lri $IX1,    #0x990a
lri $WR1,    #0x806b
cw 0xd
call send_back  ; 42039 (0xa437)

lri $AR1,    #0x827e
lri $IX1,    #0x18c2
lri $WR1,    #0xb2ac
cw 0xd
call send_back  ; 42040 (0xa438)

lri $AR1,    #0x5594
lri $IX1,    #0x7cea
lri $WR1,    #0x8c74
cw 0xd
call send_back  ; 42041 (0xa439)

lri $AR1,    #0x6903
lri $IX1,    #0xdf36
lri $WR1,    #0xe7a9
cw 0xd
call send_back  ; 42042 (0xa43a)

lri $AR1,    #0x7050
lri $IX1,    #0xd92c
lri $WR1,    #0x7c68
cw 0xd
call send_back  ; 42043 (0xa43b)

lri $AR1,    #0xacd8
lri $IX1,    #0xde10
lri $WR1,    #0xbfc5
cw 0xd
call send_back  ; 42044 (0xa43c)

lri $AR1,    #0x1b62
lri $IX1,    #0x5582
lri $WR1,    #0x8c75
cw 0xd
call send_back  ; 42045 (0xa43d)

lri $AR1,    #0x1cb8
lri $IX1,    #0x7594
lri $WR1,    #0x3905
cw 0xd
call send_back  ; 42046 (0xa43e)

lri $AR1,    #0x992c
lri $IX1,    #0xfab2
lri $WR1,    #0xe0a1
cw 0xd
call send_back  ; 42047 (0xa43f)

lri $AR1,    #0x163f
lri $IX1,    #0x8f2a
lri $WR1,    #0x8905
cw 0xd
call send_back  ; 42048 (0xa440)

lri $AR1,    #0x814d
lri $IX1,    #0xdb98
lri $WR1,    #0xd9a6
cw 0xd
call send_back  ; 42049 (0xa441)

lri $AR1,    #0x717e
lri $IX1,    #0xb524
lri $WR1,    #0xa59b
cw 0xd
call send_back  ; 42050 (0xa442)

lri $AR1,    #0xb6e6
lri $IX1,    #0x8db0
lri $WR1,    #0x7b61
cw 0xd
call send_back  ; 42051 (0xa443)

lri $AR1,    #0x13fc
lri $IX1,    #0x0e08
lri $WR1,    #0xa304
cw 0xd
call send_back  ; 42052 (0xa444)

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