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

lri $AR1,    #0x0534
lri $IX1,    #0x0e20
lri $WR1,    #0x027c
cw 0x15
call send_back  ; 7809 (0x1e81)

lri $AR1,    #0xac62
lri $IX1,    #0x7c9e
lri $WR1,    #0xf980
cw 0x15
call send_back  ; 7810 (0x1e82)

lri $AR1,    #0x33fc
lri $IX1,    #0x8386
lri $WR1,    #0xe0d0
cw 0x15
call send_back  ; 7811 (0x1e83)

lri $AR1,    #0x8a94
lri $IX1,    #0xd842
lri $WR1,    #0xdeae
cw 0x15
call send_back  ; 7812 (0x1e84)

lri $AR1,    #0x0be8
lri $IX1,    #0x1620
lri $WR1,    #0xc7a0
cw 0x15
call send_back  ; 7813 (0x1e85)

lri $AR1,    #0x3108
lri $IX1,    #0x2ffa
lri $WR1,    #0xe308
cw 0x15
call send_back  ; 7814 (0x1e86)

lri $AR1,    #0x1612
lri $IX1,    #0x04c4
lri $WR1,    #0xdc1c
cw 0x15
call send_back  ; 7815 (0x1e87)

lri $AR1,    #0x3b2e
lri $IX1,    #0x8084
lri $WR1,    #0xd338
cw 0x15
call send_back  ; 7816 (0x1e88)

lri $AR1,    #0x13e2
lri $IX1,    #0x44ea
lri $WR1,    #0x809e
cw 0x15
call send_back  ; 7817 (0x1e89)

lri $AR1,    #0xe98c
lri $IX1,    #0x417a
lri $WR1,    #0x4cde
cw 0x15
call send_back  ; 7818 (0x1e8a)

lri $AR1,    #0x0f0a
lri $IX1,    #0x41e2
lri $WR1,    #0x4a22
cw 0x15
call send_back  ; 7819 (0x1e8b)

lri $AR1,    #0xa870
lri $IX1,    #0x9c40
lri $WR1,    #0xb8fa
cw 0x15
call send_back  ; 7820 (0x1e8c)

lri $AR1,    #0x8d34
lri $IX1,    #0xd8aa
lri $WR1,    #0x47c4
cw 0x15
call send_back  ; 7821 (0x1e8d)

lri $AR1,    #0x885e
lri $IX1,    #0x15b6
lri $WR1,    #0x159e
cw 0x15
call send_back  ; 7822 (0x1e8e)

lri $AR1,    #0xddfa
lri $IX1,    #0x6d06
lri $WR1,    #0xc65a
cw 0x15
call send_back  ; 7823 (0x1e8f)

lri $AR1,    #0xea56
lri $IX1,    #0xa466
lri $WR1,    #0x6288
cw 0x15
call send_back  ; 7824 (0x1e90)

lri $AR1,    #0xc808
lri $IX1,    #0x0936
lri $WR1,    #0x7c78
cw 0x15
call send_back  ; 7825 (0x1e91)

lri $AR1,    #0x5ab2
lri $IX1,    #0x02ea
lri $WR1,    #0x00ec
cw 0x15
call send_back  ; 7826 (0x1e92)

lri $AR1,    #0x64d0
lri $IX1,    #0xd9c4
lri $WR1,    #0xe9ea
cw 0x15
call send_back  ; 7827 (0x1e93)

lri $AR1,    #0xf9cc
lri $IX1,    #0xe10a
lri $WR1,    #0xdf08
cw 0x15
call send_back  ; 7828 (0x1e94)

lri $AR1,    #0x60c8
lri $IX1,    #0x23c2
lri $WR1,    #0x5006
cw 0x15
call send_back  ; 7829 (0x1e95)

lri $AR1,    #0x0200
lri $IX1,    #0x0494
lri $WR1,    #0xfcb4
cw 0x15
call send_back  ; 7830 (0x1e96)

lri $AR1,    #0xb8ac
lri $IX1,    #0x2c16
lri $WR1,    #0x9ec0
cw 0x15
call send_back  ; 7831 (0x1e97)

lri $AR1,    #0x1770
lri $IX1,    #0x1538
lri $WR1,    #0xd6b4
cw 0x15
call send_back  ; 7832 (0x1e98)

lri $AR1,    #0x0aa4
lri $IX1,    #0x8b0e
lri $WR1,    #0xa500
cw 0x15
call send_back  ; 7833 (0x1e99)

lri $AR1,    #0x35f8
lri $IX1,    #0x5586
lri $WR1,    #0xb2da
cw 0x15
call send_back  ; 7834 (0x1e9a)

