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

lri $AR1,    #0x5de4
lri $IX1,    #0x34a8
lri $WR1,    #0x921e
cw 0x15
call send_back  ; 39978 (0x9c2a)

lri $AR1,    #0xa17a
lri $IX1,    #0x8ffe
lri $WR1,    #0x20a6
cw 0x15
call send_back  ; 39979 (0x9c2b)

lri $AR1,    #0x2227
lri $IX1,    #0x334a
lri $WR1,    #0x56da
cw 0x15
call send_back  ; 39980 (0x9c2c)

lri $AR1,    #0x6aa4
lri $IX1,    #0x1868
lri $WR1,    #0xc4dc
cw 0x15
call send_back  ; 39981 (0x9c2d)

lri $AR1,    #0xdf4a
lri $IX1,    #0xf040
lri $WR1,    #0xdf30
cw 0x15
call send_back  ; 39982 (0x9c2e)

lri $AR1,    #0x7536
lri $IX1,    #0xfa4a
lri $WR1,    #0xb5a6
cw 0x15
call send_back  ; 39983 (0x9c2f)

lri $AR1,    #0x2a8f
lri $IX1,    #0xe55c
lri $WR1,    #0x326c
cw 0x15
call send_back  ; 39984 (0x9c30)

lri $AR1,    #0xaad2
lri $IX1,    #0xd8a4
lri $WR1,    #0x5d53
cw 0x15
call send_back  ; 39985 (0x9c31)

lri $AR1,    #0x4969
lri $IX1,    #0x87c8
lri $WR1,    #0x6cdc
cw 0x15
call send_back  ; 39986 (0x9c32)

lri $AR1,    #0x505e
lri $IX1,    #0xc616
lri $WR1,    #0xa017
cw 0x15
call send_back  ; 39987 (0x9c33)

lri $AR1,    #0x6882
lri $IX1,    #0x88ba
lri $WR1,    #0x51f0
cw 0x15
call send_back  ; 39988 (0x9c34)

lri $AR1,    #0x7bcb
lri $IX1,    #0xd0dc
lri $WR1,    #0xcfeb
cw 0x15
call send_back  ; 39989 (0x9c35)

lri $AR1,    #0xc244
lri $IX1,    #0xaaac
lri $WR1,    #0x9be6
cw 0x15
call send_back  ; 39990 (0x9c36)

lri $AR1,    #0x8d5c
lri $IX1,    #0x6f3c
lri $WR1,    #0xc1fb
cw 0x15
call send_back  ; 39991 (0x9c37)

lri $AR1,    #0xbce0
lri $IX1,    #0xe316
lri $WR1,    #0xb0f4
cw 0x15
call send_back  ; 39992 (0x9c38)

lri $AR1,    #0x7472
lri $IX1,    #0xc488
lri $WR1,    #0x6d8e
cw 0x15
call send_back  ; 39993 (0x9c39)

lri $AR1,    #0x87d5
lri $IX1,    #0x00a0
lri $WR1,    #0x65ea
cw 0x15
call send_back  ; 39994 (0x9c3a)

lri $AR1,    #0x87cf
lri $IX1,    #0x3696
lri $WR1,    #0x7c6b
cw 0x15
call send_back  ; 39995 (0x9c3b)

lri $AR1,    #0x40fd
lri $IX1,    #0x8de4
lri $WR1,    #0x7662
cw 0x15
call send_back  ; 39996 (0x9c3c)

lri $AR1,    #0x3963
lri $IX1,    #0x4bae
lri $WR1,    #0xb4c3
cw 0x15
call send_back  ; 39997 (0x9c3d)

lri $AR1,    #0xa90e
lri $IX1,    #0x289e
lri $WR1,    #0x5a5c
cw 0x15
call send_back  ; 39998 (0x9c3e)

lri $AR1,    #0xed90
lri $IX1,    #0x490a
lri $WR1,    #0xa498
cw 0x15
call send_back  ; 39999 (0x9c3f)

