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

lri $AR1,    #0x67cc
lri $IX1,    #0xba20
lri $WR1,    #0xcd5c
cw 0xd
call send_back  ; 45002 (0xafca)

lri $AR1,    #0xd591
lri $IX1,    #0x144c
lri $WR1,    #0xf7af
cw 0xd
call send_back  ; 45003 (0xafcb)

lri $AR1,    #0x97f1
lri $IX1,    #0x3866
lri $WR1,    #0x6e4b
cw 0xd
call send_back  ; 45004 (0xafcc)

lri $AR1,    #0x72f4
lri $IX1,    #0x3656
lri $WR1,    #0xc9fe
cw 0xd
call send_back  ; 45005 (0xafcd)

lri $AR1,    #0x44ea
lri $IX1,    #0x3ce0
lri $WR1,    #0x9640
cw 0xd
call send_back  ; 45006 (0xafce)

lri $AR1,    #0xdb4e
lri $IX1,    #0xcde8
lri $WR1,    #0x64db
cw 0xd
call send_back  ; 45007 (0xafcf)

lri $AR1,    #0xa2cf
lri $IX1,    #0x5352
lri $WR1,    #0xabc1
cw 0xd
call send_back  ; 45008 (0xafd0)

lri $AR1,    #0x0d59
lri $IX1,    #0x65dc
lri $WR1,    #0x190d
cw 0xd
call send_back  ; 45009 (0xafd1)

lri $AR1,    #0x486c
lri $IX1,    #0xd2aa
lri $WR1,    #0x56d2
cw 0xd
call send_back  ; 45010 (0xafd2)

lri $AR1,    #0x3192
lri $IX1,    #0x5bea
lri $WR1,    #0x69bd
cw 0xd
call send_back  ; 45011 (0xafd3)

lri $AR1,    #0xbe41
lri $IX1,    #0x344c
lri $WR1,    #0x4b1b
cw 0xd
call send_back  ; 45012 (0xafd4)

lri $AR1,    #0x2801
lri $IX1,    #0x2cb2
lri $WR1,    #0x785c
cw 0xd
call send_back  ; 45013 (0xafd5)

lri $AR1,    #0x7d13
lri $IX1,    #0x56d4
lri $WR1,    #0xcf93
cw 0xd
call send_back  ; 45014 (0xafd6)

lri $AR1,    #0x9984
lri $IX1,    #0x5f40
lri $WR1,    #0x9212
cw 0xd
call send_back  ; 45015 (0xafd7)

lri $AR1,    #0x63e7
lri $IX1,    #0xf464
lri $WR1,    #0xaba8
cw 0xd
call send_back  ; 45016 (0xafd8)

lri $AR1,    #0xd491
lri $IX1,    #0x181c
lri $WR1,    #0x469a
cw 0xd
call send_back  ; 45017 (0xafd9)

lri $AR1,    #0xad9a
lri $IX1,    #0x146a
lri $WR1,    #0xa1e1
cw 0xd
call send_back  ; 45018 (0xafda)

lri $AR1,    #0xbd85
lri $IX1,    #0xdbca
lri $WR1,    #0x70b5
cw 0xd
call send_back  ; 45019 (0xafdb)

lri $AR1,    #0xedd8
lri $IX1,    #0xc0e2
lri $WR1,    #0xa00e
cw 0xd
call send_back  ; 45020 (0xafdc)

lri $AR1,    #0x9a67
lri $IX1,    #0x88d8
lri $WR1,    #0x980c
cw 0xd
call send_back  ; 45021 (0xafdd)

lri $AR1,    #0x1db3
lri $IX1,    #0xc72c
lri $WR1,    #0x4ced
cw 0xd
call send_back  ; 45022 (0xafde)

lri $AR1,    #0x822f
lri $IX1,    #0x1162
lri $WR1,    #0x9499
cw 0xd
call send_back  ; 45023 (0xafdf)

lri $AR1,    #0x3fa1
lri $IX1,    #0xcc46
lri $WR1,    #0x1b4f
cw 0xd
call send_back  ; 45024 (0xafe0)

lri $AR1,    #0x3794
lri $IX1,    #0xfc1e
lri $WR1,    #0x5b8e
cw 0xd
call send_back  ; 45025 (0xafe1)

lri $AR1,    #0xa308
lri $IX1,    #0x7c9c
lri $WR1,    #0x8ac3
cw 0xd
call send_back  ; 45026 (0xafe2)

lri $AR1,    #0x374f
lri $IX1,    #0x34dc
lri $WR1,    #0x5dc3
cw 0xd
call send_back  ; 45027 (0xafe3)

lri $AR1,    #0x4f48
lri $IX1,    #0x1f4a
lri $WR1,    #0xbdbf
cw 0xd
call send_back  ; 45028 (0xafe4)