lri $AR1,    #0x4cbc
lri $IX1,    #0x37d8
lri $WR1,    #0x6122
cw 0x15
call send_back  ; 7835 (0x1e9b)

lri $AR1,    #0x66c0
lri $IX1,    #0x8d50
lri $WR1,    #0xbfce
cw 0x15
call send_back  ; 7836 (0x1e9c)

lri $AR1,    #0xd0b6
lri $IX1,    #0x542e
lri $WR1,    #0x1910
cw 0x15
call send_back  ; 7837 (0x1e9d)

lri $AR1,    #0x06f6
lri $IX1,    #0x8882
lri $WR1,    #0x9f7c
cw 0x15
call send_back  ; 7838 (0x1e9e)

lri $AR1,    #0x8f8c
lri $IX1,    #0x88c2
lri $WR1,    #0x87d6
cw 0x15
call send_back  ; 7839 (0x1e9f)

lri $AR1,    #0x75dc
lri $IX1,    #0x67da
lri $WR1,    #0x6418
cw 0x15
call send_back  ; 7840 (0x1ea0)

lri $AR1,    #0x659a
lri $IX1,    #0xb7b8
lri $WR1,    #0x9152
cw 0x15
call send_back  ; 7841 (0x1ea1)

lri $AR1,    #0x9904
lri $IX1,    #0x3752
lri $WR1,    #0x63a2
cw 0x15
call send_back  ; 7842 (0x1ea2)

lri $AR1,    #0xd2e8
lri $IX1,    #0x0ad6
lri $WR1,    #0x2aaa
cw 0x15
call send_back  ; 7843 (0x1ea3)

lri $AR1,    #0xe9b4
lri $IX1,    #0x70e2
lri $WR1,    #0xaece
cw 0x15
call send_back  ; 7844 (0x1ea4)

lri $AR1,    #0x997c
lri $IX1,    #0x0f80
lri $WR1,    #0x2130
cw 0x15
call send_back  ; 7845 (0x1ea5)

lri $AR1,    #0xcf4a
lri $IX1,    #0xe05a
lri $WR1,    #0x8c74
cw 0x15
call send_back  ; 7846 (0x1ea6)

lri $AR1,    #0xd628
lri $IX1,    #0xcb64
lri $WR1,    #0xbf92
cw 0x15
call send_back  ; 7847 (0x1ea7)

lri $AR1,    #0x06c4
lri $IX1,    #0x67d2
lri $WR1,    #0x3b1c
cw 0x15
call send_back  ; 7848 (0x1ea8)

lri $AR1,    #0x8ebc
lri $IX1,    #0x98cc
lri $WR1,    #0xa3b4
cw 0x15
call send_back  ; 7849 (0x1ea9)

lri $AR1,    #0xe00a
lri $IX1,    #0x0ab8
lri $WR1,    #0x8700
cw 0x15
call send_back  ; 7850 (0x1eaa)

lri $AR1,    #0xcb14
lri $IX1,    #0x4a78
lri $WR1,    #0x0646
cw 0x15
call send_back  ; 7851 (0x1eab)

lri $AR1,    #0x4e50
lri $IX1,    #0x07c2
lri $WR1,    #0x9b16
cw 0x15
call send_back  ; 7852 (0x1eac)

lri $AR1,    #0xc4fa
lri $IX1,    #0xb310
lri $WR1,    #0xdf62
cw 0x15
call send_back  ; 7853 (0x1ead)

lri $AR1,    #0x4914
lri $IX1,    #0x48d8
lri $WR1,    #0xf860
cw 0x15
call send_back  ; 7854 (0x1eae)

lri $AR1,    #0x2d34
lri $IX1,    #0x54de
lri $WR1,    #0x5a4e
cw 0x15
call send_back  ; 7855 (0x1eaf)

lri $AR1,    #0xe816
lri $IX1,    #0xaa56
lri $WR1,    #0xcf2e
cw 0x15
call send_back  ; 7856 (0x1eb0)

lri $AR1,    #0x92be
lri $IX1,    #0xd322
lri $WR1,    #0x8c92
cw 0x15
call send_back  ; 7857 (0x1eb1)

lri $AR1,    #0x1cc4
lri $IX1,    #0x318c
lri $WR1,    #0x327e
cw 0x15
call send_back  ; 7858 (0x1eb2)

lri $AR1,    #0x43aa
lri $IX1,    #0xde88
lri $WR1,    #0x03a4
cw 0x15
call send_back  ; 7859 (0x1eb3)