lri $AR1,    #0x6fa9
lri $IX1,    #0x0566
lri $WR1,    #0xa176
cw 0x15
call send_back  ; 40000 (0x9c40)

lri $AR1,    #0xbdf3
lri $IX1,    #0x89d2
lri $WR1,    #0x76a7
cw 0x15
call send_back  ; 40001 (0x9c41)

lri $AR1,    #0x9eda
lri $IX1,    #0xd7ec
lri $WR1,    #0x7b86
cw 0x15
call send_back  ; 40002 (0x9c42)

lri $AR1,    #0x6fae
lri $IX1,    #0x0688
lri $WR1,    #0x58cd
cw 0x15
call send_back  ; 40003 (0x9c43)

lri $AR1,    #0xae28
lri $IX1,    #0xd7a4
lri $WR1,    #0x96c8
cw 0x15
call send_back  ; 40004 (0x9c44)

lri $AR1,    #0x652e
lri $IX1,    #0x050a
lri $WR1,    #0xdbf0
cw 0x15
call send_back  ; 40005 (0x9c45)

lri $AR1,    #0x4519
lri $IX1,    #0x1912
lri $WR1,    #0x7b89
cw 0x15
call send_back  ; 40006 (0x9c46)

lri $AR1,    #0x5372
lri $IX1,    #0x6906
lri $WR1,    #0x3568
cw 0x15
call send_back  ; 40007 (0x9c47)

lri $AR1,    #0x353b
lri $IX1,    #0xf36e
lri $WR1,    #0x8d49
cw 0x15
call send_back  ; 40008 (0x9c48)

lri $AR1,    #0x82d7
lri $IX1,    #0x9cf0
lri $WR1,    #0x49e9
cw 0x15
call send_back  ; 40009 (0x9c49)

lri $AR1,    #0xb3a8
lri $IX1,    #0xaae8
lri $WR1,    #0x5965
cw 0x15
call send_back  ; 40010 (0x9c4a)

lri $AR1,    #0xe35b
lri $IX1,    #0x8b80
lri $WR1,    #0x69e6
cw 0x15
call send_back  ; 40011 (0x9c4b)

lri $AR1,    #0xda17
lri $IX1,    #0x175a
lri $WR1,    #0x5b3f
cw 0x15
call send_back  ; 40012 (0x9c4c)

lri $AR1,    #0xbc6b
lri $IX1,    #0xa1a2
lri $WR1,    #0xa77b
cw 0x15
call send_back  ; 40013 (0x9c4d)

lri $AR1,    #0x7759
lri $IX1,    #0x7f88
lri $WR1,    #0x5dea
cw 0x15
call send_back  ; 40014 (0x9c4e)

lri $AR1,    #0xc024
lri $IX1,    #0x50fa
lri $WR1,    #0xadd5
cw 0x15
call send_back  ; 40015 (0x9c4f)

lri $AR1,    #0xb76a
lri $IX1,    #0x60ca
lri $WR1,    #0x234a
cw 0x15
call send_back  ; 40016 (0x9c50)

lri $AR1,    #0x4a20
lri $IX1,    #0x0ace
lri $WR1,    #0x821f
cw 0x15
call send_back  ; 40017 (0x9c51)

lri $AR1,    #0x2af4
lri $IX1,    #0x5b54
lri $WR1,    #0x78c4
cw 0x15
call send_back  ; 40018 (0x9c52)

lri $AR1,    #0x91bb
lri $IX1,    #0x2b86
lri $WR1,    #0x15e1
cw 0x15
call send_back  ; 40019 (0x9c53)

lri $AR1,    #0x365a
lri $IX1,    #0xfae4
lri $WR1,    #0x6161
cw 0x15
call send_back  ; 40020 (0x9c54)