lri $AR1,    #0xc1e6
lri $IX1,    #0x349a
lri $WR1,    #0x5f97
cw 0xd
call send_back  ; 45029 (0xafe5)

lri $AR1,    #0x9e3c
lri $IX1,    #0x54ea
lri $WR1,    #0x8d47
cw 0xd
call send_back  ; 45030 (0xafe6)

lri $AR1,    #0xa8f0
lri $IX1,    #0x0902
lri $WR1,    #0xb259
cw 0xd
call send_back  ; 45031 (0xafe7)

lri $AR1,    #0x8e4c
lri $IX1,    #0x49da
lri $WR1,    #0xc210
cw 0xd
call send_back  ; 45032 (0xafe8)

lri $AR1,    #0xa7e1
lri $IX1,    #0x4376
lri $WR1,    #0x3734
cw 0xd
call send_back  ; 45033 (0xafe9)

lri $AR1,    #0x53e9
lri $IX1,    #0x2404
lri $WR1,    #0x9b33
cw 0xd
call send_back  ; 45034 (0xafea)

lri $AR1,    #0x9051
lri $IX1,    #0x5796
lri $WR1,    #0x9392
cw 0xd
call send_back  ; 45035 (0xafeb)

lri $AR1,    #0x32a2
lri $IX1,    #0xf422
lri $WR1,    #0x4a48
cw 0xd
call send_back  ; 45036 (0xafec)

lri $AR1,    #0x91c2
lri $IX1,    #0x714c
lri $WR1,    #0x7f09
cw 0xd
call send_back  ; 45037 (0xafed)

lri $AR1,    #0x25a2
lri $IX1,    #0xf28e
lri $WR1,    #0x8d1b
cw 0xd
call send_back  ; 45038 (0xafee)

lri $AR1,    #0x64ea
lri $IX1,    #0x4a50
lri $WR1,    #0x92bf
cw 0xd
call send_back  ; 45039 (0xafef)

lri $AR1,    #0xdfbb
lri $IX1,    #0x4f82
lri $WR1,    #0x8cc7
cw 0xd
call send_back  ; 45040 (0xaff0)

lri $AR1,    #0x227c
lri $IX1,    #0x0734
lri $WR1,    #0x8254
cw 0xd
call send_back  ; 45041 (0xaff1)

lri $AR1,    #0xaaef
lri $IX1,    #0x5ee4
lri $WR1,    #0xaa6a
cw 0xd
call send_back  ; 45042 (0xaff2)

lri $AR1,    #0x8d6c
lri $IX1,    #0xa3e6
lri $WR1,    #0x264a
cw 0xd
call send_back  ; 45043 (0xaff3)

lri $AR1,    #0xaf7a
lri $IX1,    #0x6790
lri $WR1,    #0xe143
cw 0xd
call send_back  ; 45044 (0xaff4)

lri $AR1,    #0x98bc
lri $IX1,    #0xf7bc
lri $WR1,    #0xbfeb
cw 0xd
call send_back  ; 45045 (0xaff5)

lri $AR1,    #0x2a55
lri $IX1,    #0xde1c
lri $WR1,    #0x6663
cw 0xd
call send_back  ; 45046 (0xaff6)

lri $AR1,    #0x70be
lri $IX1,    #0xd8fe
lri $WR1,    #0x5eb4
cw 0xd
call send_back  ; 45047 (0xaff7)

lri $AR1,    #0x9b3f
lri $IX1,    #0x5320
lri $WR1,    #0xadcd
cw 0xd
call send_back  ; 45048 (0xaff8)

lri $AR1,    #0x4fe6
lri $IX1,    #0x67ea
lri $WR1,    #0x4f3a
cw 0xd
call send_back  ; 45049 (0xaff9)

lri $AR1,    #0x724c
lri $IX1,    #0xdd00
lri $WR1,    #0x7d22
cw 0xd
call send_back  ; 45050 (0xaffa)

lri $AR1,    #0x6702
lri $IX1,    #0x093e
lri $WR1,    #0x7b96
cw 0xd
call send_back  ; 45051 (0xaffb)

lri $AR1,    #0x44e1
lri $IX1,    #0x4536
lri $WR1,    #0x33ca
cw 0xd
call send_back  ; 45052 (0xaffc)

lri $AR1,    #0x2116
lri $IX1,    #0x183e
lri $WR1,    #0x2547
cw 0xd
call send_back  ; 45053 (0xaffd)

lri $AR1,    #0x9247
lri $IX1,    #0xc114
lri $WR1,    #0x709a
cw 0xd
call send_back  ; 45054 (0xaffe)

lri $AR1,    #0x8a90
lri $IX1,    #0xd840
lri $WR1,    #0x60a1
cw 0xd
call send_back  ; 45055 (0xafff)