lri $AR1,    #0x1088
lri $IX1,    #0xdd12
lri $WR1,    #0xe632
cw 0x15
call send_back  ; 7860 (0x1eb4)

lri $AR1,    #0x257c
lri $IX1,    #0xe2fc
lri $WR1,    #0x1646
cw 0x15
call send_back  ; 7861 (0x1eb5)

lri $AR1,    #0x1f72
lri $IX1,    #0xe7a6
lri $WR1,    #0xfd48
cw 0x15
call send_back  ; 7862 (0x1eb6)

lri $AR1,    #0xa58c
lri $IX1,    #0xd59a
lri $WR1,    #0x9dca
cw 0x15
call send_back  ; 7863 (0x1eb7)

lri $AR1,    #0x438a
lri $IX1,    #0xc13a
lri $WR1,    #0x3dc2
cw 0x15
call send_back  ; 7864 (0x1eb8)

lri $AR1,    #0xa040
lri $IX1,    #0x45e2
lri $WR1,    #0x6d82
cw 0x15
call send_back  ; 7865 (0x1eb9)

lri $AR1,    #0xad74
lri $IX1,    #0x480a
lri $WR1,    #0x6c6c
cw 0x15
call send_back  ; 7866 (0x1eba)

lri $AR1,    #0x98ba
lri $IX1,    #0x65d2
lri $WR1,    #0x2d5e
cw 0x15
call send_back  ; 7867 (0x1ebb)

lri $AR1,    #0x5b9c
lri $IX1,    #0x8e20
lri $WR1,    #0x5b40
cw 0x15
call send_back  ; 7868 (0x1ebc)

lri $AR1,    #0x70b6
lri $IX1,    #0x392c
lri $WR1,    #0xc724
cw 0x15
call send_back  ; 7869 (0x1ebd)

lri $AR1,    #0xe18a
lri $IX1,    #0x564e
lri $WR1,    #0xf984
cw 0x15
call send_back  ; 7870 (0x1ebe)

lri $AR1,    #0xa336
lri $IX1,    #0xa48a
lri $WR1,    #0xfc34
cw 0x15
call send_back  ; 7871 (0x1ebf)

lri $AR1,    #0x5d9e
lri $IX1,    #0x0e00
lri $WR1,    #0xd556
cw 0x15
call send_back  ; 7872 (0x1ec0)

lri $AR1,    #0x72ca
lri $IX1,    #0xc974
lri $WR1,    #0x9c3e
cw 0x15
call send_back  ; 7873 (0x1ec1)

lri $AR1,    #0xf3e2
lri $IX1,    #0xffd0
lri $WR1,    #0x9ae0
cw 0x15
call send_back  ; 7874 (0x1ec2)

lri $AR1,    #0x26fc
lri $IX1,    #0x1d2a
lri $WR1,    #0xd3f0
cw 0x15
call send_back  ; 7875 (0x1ec3)

lri $AR1,    #0x290a
lri $IX1,    #0x6d5e
lri $WR1,    #0x45e0
cw 0x15
call send_back  ; 7876 (0x1ec4)

lri $AR1,    #0xfac0
lri $IX1,    #0x1450
lri $WR1,    #0xc4ee
cw 0x15
call send_back  ; 7877 (0x1ec5)

lri $AR1,    #0x4988
lri $IX1,    #0xcd4a
lri $WR1,    #0x0eae
cw 0x15
call send_back  ; 7878 (0x1ec6)

lri $AR1,    #0x605e
lri $IX1,    #0x3628
lri $WR1,    #0xaf1e
cw 0x15
call send_back  ; 7879 (0x1ec7)

lri $AR1,    #0xc49e
lri $IX1,    #0x34d2
lri $WR1,    #0xbc70
cw 0x15
call send_back  ; 7880 (0x1ec8)

lri $AR1,    #0x5dc8
lri $IX1,    #0x0e8e
lri $WR1,    #0x05ae
cw 0x15
call send_back  ; 7881 (0x1ec9)

lri $AR1,    #0x2c60
lri $IX1,    #0x9aee
lri $WR1,    #0x12ba
cw 0x15
call send_back  ; 7882 (0x1eca)

lri $AR1,    #0x9ed2
lri $IX1,    #0xe672
lri $WR1,    #0x78c2
cw 0x15
call send_back  ; 7883 (0x1ecb)

lri $AR1,    #0x7fa2
lri $IX1,    #0xc56c
lri $WR1,    #0xa93c
cw 0x15
call send_back  ; 7884 (0x1ecc)

lri $AR1,    #0x111e
lri $IX1,    #0x86e2
lri $WR1,    #0xe73a
cw 0x15
call send_back  ; 7885 (0x1ecd)