lri $AR1,    #0x97e0
lri $IX1,    #0xcea2
lri $WR1,    #0x92ee
cw 0x15
call send_back  ; 40021 (0x9c55)

lri $AR1,    #0xf03d
lri $IX1,    #0x93fc
lri $WR1,    #0x7d77
cw 0x15
call send_back  ; 40022 (0x9c56)

lri $AR1,    #0x9849
lri $IX1,    #0x0336
lri $WR1,    #0x48c9
cw 0x15
call send_back  ; 40023 (0x9c57)

lri $AR1,    #0x7786
lri $IX1,    #0xed98
lri $WR1,    #0xd7d1
cw 0x15
call send_back  ; 40024 (0x9c58)

lri $AR1,    #0xc651
lri $IX1,    #0x58da
lri $WR1,    #0xa392
cw 0x15
call send_back  ; 40025 (0x9c59)

lri $AR1,    #0x48ee
lri $IX1,    #0xef6e
lri $WR1,    #0x405c
cw 0x15
call send_back  ; 40026 (0x9c5a)

lri $AR1,    #0x9d30
lri $IX1,    #0x3d2a
lri $WR1,    #0x9467
cw 0x15
call send_back  ; 40027 (0x9c5b)

lri $AR1,    #0x9c04
lri $IX1,    #0x0c9e
lri $WR1,    #0xdc45
cw 0x15
call send_back  ; 40028 (0x9c5c)

lri $AR1,    #0x8bcc
lri $IX1,    #0x21b8
lri $WR1,    #0x5352
cw 0x15
call send_back  ; 40029 (0x9c5d)

lri $AR1,    #0x4fb8
lri $IX1,    #0xa2ec
lri $WR1,    #0x93a9
cw 0x15
call send_back  ; 40030 (0x9c5e)

lri $AR1,    #0x4404
lri $IX1,    #0xe288
lri $WR1,    #0xe2ad
cw 0x15
call send_back  ; 40031 (0x9c5f)

lri $AR1,    #0xee62
lri $IX1,    #0x0676
lri $WR1,    #0x84bb
cw 0x15
call send_back  ; 40032 (0x9c60)

lri $AR1,    #0x756a
lri $IX1,    #0x6506
lri $WR1,    #0xbc0b
cw 0x15
call send_back  ; 40033 (0x9c61)

lri $AR1,    #0x5148
lri $IX1,    #0x71f6
lri $WR1,    #0x2468
cw 0x15
call send_back  ; 40034 (0x9c62)

lri $AR1,    #0xbb99
lri $IX1,    #0xe77c
lri $WR1,    #0x8ea4
cw 0x15
call send_back  ; 40035 (0x9c63)

lri $AR1,    #0x6ba7
lri $IX1,    #0x9368
lri $WR1,    #0x3488
cw 0x15
call send_back  ; 40036 (0x9c64)

lri $AR1,    #0x87f4
lri $IX1,    #0xf912
lri $WR1,    #0x7733
cw 0x15
call send_back  ; 40037 (0x9c65)

lri $AR1,    #0x453e
lri $IX1,    #0xed56
lri $WR1,    #0x377d
cw 0x15
call send_back  ; 40038 (0x9c66)

lri $AR1,    #0x4ef5
lri $IX1,    #0x923e
lri $WR1,    #0x996c
cw 0x15
call send_back  ; 40039 (0x9c67)

lri $AR1,    #0x2c51
lri $IX1,    #0xc484
lri $WR1,    #0x095d
cw 0x15
call send_back  ; 40040 (0x9c68)

lri $AR1,    #0x40ef
lri $IX1,    #0x45ba
lri $WR1,    #0x82d6
cw 0x15
call send_back  ; 40041 (0x9c69)

lri $AR1,    #0xa735
lri $IX1,    #0xd226
lri $WR1,    #0xc6a1
cw 0x15
call send_back  ; 40042 (0x9c6a)