lri $AR1,    #0x9fad
lri $IX1,    #0x7e14
lri $WR1,    #0x3cfb
cw 0xd
call send_back  ; 45056 (0xb000)

lri $AR1,    #0xa420
lri $IX1,    #0xadac
lri $WR1,    #0xb9ae
cw 0xd
call send_back  ; 45057 (0xb001)

lri $AR1,    #0x73b1
lri $IX1,    #0xc996
lri $WR1,    #0xe595
cw 0xd
call send_back  ; 45058 (0xb002)

lri $AR1,    #0xe8f7
lri $IX1,    #0x2694
lri $WR1,    #0x6a9f
cw 0xd
call send_back  ; 45059 (0xb003)

lri $AR1,    #0x7968
lri $IX1,    #0x1c34
lri $WR1,    #0xa876
cw 0xd
call send_back  ; 45060 (0xb004)

lri $AR1,    #0xd092
lri $IX1,    #0xdaa4
lri $WR1,    #0x8ba7
cw 0xd
call send_back  ; 45061 (0xb005)

lri $AR1,    #0xd2ea
lri $IX1,    #0xd07a
lri $WR1,    #0x60b9
cw 0xd
call send_back  ; 45062 (0xb006)

lri $AR1,    #0x9400
lri $IX1,    #0xaac4
lri $WR1,    #0x2471
cw 0xd
call send_back  ; 45063 (0xb007)

lri $AR1,    #0xe353
lri $IX1,    #0xcd42
lri $WR1,    #0x57ad
cw 0xd
call send_back  ; 45064 (0xb008)

lri $AR1,    #0x7eaf
lri $IX1,    #0x680c
lri $WR1,    #0x86fd
cw 0xd
call send_back  ; 45065 (0xb009)

lri $AR1,    #0x9850
lri $IX1,    #0xeb6c
lri $WR1,    #0x637e
cw 0xd
call send_back  ; 45066 (0xb00a)

lri $AR1,    #0x92ac
lri $IX1,    #0x6a56
lri $WR1,    #0x5c0f
cw 0xd
call send_back  ; 45067 (0xb00b)

lri $AR1,    #0x7b23
lri $IX1,    #0x5f2c
lri $WR1,    #0x7b63
cw 0xd
call send_back  ; 45068 (0xb00c)

lri $AR1,    #0x4873
lri $IX1,    #0x1e42
lri $WR1,    #0x4914
cw 0xd
call send_back  ; 45069 (0xb00d)

lri $AR1,    #0x9131
lri $IX1,    #0xecd0
lri $WR1,    #0xe93b
cw 0xd
call send_back  ; 45070 (0xb00e)

lri $AR1,    #0x3232
lri $IX1,    #0x12c0
lri $WR1,    #0x978d
cw 0xd
call send_back  ; 45071 (0xb00f)

lri $AR1,    #0x9407
lri $IX1,    #0x310e
lri $WR1,    #0xc0ba
cw 0xd
call send_back  ; 45072 (0xb010)

lri $AR1,    #0x4a92
lri $IX1,    #0x8e1a
lri $WR1,    #0xc5ed
cw 0xd
call send_back  ; 45073 (0xb011)

lri $AR1,    #0x88db
lri $IX1,    #0xc4c2
lri $WR1,    #0x4416
cw 0xd
call send_back  ; 45074 (0xb012)

lri $AR1,    #0xb701
lri $IX1,    #0x3276
lri $WR1,    #0x6a11
cw 0xd
call send_back  ; 45075 (0xb013)

lri $AR1,    #0x3fa3
lri $IX1,    #0x8440
lri $WR1,    #0x5e2a
cw 0xd
call send_back  ; 45076 (0xb014)

lri $AR1,    #0x4579
lri $IX1,    #0xb9e6
lri $WR1,    #0x4d1b
cw 0xd
call send_back  ; 45077 (0xb015)

lri $AR1,    #0x418e
lri $IX1,    #0xc216
lri $WR1,    #0x5a18
cw 0xd
call send_back  ; 45078 (0xb016)

lri $AR1,    #0x6dc5
lri $IX1,    #0x51e4
lri $WR1,    #0x28df
cw 0xd
call send_back  ; 45079 (0xb017)

lri $AR1,    #0xb717
lri $IX1,    #0xad56
lri $WR1,    #0x807f
cw 0xd
call send_back  ; 45080 (0xb018)

lri $AR1,    #0x9e4d
lri $IX1,    #0x9e6a
lri $WR1,    #0x6ecb
cw 0xd
call send_back  ; 45081 (0xb019)

lri $AR1,    #0xcd85
lri $IX1,    #0xb35a
lri $WR1,    #0x4219
cw 0xd
call send_back  ; 45082 (0xb01a)

lri $AR1,    #0x9c5b
lri $IX1,    #0xec6a
lri $WR1,    #0x8050
cw 0xd
call send_back  ; 45083 (0xb01b)