lri $AR1,    #0xa3a2
lri $IX1,    #0xeefa
lri $WR1,    #0xc0a8
cw 0x15
call send_back  ; 7886 (0x1ece)

lri $AR1,    #0x1058
lri $IX1,    #0xb374
lri $WR1,    #0xf280
cw 0x15
call send_back  ; 7887 (0x1ecf)

lri $AR1,    #0x9f96
lri $IX1,    #0x2f80
lri $WR1,    #0xb89e
cw 0x15
call send_back  ; 7888 (0x1ed0)

lri $AR1,    #0xf794
lri $IX1,    #0x9d2a
lri $WR1,    #0x30dc
cw 0x15
call send_back  ; 7889 (0x1ed1)

lri $AR1,    #0x64ca
lri $IX1,    #0x06d4
lri $WR1,    #0xc6a4
cw 0x15
call send_back  ; 7890 (0x1ed2)

lri $AR1,    #0xf744
lri $IX1,    #0x6f8a
lri $WR1,    #0x5924
cw 0x15
call send_back  ; 7891 (0x1ed3)

lri $AR1,    #0xd274
lri $IX1,    #0xbc0c
lri $WR1,    #0x9706
cw 0x15
call send_back  ; 7892 (0x1ed4)

lri $AR1,    #0xf5ba
lri $IX1,    #0x661e
lri $WR1,    #0xdd4c
cw 0x15
call send_back  ; 7893 (0x1ed5)

lri $AR1,    #0x5516
lri $IX1,    #0x32a0
lri $WR1,    #0xb4a0
cw 0x15
call send_back  ; 7894 (0x1ed6)

lri $AR1,    #0xa2a2
lri $IX1,    #0xb0fa
lri $WR1,    #0xdfc2
cw 0x15
call send_back  ; 7895 (0x1ed7)

lri $AR1,    #0x1d60
lri $IX1,    #0x0084
lri $WR1,    #0x1576
cw 0x15
call send_back  ; 7896 (0x1ed8)

lri $AR1,    #0x646a
lri $IX1,    #0xf38e
lri $WR1,    #0xe200
cw 0x15
call send_back  ; 7897 (0x1ed9)

lri $AR1,    #0x9380
lri $IX1,    #0x975c
lri $WR1,    #0x160c
cw 0x15
call send_back  ; 7898 (0x1eda)

lri $AR1,    #0x0104
lri $IX1,    #0x7966
lri $WR1,    #0x994a
cw 0x15
call send_back  ; 7899 (0x1edb)

lri $AR1,    #0x7fe0
lri $IX1,    #0xd52e
lri $WR1,    #0xa676
cw 0x15
call send_back  ; 7900 (0x1edc)

lri $AR1,    #0x79e8
lri $IX1,    #0x790e
lri $WR1,    #0xa10a
cw 0x15
call send_back  ; 7901 (0x1edd)

lri $AR1,    #0x832c
lri $IX1,    #0xef70
lri $WR1,    #0x900a
cw 0x15
call send_back  ; 7902 (0x1ede)

lri $AR1,    #0x25e0
lri $IX1,    #0x05ca
lri $WR1,    #0xe8aa
cw 0x15
call send_back  ; 7903 (0x1edf)

lri $AR1,    #0x039a
lri $IX1,    #0x05fc
lri $WR1,    #0xab94
cw 0x15
call send_back  ; 7904 (0x1ee0)

lri $AR1,    #0x4174
lri $IX1,    #0xc542
lri $WR1,    #0x5d72
cw 0x15
call send_back  ; 7905 (0x1ee1)

lri $AR1,    #0xce6a
lri $IX1,    #0x61cc
lri $WR1,    #0xbc2a
cw 0x15
call send_back  ; 7906 (0x1ee2)

lri $AR1,    #0x996a
lri $IX1,    #0x3ef6
lri $WR1,    #0x0f54
cw 0x15
call send_back  ; 7907 (0x1ee3)

lri $AR1,    #0x7088
lri $IX1,    #0x15e4
lri $WR1,    #0x8b52
cw 0x15
call send_back  ; 7908 (0x1ee4)

lri $AR1,    #0x3962
lri $IX1,    #0xc782
lri $WR1,    #0x8a06
cw 0x15
call send_back  ; 7909 (0x1ee5)

lri $AR1,    #0xda2e
lri $IX1,    #0x077e
lri $WR1,    #0xf7a2
cw 0x15
call send_back  ; 7910 (0x1ee6)

