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

lri $AR1,    #0x98ed
lri $IX1,    #0x4a98
lri $WR1,    #0x5cb3
cw 0xd
call send_back  ; 44675 (0xae83)

lri $AR1,    #0x7721
lri $IX1,    #0x5872
lri $WR1,    #0x683c
cw 0xd
call send_back  ; 44676 (0xae84)

lri $AR1,    #0x7ae7
lri $IX1,    #0xb5ce
lri $WR1,    #0xa611
cw 0xd
call send_back  ; 44677 (0xae85)

lri $AR1,    #0x5214
lri $IX1,    #0x3d76
lri $WR1,    #0x7608
cw 0xd
call send_back  ; 44678 (0xae86)

lri $AR1,    #0x9730
lri $IX1,    #0xf35a
lri $WR1,    #0xe852
cw 0xd
call send_back  ; 44679 (0xae87)

lri $AR1,    #0x1d58
lri $IX1,    #0xb3b6
lri $WR1,    #0x6c58
cw 0xd
call send_back  ; 44680 (0xae88)

lri $AR1,    #0x8993
lri $IX1,    #0xe7ba
lri $WR1,    #0x7b58
cw 0xd
call send_back  ; 44681 (0xae89)

lri $AR1,    #0x27fa
lri $IX1,    #0xc070
lri $WR1,    #0x5c39
cw 0xd
call send_back  ; 44682 (0xae8a)

lri $AR1,    #0x9e7e
lri $IX1,    #0x4824
lri $WR1,    #0xafc7
cw 0xd
call send_back  ; 44683 (0xae8b)

lri $AR1,    #0x469d
lri $IX1,    #0x7e38
lri $WR1,    #0xc9bf
cw 0xd
call send_back  ; 44684 (0xae8c)

lri $AR1,    #0x72ce
lri $IX1,    #0x889c
lri $WR1,    #0xd4eb
cw 0xd
call send_back  ; 44685 (0xae8d)

lri $AR1,    #0x9405
lri $IX1,    #0xb1c2
lri $WR1,    #0x3da9
cw 0xd
call send_back  ; 44686 (0xae8e)

lri $AR1,    #0x770f
lri $IX1,    #0x4970
lri $WR1,    #0xc022
cw 0xd
call send_back  ; 44687 (0xae8f)

lri $AR1,    #0x891d
lri $IX1,    #0x721e
lri $WR1,    #0x9c8e
cw 0xd
call send_back  ; 44688 (0xae90)

lri $AR1,    #0x9e4c
lri $IX1,    #0x4c4a
lri $WR1,    #0xbdc4
cw 0xd
call send_back  ; 44689 (0xae91)

lri $AR1,    #0x747f
lri $IX1,    #0xac8a
lri $WR1,    #0x6b82
cw 0xd
call send_back  ; 44690 (0xae92)

lri $AR1,    #0x8052
lri $IX1,    #0x78b0
lri $WR1,    #0x538c
cw 0xd
call send_back  ; 44691 (0xae93)

lri $AR1,    #0x597e
lri $IX1,    #0xcbbc
lri $WR1,    #0xaa3d
cw 0xd
call send_back  ; 44692 (0xae94)

lri $AR1,    #0x377a
lri $IX1,    #0xf812
lri $WR1,    #0x3c7c
cw 0xd
call send_back  ; 44693 (0xae95)

lri $AR1,    #0xbeaa
lri $IX1,    #0x4a9e
lri $WR1,    #0x6ac7
cw 0xd
call send_back  ; 44694 (0xae96)

lri $AR1,    #0x41f0
lri $IX1,    #0xf14e
lri $WR1,    #0x8648
cw 0xd
call send_back  ; 44695 (0xae97)

lri $AR1,    #0x73df
lri $IX1,    #0x7aa2
lri $WR1,    #0x4e9b
cw 0xd
call send_back  ; 44696 (0xae98)