lri $AR1,    #0x5659
lri $IX1,    #0x0208
lri $WR1,    #0x3f3f
cw 0x15
call send_back  ; 40043 (0x9c6b)

lri $AR1,    #0xad56
lri $IX1,    #0x72a0
lri $WR1,    #0xa843
cw 0x15
call send_back  ; 40044 (0x9c6c)

lri $AR1,    #0x7797
lri $IX1,    #0x5b5e
lri $WR1,    #0x869b
cw 0x15
call send_back  ; 40045 (0x9c6d)

lri $AR1,    #0x2fbe
lri $IX1,    #0x88bc
lri $WR1,    #0x7d6a
cw 0x15
call send_back  ; 40046 (0x9c6e)

lri $AR1,    #0x083f
lri $IX1,    #0xd624
lri $WR1,    #0x6c6f
cw 0x15
call send_back  ; 40047 (0x9c6f)

lri $AR1,    #0x7923
lri $IX1,    #0xcd5c
lri $WR1,    #0x6a96
cw 0x15
call send_back  ; 40048 (0x9c70)

lri $AR1,    #0x9de1
lri $IX1,    #0x29e8
lri $WR1,    #0x78bd
cw 0x15
call send_back  ; 40049 (0x9c71)

lri $AR1,    #0x6d66
lri $IX1,    #0xc3bc
lri $WR1,    #0x9641
cw 0x15
call send_back  ; 40050 (0x9c72)

lri $AR1,    #0xaa54
lri $IX1,    #0xf4de
lri $WR1,    #0x9265
cw 0x15
call send_back  ; 40051 (0x9c73)

lri $AR1,    #0xb0a1
lri $IX1,    #0x0a22
lri $WR1,    #0x6b0f
cw 0x15
call send_back  ; 40052 (0x9c74)

lri $AR1,    #0xe178
lri $IX1,    #0xd7ca
lri $WR1,    #0x2312
cw 0x15
call send_back  ; 40053 (0x9c75)

lri $AR1,    #0x3dad
lri $IX1,    #0x3f16
lri $WR1,    #0x176c
cw 0x15
call send_back  ; 40054 (0x9c76)

lri $AR1,    #0xa282
lri $IX1,    #0x728a
lri $WR1,    #0xdca1
cw 0x15
call send_back  ; 40055 (0x9c77)

lri $AR1,    #0x742c
lri $IX1,    #0x3320
lri $WR1,    #0xf2bd
cw 0x15
call send_back  ; 40056 (0x9c78)

lri $AR1,    #0xacc2
lri $IX1,    #0x38fe
lri $WR1,    #0x8808
cw 0x15
call send_back  ; 40057 (0x9c79)

lri $AR1,    #0x260e
lri $IX1,    #0x9efa
lri $WR1,    #0x7004
cw 0x15
call send_back  ; 40058 (0x9c7a)

lri $AR1,    #0xe7ea
lri $IX1,    #0x9888
lri $WR1,    #0x45be
cw 0x15
call send_back  ; 40059 (0x9c7b)

lri $AR1,    #0x2c9b
lri $IX1,    #0x164e
lri $WR1,    #0x4607
cw 0x15
call send_back  ; 40060 (0x9c7c)

lri $AR1,    #0x07da
lri $IX1,    #0x6604
lri $WR1,    #0x27a3
cw 0x15
call send_back  ; 40061 (0x9c7d)

lri $AR1,    #0x8cfb
lri $IX1,    #0x6ee6
lri $WR1,    #0x74fc
cw 0x15
call send_back  ; 40062 (0x9c7e)

lri $AR1,    #0x53e4
lri $IX1,    #0x0c3e
lri $WR1,    #0x8c6b
cw 0x15
call send_back  ; 40063 (0x9c7f)

lri $AR1,    #0x343c
lri $IX1,    #0x546c
lri $WR1,    #0x51ad
cw 0x15
call send_back  ; 40064 (0x9c80)