lri $AR1,    #0xcae0
lri $IX1,    #0xc280
lri $WR1,    #0xf26c
cw 0x15
call send_back  ; 7911 (0x1ee7)

lri $AR1,    #0x5dae
lri $IX1,    #0xecb4
lri $WR1,    #0x07a0
cw 0x15
call send_back  ; 7912 (0x1ee8)

lri $AR1,    #0x2fbc
lri $IX1,    #0x5a1e
lri $WR1,    #0x4aba
cw 0x15
call send_back  ; 7913 (0x1ee9)

lri $AR1,    #0xa1fe
lri $IX1,    #0x37ca
lri $WR1,    #0xdefe
cw 0x15
call send_back  ; 7914 (0x1eea)

lri $AR1,    #0x7d76
lri $IX1,    #0xfc3c
lri $WR1,    #0xae4a
cw 0x15
call send_back  ; 7915 (0x1eeb)

lri $AR1,    #0xd656
lri $IX1,    #0xc76c
lri $WR1,    #0xccde
cw 0x15
call send_back  ; 7916 (0x1eec)

lri $AR1,    #0x754c
lri $IX1,    #0x0912
lri $WR1,    #0x007a
cw 0x15
call send_back  ; 7917 (0x1eed)

lri $AR1,    #0x7474
lri $IX1,    #0x32c8
lri $WR1,    #0xae68
cw 0x15
call send_back  ; 7918 (0x1eee)

lri $AR1,    #0x8796
lri $IX1,    #0x483a
lri $WR1,    #0x10a4
cw 0x15
call send_back  ; 7919 (0x1eef)

lri $AR1,    #0x4bc8
lri $IX1,    #0x431a
lri $WR1,    #0xb148
cw 0x15
call send_back  ; 7920 (0x1ef0)

lri $AR1,    #0xff3c
lri $IX1,    #0x0d3c
lri $WR1,    #0x3786
cw 0x15
call send_back  ; 7921 (0x1ef1)

lri $AR1,    #0x8834
lri $IX1,    #0x426e
lri $WR1,    #0x3e50
cw 0x15
call send_back  ; 7922 (0x1ef2)

lri $AR1,    #0xbcd0
lri $IX1,    #0x953c
lri $WR1,    #0x911a
cw 0x15
call send_back  ; 7923 (0x1ef3)

lri $AR1,    #0x0b80
lri $IX1,    #0xda2a
lri $WR1,    #0x9cf2
cw 0x15
call send_back  ; 7924 (0x1ef4)

lri $AR1,    #0x8f30
lri $IX1,    #0x341a
lri $WR1,    #0xd046
cw 0x15
call send_back  ; 7925 (0x1ef5)

lri $AR1,    #0xe15c
lri $IX1,    #0xea36
lri $WR1,    #0xd4ac
cw 0x15
call send_back  ; 7926 (0x1ef6)

lri $AR1,    #0x5a20
lri $IX1,    #0x7fa6
lri $WR1,    #0xe054
cw 0x15
call send_back  ; 7927 (0x1ef7)

lri $AR1,    #0xf1e4
lri $IX1,    #0xac46
lri $WR1,    #0x9240
cw 0x15
call send_back  ; 7928 (0x1ef8)

lri $AR1,    #0x79d4
lri $IX1,    #0xec00
lri $WR1,    #0xbaa6
cw 0x15
call send_back  ; 7929 (0x1ef9)

lri $AR1,    #0x7f8c
lri $IX1,    #0x3d30
lri $WR1,    #0x82b0
cw 0x15
call send_back  ; 7930 (0x1efa)

lri $AR1,    #0xcccc
lri $IX1,    #0x5d02
lri $WR1,    #0xa598
cw 0x15
call send_back  ; 7931 (0x1efb)

lri $AR1,    #0x9182
lri $IX1,    #0xe8ac
lri $WR1,    #0xcee2
cw 0x15
call send_back  ; 7932 (0x1efc)

lri $AR1,    #0x23fe
lri $IX1,    #0x2cc8
lri $WR1,    #0x1bf0
cw 0x15
call send_back  ; 7933 (0x1efd)

lri $AR1,    #0x4c4c
lri $IX1,    #0xf296
lri $WR1,    #0x4700
cw 0x15
call send_back  ; 7934 (0x1efe)

lri $AR1,    #0x2bbe
lri $IX1,    #0x2ff4
lri $WR1,    #0x82e6
cw 0x15
call send_back  ; 7935 (0x1eff)

lri $AR1,    #0x86c0
lri $IX1,    #0xb2fe
lri $WR1,    #0x7d46
cw 0x15
call send_back  ; 7936 (0x1f00)

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