lri $AR1,    #0x2e7c
lri $IX1,    #0xebba
lri $WR1,    #0xb83e
cw 0xd
call send_back  ; 44697 (0xae99)

lri $AR1,    #0x57c3
lri $IX1,    #0x4588
lri $WR1,    #0x9153
cw 0xd
call send_back  ; 44698 (0xae9a)

lri $AR1,    #0xdcc9
lri $IX1,    #0x61ac
lri $WR1,    #0x6bae
cw 0xd
call send_back  ; 44699 (0xae9b)

lri $AR1,    #0xa4d6
lri $IX1,    #0x329c
lri $WR1,    #0x48ce
cw 0xd
call send_back  ; 44700 (0xae9c)

lri $AR1,    #0x992f
lri $IX1,    #0x8a80
lri $WR1,    #0xbdd0
cw 0xd
call send_back  ; 44701 (0xae9d)

lri $AR1,    #0x4df9
lri $IX1,    #0x778c
lri $WR1,    #0x82da
cw 0xd
call send_back  ; 44702 (0xae9e)

lri $AR1,    #0xdbf6
lri $IX1,    #0xe426
lri $WR1,    #0x832f
cw 0xd
call send_back  ; 44703 (0xae9f)

lri $AR1,    #0x7272
lri $IX1,    #0x5ca8
lri $WR1,    #0x6858
cw 0xd
call send_back  ; 44704 (0xaea0)

lri $AR1,    #0x7426
lri $IX1,    #0x841e
lri $WR1,    #0xa48f
cw 0xd
call send_back  ; 44705 (0xaea1)

lri $AR1,    #0x7177
lri $IX1,    #0xbcaa
lri $WR1,    #0x8de8
cw 0xd
call send_back  ; 44706 (0xaea2)

lri $AR1,    #0x65c7
lri $IX1,    #0xb80c
lri $WR1,    #0x8d55
cw 0xd
call send_back  ; 44707 (0xaea3)

lri $AR1,    #0xa537
lri $IX1,    #0xe7fe
lri $WR1,    #0x9a0e
cw 0xd
call send_back  ; 44708 (0xaea4)

lri $AR1,    #0xc3ad
lri $IX1,    #0xfdbc
lri $WR1,    #0x9370
cw 0xd
call send_back  ; 44709 (0xaea5)

lri $AR1,    #0x4d60
lri $IX1,    #0xb392
lri $WR1,    #0x68de
cw 0xd
call send_back  ; 44710 (0xaea6)

lri $AR1,    #0x4cc3
lri $IX1,    #0xdaaa
lri $WR1,    #0xc0c0
cw 0xd
call send_back  ; 44711 (0xaea7)

lri $AR1,    #0xb125
lri $IX1,    #0xfb10
lri $WR1,    #0xd520
cw 0xd
call send_back  ; 44712 (0xaea8)

lri $AR1,    #0x94cb
lri $IX1,    #0x9b06
lri $WR1,    #0x6601
cw 0xd
call send_back  ; 44713 (0xaea9)

lri $AR1,    #0x80ce
lri $IX1,    #0x5eb0
lri $WR1,    #0x4ef9
cw 0xd
call send_back  ; 44714 (0xaeaa)

lri $AR1,    #0x80ab
lri $IX1,    #0x8042
lri $WR1,    #0x5f2b
cw 0xd
call send_back  ; 44715 (0xaeab)

lri $AR1,    #0x7eb3
lri $IX1,    #0x8482
lri $WR1,    #0x6816
cw 0xd
call send_back  ; 44716 (0xaeac)

lri $AR1,    #0xde38
lri $IX1,    #0x6716
lri $WR1,    #0x7166
cw 0xd
call send_back  ; 44717 (0xaead)

lri $AR1,    #0x77d2
lri $IX1,    #0xa52c
lri $WR1,    #0x7d4d
cw 0xd
call send_back  ; 44718 (0xaeae)