lri $AR1,    #0x5995
lri $IX1,    #0x72e8
lri $WR1,    #0xa482
cw 0x15
call send_back  ; 40065 (0x9c81)

lri $AR1,    #0x52de
lri $IX1,    #0x409c
lri $WR1,    #0xbe21
cw 0x15
call send_back  ; 40066 (0x9c82)

lri $AR1,    #0x52fe
lri $IX1,    #0x1618
lri $WR1,    #0x0874
cw 0x15
call send_back  ; 40067 (0x9c83)

lri $AR1,    #0x5fd6
lri $IX1,    #0x9000
lri $WR1,    #0x37c5
cw 0x15
call send_back  ; 40068 (0x9c84)

lri $AR1,    #0x887e
lri $IX1,    #0x463a
lri $WR1,    #0x48d9
cw 0x15
call send_back  ; 40069 (0x9c85)

lri $AR1,    #0xcb19
lri $IX1,    #0xeb28
lri $WR1,    #0x6315
cw 0x15
call send_back  ; 40070 (0x9c86)

lri $AR1,    #0xf604
lri $IX1,    #0x088e
lri $WR1,    #0x5fb8
cw 0x15
call send_back  ; 40071 (0x9c87)

lri $AR1,    #0x67a6
lri $IX1,    #0xbc5e
lri $WR1,    #0xbcc0
cw 0x15
call send_back  ; 40072 (0x9c88)

lri $AR1,    #0x7bda
lri $IX1,    #0x9016
lri $WR1,    #0x6b76
cw 0x15
call send_back  ; 40073 (0x9c89)

lri $AR1,    #0x9508
lri $IX1,    #0xe9de
lri $WR1,    #0x9853
cw 0x15
call send_back  ; 40074 (0x9c8a)

lri $AR1,    #0x62f2
lri $IX1,    #0xc71a
lri $WR1,    #0x9b32
cw 0x15
call send_back  ; 40075 (0x9c8b)

lri $AR1,    #0xb064
lri $IX1,    #0x8c98
lri $WR1,    #0x1463
cw 0x15
call send_back  ; 40076 (0x9c8c)

lri $AR1,    #0x7ca6
lri $IX1,    #0xe11a
lri $WR1,    #0x34bd
cw 0x15
call send_back  ; 40077 (0x9c8d)

lri $AR1,    #0xd4fc
lri $IX1,    #0xdb5c
lri $WR1,    #0xac30
cw 0x15
call send_back  ; 40078 (0x9c8e)

lri $AR1,    #0x2603
lri $IX1,    #0x6d46
lri $WR1,    #0x9bf3
cw 0x15
call send_back  ; 40079 (0x9c8f)

lri $AR1,    #0x743c
lri $IX1,    #0x0294
lri $WR1,    #0x8ecf
cw 0x15
call send_back  ; 40080 (0x9c90)

lri $AR1,    #0x7695
lri $IX1,    #0xe174
lri $WR1,    #0x43ac
cw 0x15
call send_back  ; 40081 (0x9c91)

lri $AR1,    #0xcd40
lri $IX1,    #0x2082
lri $WR1,    #0xe3d5
cw 0x15
call send_back  ; 40082 (0x9c92)

lri $AR1,    #0x62a8
lri $IX1,    #0x159e
lri $WR1,    #0x7022
cw 0x15
call send_back  ; 40083 (0x9c93)

lri $AR1,    #0x4bd6
lri $IX1,    #0x1df4
lri $WR1,    #0x257b
cw 0x15
call send_back  ; 40084 (0x9c94)

lri $AR1,    #0x9914
lri $IX1,    #0xa7d2
lri $WR1,    #0x32d8
cw 0x15
call send_back  ; 40085 (0x9c95)

lri $AR1,    #0x5715
lri $IX1,    #0x9b7e
lri $WR1,    #0xb847
cw 0x15
call send_back  ; 40086 (0x9c96)

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