lri $AR1,    #0xa3f9
lri $IX1,    #0x2514
lri $WR1,    #0x17e3
cw 0xd
call send_back  ; 45084 (0xb01c)

lri $AR1,    #0x3fe9
lri $IX1,    #0x9be4
lri $WR1,    #0x40c3
cw 0xd
call send_back  ; 45085 (0xb01d)

lri $AR1,    #0xc7f2
lri $IX1,    #0xe7d0
lri $WR1,    #0x40cc
cw 0xd
call send_back  ; 45086 (0xb01e)

lri $AR1,    #0x52dd
lri $IX1,    #0x4962
lri $WR1,    #0x68d2
cw 0xd
call send_back  ; 45087 (0xb01f)

lri $AR1,    #0x4958
lri $IX1,    #0x797e
lri $WR1,    #0x84d5
cw 0xd
call send_back  ; 45088 (0xb020)

lri $AR1,    #0xdbe1
lri $IX1,    #0xbf0c
lri $WR1,    #0x8360
cw 0xd
call send_back  ; 45089 (0xb021)

lri $AR1,    #0x6dff
lri $IX1,    #0x1076
lri $WR1,    #0xa5be
cw 0xd
call send_back  ; 45090 (0xb022)

lri $AR1,    #0x9c9b
lri $IX1,    #0x3520
lri $WR1,    #0x7bf2
cw 0xd
call send_back  ; 45091 (0xb023)

lri $AR1,    #0x8cb8
lri $IX1,    #0x1ec8
lri $WR1,    #0xa52b
cw 0xd
call send_back  ; 45092 (0xb024)

lri $AR1,    #0x8b81
lri $IX1,    #0xea0e
lri $WR1,    #0x2698
cw 0xd
call send_back  ; 45093 (0xb025)

lri $AR1,    #0x97d0
lri $IX1,    #0x0100
lri $WR1,    #0x8851
cw 0xd
call send_back  ; 45094 (0xb026)

lri $AR1,    #0x911d
lri $IX1,    #0x99ee
lri $WR1,    #0x2951
cw 0xd
call send_back  ; 45095 (0xb027)

lri $AR1,    #0xdf1a
lri $IX1,    #0x2066
lri $WR1,    #0x4115
cw 0xd
call send_back  ; 45096 (0xb028)

lri $AR1,    #0xd0d0
lri $IX1,    #0xdd92
lri $WR1,    #0x2ef6
cw 0xd
call send_back  ; 45097 (0xb029)

lri $AR1,    #0x917d
lri $IX1,    #0x50d8
lri $WR1,    #0x64c0
cw 0xd
call send_back  ; 45098 (0xb02a)

lri $AR1,    #0x4522
lri $IX1,    #0xf90c
lri $WR1,    #0x4ba5
cw 0xd
call send_back  ; 45099 (0xb02b)

lri $AR1,    #0x85f3
lri $IX1,    #0xb200
lri $WR1,    #0x581b
cw 0xd
call send_back  ; 45100 (0xb02c)

lri $AR1,    #0x7787
lri $IX1,    #0x21b6
lri $WR1,    #0x7aa2
cw 0xd
call send_back  ; 45101 (0xb02d)

lri $AR1,    #0xd418
lri $IX1,    #0xdc26
lri $WR1,    #0x991f
cw 0xd
call send_back  ; 45102 (0xb02e)

lri $AR1,    #0x9ba5
lri $IX1,    #0xc3b8
lri $WR1,    #0x9dc3
cw 0xd
call send_back  ; 45103 (0xb02f)

lri $AR1,    #0x4431
lri $IX1,    #0xa074
lri $WR1,    #0x4e1b
cw 0xd
call send_back  ; 45104 (0xb030)

lri $AR1,    #0xd61c
lri $IX1,    #0xcf10
lri $WR1,    #0x6658
cw 0xd
call send_back  ; 45105 (0xb031)

lri $AR1,    #0x1eae
lri $IX1,    #0x24c2
lri $WR1,    #0x4259
cw 0xd
call send_back  ; 45106 (0xb032)

lri $AR1,    #0x76d3
lri $IX1,    #0x9420
lri $WR1,    #0x8f92
cw 0xd
call send_back  ; 45107 (0xb033)

lri $AR1,    #0x633a
lri $IX1,    #0xa2dc
lri $WR1,    #0x784c
cw 0xd
call send_back  ; 45108 (0xb034)

lri $AR1,    #0x6eba
lri $IX1,    #0x37ae
lri $WR1,    #0xd26c
cw 0xd
call send_back  ; 45109 (0xb035)

lri $AR1,    #0x6f3f
lri $IX1,    #0x9344
lri $WR1,    #0x7932
cw 0xd
call send_back  ; 45110 (0xb036)

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