lri $AR1,    #0xdf78
lri $IX1,    #0x6d0e
lri $WR1,    #0xaa66
cw 0xd
call send_back  ; 44719 (0xaeaf)

lri $AR1,    #0x93cd
lri $IX1,    #0xac3a
lri $WR1,    #0x25cd
cw 0xd
call send_back  ; 44720 (0xaeb0)

lri $AR1,    #0x416c
lri $IX1,    #0x9d86
lri $WR1,    #0x295e
cw 0xd
call send_back  ; 44721 (0xaeb1)

lri $AR1,    #0x8478
lri $IX1,    #0xb3e0
lri $WR1,    #0x8fc3
cw 0xd
call send_back  ; 44722 (0xaeb2)

lri $AR1,    #0x665a
lri $IX1,    #0x2e3e
lri $WR1,    #0x395c
cw 0xd
call send_back  ; 44723 (0xaeb3)

lri $AR1,    #0x9cdc
lri $IX1,    #0x244c
lri $WR1,    #0x727e
cw 0xd
call send_back  ; 44724 (0xaeb4)

lri $AR1,    #0x2b92
lri $IX1,    #0x5360
lri $WR1,    #0x253c
cw 0xd
call send_back  ; 44725 (0xaeb5)

lri $AR1,    #0x57c1
lri $IX1,    #0x3e62
lri $WR1,    #0xbe1f
cw 0xd
call send_back  ; 44726 (0xaeb6)

lri $AR1,    #0x42b8
lri $IX1,    #0x3300
lri $WR1,    #0x2d0b
cw 0xd
call send_back  ; 44727 (0xaeb7)

lri $AR1,    #0xd5bc
lri $IX1,    #0x5a0a
lri $WR1,    #0x30b8
cw 0xd
call send_back  ; 44728 (0xaeb8)

lri $AR1,    #0xd68d
lri $IX1,    #0x002e
lri $WR1,    #0x84ef
cw 0xd
call send_back  ; 44729 (0xaeb9)

lri $AR1,    #0xdaaa
lri $IX1,    #0x9ffc
lri $WR1,    #0x78fd
cw 0xd
call send_back  ; 44730 (0xaeba)

lri $AR1,    #0xc334
lri $IX1,    #0xc576
lri $WR1,    #0x458f
cw 0xd
call send_back  ; 44731 (0xaebb)

lri $AR1,    #0xd2c4
lri $IX1,    #0x86fc
lri $WR1,    #0x8e63
cw 0xd
call send_back  ; 44732 (0xaebc)

lri $AR1,    #0x29fb
lri $IX1,    #0xe6ec
lri $WR1,    #0xb5fc
cw 0xd
call send_back  ; 44733 (0xaebd)

lri $AR1,    #0xe722
lri $IX1,    #0xdcb2
lri $WR1,    #0x66d0
cw 0xd
call send_back  ; 44734 (0xaebe)

lri $AR1,    #0x28a5
lri $IX1,    #0xe3b6
lri $WR1,    #0xd718
cw 0xd
call send_back  ; 44735 (0xaebf)

lri $AR1,    #0x29c2
lri $IX1,    #0xa1e2
lri $WR1,    #0x31be
cw 0xd
call send_back  ; 44736 (0xaec0)

lri $AR1,    #0x7c30
lri $IX1,    #0x5f12
lri $WR1,    #0x9880
cw 0xd
call send_back  ; 44737 (0xaec1)

lri $AR1,    #0x6114
lri $IX1,    #0x8242
lri $WR1,    #0x40e4
cw 0xd
call send_back  ; 44738 (0xaec2)

lri $AR1,    #0xd71c
lri $IX1,    #0xf8d8
lri $WR1,    #0x9ef0
cw 0xd
call send_back  ; 44739 (0xaec3)

lri $AR1,    #0x7afd
lri $IX1,    #0x2fb6
lri $WR1,    #0x465e
cw 0xd
call send_back  ; 44740 (0xaec4)

lri $AR1,    #0x3336
lri $IX1,    #0xfd8c
lri $WR1,    #0x8430
cw 0xd
call send_back  ; 44741 (0xaec5)

lri $AR1,    #0xaf62
lri $IX1,    #0x6920
lri $WR1,    #0x905a
cw 0xd
call send_back  ; 44742 (0xaec6)

lri $AR1,    #0x66e0
lri $IX1,    #0x75e2
lri $WR1,    #0x7879
cw 0xd
call send_back  ; 44743 (0xaec7)

lri $AR1,    #0x5a32
lri $IX1,    #0xf4a4
lri $WR1,    #0xea35
cw 0xd
call send_back  ; 44744 (0xaec8)

lri $AR1,    #0x45d5
lri $IX1,    #0x9dc2
lri $WR1,    #0x2d5a
cw 0xd
call send_back  ; 44745 (0xaec9)

lri $AR1,    #0x94e8
lri $IX1,    #0x5576
lri $WR1,    #0xcb2e
cw 0xd
call send_back  ; 44746 (0xaeca)

lri $AR1,    #0x9573
lri $IX1,    #0x4ad6
lri $WR1,    #0x7229
cw 0xd
call send_back  ; 44747 (0xaecb)

lri $AR1,    #0x9798
lri $IX1,    #0x8518
lri $WR1,    #0x7a89
cw 0xd
call send_back  ; 44748 (0xaecc)

lri $AR1,    #0x9c86
lri $IX1,    #0x4a92
lri $WR1,    #0xe9e3
cw 0xd
call send_back  ; 44749 (0xaecd)

lri $AR1,    #0x6977
lri $IX1,    #0x782c
lri $WR1,    #0x5135
cw 0xd
call send_back  ; 44750 (0xaece)

lri $AR1,    #0x968c
lri $IX1,    #0x3fb2
lri $WR1,    #0xc295
cw 0xd
call send_back  ; 44751 (0xaecf)

lri $AR1,    #0x68de
lri $IX1,    #0xb6b2
lri $WR1,    #0xc0f9
cw 0xd
call send_back  ; 44752 (0xaed0)

lri $AR1,    #0x527f
lri $IX1,    #0x0750
lri $WR1,    #0x5647
cw 0xd
call send_back  ; 44753 (0xaed1)

lri $AR1,    #0xb2d9
lri $IX1,    #0xcfdc
lri $WR1,    #0xc919
cw 0xd
call send_back  ; 44754 (0xaed2)

lri $AR1,    #0x451c
lri $IX1,    #0x2d66
lri $WR1,    #0x9d64
cw 0xd
call send_back  ; 44755 (0xaed3)

lri $AR1,    #0x7229
lri $IX1,    #0xf14a
lri $WR1,    #0x807d
cw 0xd
call send_back  ; 44756 (0xaed4)

lri $AR1,    #0xd6ac
lri $IX1,    #0x78ce
lri $WR1,    #0x5a9d
cw 0xd
call send_back  ; 44757 (0xaed5)

lri $AR1,    #0x9dd1
lri $IX1,    #0x69da
lri $WR1,    #0xdd5d
cw 0xd
call send_back  ; 44758 (0xaed6)

lri $AR1,    #0xb44b
lri $IX1,    #0x16dc
lri $WR1,    #0x6858
cw 0xd
call send_back  ; 44759 (0xaed7)

lri $AR1,    #0x2f18
lri $IX1,    #0x5fee
lri $WR1,    #0x6264
cw 0xd
call send_back  ; 44760 (0xaed8)

lri $AR1,    #0x6cb1
lri $IX1,    #0x6e52
lri $WR1,    #0x8f91
cw 0xd
call send_back  ; 44761 (0xaed9)

lri $AR1,    #0x5718
lri $IX1,    #0x8332
lri $WR1,    #0x595d
cw 0xd
call send_back  ; 44762 (0xaeda)

lri $AR1,    #0xa079
lri $IX1,    #0x21f6
lri $WR1,    #0xd049
cw 0xd
call send_back  ; 44763 (0xaedb)

lri $AR1,    #0xbbc0
lri $IX1,    #0x01e8
lri $WR1,    #0xc356
cw 0xd
call send_back  ; 44764 (0xaedc)

lri $AR1,    #0x8deb
lri $IX1,    #0x4a96
lri $WR1,    #0x836a
cw 0xd
call send_back  ; 44765 (0xaedd)

lri $AR1,    #0x4462
lri $IX1,    #0x89aa
lri $WR1,    #0xa64c
cw 0xd
call send_back  ; 44766 (0xaede)

lri $AR1,    #0x403f
lri $IX1,    #0x7090
lri $WR1,    #0xbe2b
cw 0xd
call send_back  ; 44767 (0xaedf)

lri $AR1,    #0x7db2
lri $IX1,    #0x9bb8
lri $WR1,    #0x6051
cw 0xd
call send_back  ; 44768 (0xaee0)

lri $AR1,    #0x2a6d
lri $IX1,    #0x4cd4
lri $WR1,    #0x5f03
cw 0xd
call send_back  ; 44769 (0xaee1)

lri $AR1,    #0x9d58
lri $IX1,    #0xfcbe
lri $WR1,    #0xa834
cw 0xd
call send_back  ; 44770 (0xaee2)

lri $AR1,    #0x756c
lri $IX1,    #0xd97a
lri $WR1,    #0x2c06
cw 0xd
call send_back  ; 44771 (0xaee3)

lri $AR1,    #0xacf2
lri $IX1,    #0x8818
lri $WR1,    #0x63ac
cw 0xd
call send_back  ; 44772 (0xaee4)

lri $AR1,    #0xca03
lri $IX1,    #0xb9ba
lri $WR1,    #0x6ad2
cw 0xd
call send_back  ; 44773 (0xaee5)

lri $AR1,    #0x649c
lri $IX1,    #0x2ea0
lri $WR1,    #0x7afb
cw 0xd
call send_back  ; 44774 (0xaee6)

lri $AR1,    #0x5e09
lri $IX1,    #0x8180
lri $WR1,    #0x59f9
cw 0xd
call send_back  ; 44775 (0xaee7)

lri $AR1,    #0xbcfe
lri $IX1,    #0x68f6
lri $WR1,    #0x5217
cw 0xd
call send_back  ; 44776 (0xaee8)

lri $AR1,    #0x8d32
lri $IX1,    #0xe46c
lri $WR1,    #0x73e5
cw 0xd
call send_back  ; 44777 (0xaee9)

lri $AR1,    #0xc0ca
lri $IX1,    #0xe540
lri $WR1,    #0x8f59
cw 0xd
call send_back  ; 44778 (0xaeea)

lri $AR1,    #0x4557
lri $IX1,    #0x5464
lri $WR1,    #0x6341
cw 0xd
call send_back  ; 44779 (0xaeeb)

lri $AR1,    #0xa5cd
lri $IX1,    #0xb87a
lri $WR1,    #0xd79a
cw 0xd
call send_back  ; 44780 (0xaeec)

lri $AR1,    #0x8e38
lri $IX1,    #0x178c
lri $WR1,    #0x10e1
cw 0xd
call send_back  ; 44781 (0xaeed)

lri $AR1,    #0xb573
lri $IX1,    #0xdb3e
lri $WR1,    #0xa7e3
cw 0xd
call send_back  ; 44782 (0xaeee)

lri $AR1,    #0x74cd
lri $IX1,    #0x5dde
lri $WR1,    #0xb32c
cw 0xd
call send_back  ; 44783 (0xaeef)

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