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

lri $AR1,    #0x30ef
lri $IX1,    #0x5c8a
lri $WR1,    #0x7dd0
cw 0xd
call send_back  ; 55597 (0xd92d)

lri $AR1,    #0x6e3e
lri $IX1,    #0xbf58
lri $WR1,    #0xc8ef
cw 0xd
call send_back  ; 55598 (0xd92e)

lri $AR1,    #0x5337
lri $IX1,    #0xeb82
lri $WR1,    #0x7f89
cw 0xd
call send_back  ; 55599 (0xd92f)

lri $AR1,    #0xa539
lri $IX1,    #0xe328
lri $WR1,    #0xa8e5
cw 0xd
call send_back  ; 55600 (0xd930)

lri $AR1,    #0x9e3c
lri $IX1,    #0xb158
lri $WR1,    #0x662b
cw 0xd
call send_back  ; 55601 (0xd931)

lri $AR1,    #0x855f
lri $IX1,    #0xe3de
lri $WR1,    #0x5972
cw 0xd
call send_back  ; 55602 (0xd932)

lri $AR1,    #0x6ba4
lri $IX1,    #0x5628
lri $WR1,    #0x65a6
cw 0xd
call send_back  ; 55603 (0xd933)

lri $AR1,    #0xd216
lri $IX1,    #0xdd00
lri $WR1,    #0xb7c9
cw 0xd
call send_back  ; 55604 (0xd934)

lri $AR1,    #0x9a21
lri $IX1,    #0xda7a
lri $WR1,    #0xa3b5
cw 0xd
call send_back  ; 55605 (0xd935)

lri $AR1,    #0x708b
lri $IX1,    #0x0cd6
lri $WR1,    #0x7be5
cw 0xd
call send_back  ; 55606 (0xd936)

lri $AR1,    #0xc6b8
lri $IX1,    #0xeac4
lri $WR1,    #0x8d45
cw 0xd
call send_back  ; 55607 (0xd937)

lri $AR1,    #0xc5ad
lri $IX1,    #0x72aa
lri $WR1,    #0xadbd
cw 0xd
call send_back  ; 55608 (0xd938)

lri $AR1,    #0x5186
lri $IX1,    #0x5a76
lri $WR1,    #0x355c
cw 0xd
call send_back  ; 55609 (0xd939)

lri $AR1,    #0x93bd
lri $IX1,    #0xe890
lri $WR1,    #0x27e0
cw 0xd
call send_back  ; 55610 (0xd93a)

lri $AR1,    #0x7610
lri $IX1,    #0x4e7c
lri $WR1,    #0x2581
cw 0xd
call send_back  ; 55611 (0xd93b)

lri $AR1,    #0x5f53
lri $IX1,    #0x00b2
lri $WR1,    #0x4fa9
cw 0xd
call send_back  ; 55612 (0xd93c)

lri $AR1,    #0xbf05
lri $IX1,    #0x1f4a
lri $WR1,    #0x87a5
cw 0xd
call send_back  ; 55613 (0xd93d)

lri $AR1,    #0xe3e7
lri $IX1,    #0x6e10
lri $WR1,    #0x2ad9
cw 0xd
call send_back  ; 55614 (0xd93e)

lri $AR1,    #0x1d86
lri $IX1,    #0x7a68
lri $WR1,    #0x918a
cw 0xd
call send_back  ; 55615 (0xd93f)

lri $AR1,    #0x1fd8
lri $IX1,    #0x40d4
lri $WR1,    #0x7acc
cw 0xd
call send_back  ; 55616 (0xd940)

lri $AR1,    #0x6bf2
lri $IX1,    #0xcb6e
lri $WR1,    #0x99ad
cw 0xd
call send_back  ; 55617 (0xd941)

lri $AR1,    #0x7ff4
lri $IX1,    #0xbe10
lri $WR1,    #0x851a
cw 0xd
call send_back  ; 55618 (0xd942)

lri $AR1,    #0xa42a
lri $IX1,    #0x749a
lri $WR1,    #0xbdaa
cw 0xd
call send_back  ; 55619 (0xd943)

lri $AR1,    #0x3282
lri $IX1,    #0x1b0c
lri $WR1,    #0xb1bf
cw 0xd
call send_back  ; 55620 (0xd944)

lri $AR1,    #0x915a
lri $IX1,    #0xded0
lri $WR1,    #0x8228
cw 0xd
call send_back  ; 55621 (0xd945)

lri $AR1,    #0x29c6
lri $IX1,    #0xe406
lri $WR1,    #0xa6c6
cw 0xd
call send_back  ; 55622 (0xd946)

lri $AR1,    #0xc543
lri $IX1,    #0xe920
lri $WR1,    #0xd442
cw 0xd
call send_back  ; 55623 (0xd947)

lri $AR1,    #0xd60f
lri $IX1,    #0x5688
lri $WR1,    #0x8970
cw 0xd
call send_back  ; 55624 (0xd948)

lri $AR1,    #0x9901
lri $IX1,    #0xbfd4
lri $WR1,    #0xd466
cw 0xd
call send_back  ; 55625 (0xd949)

lri $AR1,    #0x1f36
lri $IX1,    #0x771e
lri $WR1,    #0x8cd9
cw 0xd
call send_back  ; 55626 (0xd94a)

lri $AR1,    #0x8153
lri $IX1,    #0xa2f8
lri $WR1,    #0xd2ca
cw 0xd
call send_back  ; 55627 (0xd94b)

lri $AR1,    #0xa5b3
lri $IX1,    #0x2ab0
lri $WR1,    #0x7625
cw 0xd
call send_back  ; 55628 (0xd94c)

lri $AR1,    #0x7e63
lri $IX1,    #0xa45a
lri $WR1,    #0x654b
cw 0xd
call send_back  ; 55629 (0xd94d)

lri $AR1,    #0x5318
lri $IX1,    #0x1b3c
lri $WR1,    #0xbe25
cw 0xd
call send_back  ; 55630 (0xd94e)

lri $AR1,    #0x6f11
lri $IX1,    #0xe51e
lri $WR1,    #0x7ed5
cw 0xd
call send_back  ; 55631 (0xd94f)

lri $AR1,    #0x4220
lri $IX1,    #0xb026
lri $WR1,    #0x787f
cw 0xd
call send_back  ; 55632 (0xd950)

lri $AR1,    #0x8fb5
lri $IX1,    #0x5aba
lri $WR1,    #0x7053
cw 0xd
call send_back  ; 55633 (0xd951)

lri $AR1,    #0x8635
lri $IX1,    #0xe1fe
lri $WR1,    #0xa856
cw 0xd
call send_back  ; 55634 (0xd952)

lri $AR1,    #0x6c6d
lri $IX1,    #0xa384
lri $WR1,    #0x3b0d
cw 0xd
call send_back  ; 55635 (0xd953)

lri $AR1,    #0x5a7a
lri $IX1,    #0x31c2
lri $WR1,    #0xaa76
cw 0xd
call send_back  ; 55636 (0xd954)

lri $AR1,    #0x8ee3
lri $IX1,    #0xf2be
lri $WR1,    #0x9c94
cw 0xd
call send_back  ; 55637 (0xd955)

lri $AR1,    #0x404f
lri $IX1,    #0x8bb4
lri $WR1,    #0x5cf1
cw 0xd
call send_back  ; 55638 (0xd956)

lri $AR1,    #0x2f92
lri $IX1,    #0x9c14
lri $WR1,    #0xbc2f
cw 0xd
call send_back  ; 55639 (0xd957)

lri $AR1,    #0x9560
lri $IX1,    #0x5d94
lri $WR1,    #0x2c56
cw 0xd
call send_back  ; 55640 (0xd958)

lri $AR1,    #0x3291
lri $IX1,    #0x46ae
lri $WR1,    #0x61bd
cw 0xd
call send_back  ; 55641 (0xd959)

lri $AR1,    #0xa921
lri $IX1,    #0xa86e
lri $WR1,    #0xae4e
cw 0xd
call send_back  ; 55642 (0xd95a)

lri $AR1,    #0xb7dc
lri $IX1,    #0x4fb2
lri $WR1,    #0x9e1a
cw 0xd
call send_back  ; 55643 (0xd95b)

lri $AR1,    #0x59e7
lri $IX1,    #0x55e2
lri $WR1,    #0x71c9
cw 0xd
call send_back  ; 55644 (0xd95c)

lri $AR1,    #0x871b
lri $IX1,    #0x644a
lri $WR1,    #0x4d10
cw 0xd
call send_back  ; 55645 (0xd95d)

lri $AR1,    #0x415f
lri $IX1,    #0x98ee
lri $WR1,    #0xaca3
cw 0xd
call send_back  ; 55646 (0xd95e)

lri $AR1,    #0x9ee6
lri $IX1,    #0xdb36
lri $WR1,    #0x58bb
cw 0xd
call send_back  ; 55647 (0xd95f)

lri $AR1,    #0x789f
lri $IX1,    #0xa230
lri $WR1,    #0x6ecd
cw 0xd
call send_back  ; 55648 (0xd960)

lri $AR1,    #0x2f95
lri $IX1,    #0xd5c8
lri $WR1,    #0xa66e
cw 0xd
call send_back  ; 55649 (0xd961)

lri $AR1,    #0x7baf
lri $IX1,    #0x6fb2
lri $WR1,    #0x82f9
cw 0xd
call send_back  ; 55650 (0xd962)

lri $AR1,    #0x4980
lri $IX1,    #0xb074
lri $WR1,    #0x951d
cw 0xd
call send_back  ; 55651 (0xd963)

lri $AR1,    #0x348d
lri $IX1,    #0x0034
lri $WR1,    #0x24bb
cw 0xd
call send_back  ; 55652 (0xd964)

lri $AR1,    #0x86cc
lri $IX1,    #0xcad4
lri $WR1,    #0xf549
cw 0xd
call send_back  ; 55653 (0xd965)

lri $AR1,    #0x35b6
lri $IX1,    #0xb1ee
lri $WR1,    #0x3435
cw 0xd
call send_back  ; 55654 (0xd966)

lri $AR1,    #0x78b2
lri $IX1,    #0x2f34
lri $WR1,    #0x6261
cw 0xd
call send_back  ; 55655 (0xd967)

lri $AR1,    #0xac30
lri $IX1,    #0x14de
lri $WR1,    #0x8f40
cw 0xd
call send_back  ; 55656 (0xd968)

lri $AR1,    #0x2045
lri $IX1,    #0x2196
lri $WR1,    #0x65af
cw 0xd
call send_back  ; 55657 (0xd969)

lri $AR1,    #0x910f
lri $IX1,    #0xf88e
lri $WR1,    #0xb811
cw 0xd
call send_back  ; 55658 (0xd96a)

lri $AR1,    #0xbabd
lri $IX1,    #0x1e3a
lri $WR1,    #0xcac0
cw 0xd
call send_back  ; 55659 (0xd96b)

lri $AR1,    #0xa27e
lri $IX1,    #0xfd58
lri $WR1,    #0xf164
cw 0xd
call send_back  ; 55660 (0xd96c)

lri $AR1,    #0x293b
lri $IX1,    #0x4faa
lri $WR1,    #0x8d47
cw 0xd
call send_back  ; 55661 (0xd96d)

lri $AR1,    #0xac4a
lri $IX1,    #0x7136
lri $WR1,    #0x7821
cw 0xd
call send_back  ; 55662 (0xd96e)

lri $AR1,    #0x3c16
lri $IX1,    #0x0440
lri $WR1,    #0xc88b
cw 0xd
call send_back  ; 55663 (0xd96f)

lri $AR1,    #0x27e5
lri $IX1,    #0xc000
lri $WR1,    #0x8287
cw 0xd
call send_back  ; 55664 (0xd970)

lri $AR1,    #0xa9a2
lri $IX1,    #0x2b2a
lri $WR1,    #0x104c
cw 0xd
call send_back  ; 55665 (0xd971)

lri $AR1,    #0xbbf3
lri $IX1,    #0x3f40
lri $WR1,    #0xacd1
cw 0xd
call send_back  ; 55666 (0xd972)

lri $AR1,    #0x7872
lri $IX1,    #0x60f8
lri $WR1,    #0x9b2c
cw 0xd
call send_back  ; 55667 (0xd973)

lri $AR1,    #0xa34c
lri $IX1,    #0x9d70
lri $WR1,    #0x7b60
cw 0xd
call send_back  ; 55668 (0xd974)

lri $AR1,    #0xa527
lri $IX1,    #0x93a2
lri $WR1,    #0xa695
cw 0xd
call send_back  ; 55669 (0xd975)

lri $AR1,    #0x838c
lri $IX1,    #0xbcc6
lri $WR1,    #0x1a62
cw 0xd
call send_back  ; 55670 (0xd976)

lri $AR1,    #0x4bb6
lri $IX1,    #0xc60c
lri $WR1,    #0x7c24
cw 0xd
call send_back  ; 55671 (0xd977)

lri $AR1,    #0xbb11
lri $IX1,    #0x4178
lri $WR1,    #0x82fd
cw 0xd
call send_back  ; 55672 (0xd978)

lri $AR1,    #0x1c2e
lri $IX1,    #0xfb18
lri $WR1,    #0x808e
cw 0xd
call send_back  ; 55673 (0xd979)

lri $AR1,    #0xae8e
lri $IX1,    #0x9b8e
lri $WR1,    #0xadf2
cw 0xd
call send_back  ; 55674 (0xd97a)

lri $AR1,    #0x6303
lri $IX1,    #0xd020
lri $WR1,    #0xb40c
cw 0xd
call send_back  ; 55675 (0xd97b)

lri $AR1,    #0x9e0a
lri $IX1,    #0xd420
lri $WR1,    #0x7bc7
cw 0xd
call send_back  ; 55676 (0xd97c)

lri $AR1,    #0x6cd3
lri $IX1,    #0xcf0a
lri $WR1,    #0x8c3d
cw 0xd
call send_back  ; 55677 (0xd97d)

lri $AR1,    #0x896c
lri $IX1,    #0xe620
lri $WR1,    #0x7a71
cw 0xd
call send_back  ; 55678 (0xd97e)

lri $AR1,    #0x8db1
lri $IX1,    #0xffcc
lri $WR1,    #0x8f96
cw 0xd
call send_back  ; 55679 (0xd97f)

lri $AR1,    #0x2c85
lri $IX1,    #0xeaa8
lri $WR1,    #0x307c
cw 0xd
call send_back  ; 55680 (0xd980)

lri $AR1,    #0x93eb
lri $IX1,    #0xc170
lri $WR1,    #0x9a3f
cw 0xd
call send_back  ; 55681 (0xd981)

lri $AR1,    #0x1a91
lri $IX1,    #0xe0b8
lri $WR1,    #0x95ad
cw 0xd
call send_back  ; 55682 (0xd982)

lri $AR1,    #0x6e52
lri $IX1,    #0x72a4
lri $WR1,    #0x3489
cw 0xd
call send_back  ; 55683 (0xd983)

lri $AR1,    #0x8147
lri $IX1,    #0x5888
lri $WR1,    #0x6133
cw 0xd
call send_back  ; 55684 (0xd984)

lri $AR1,    #0x4e03
lri $IX1,    #0xf1b8
lri $WR1,    #0x62ca
cw 0xd
call send_back  ; 55685 (0xd985)

lri $AR1,    #0x9b5e
lri $IX1,    #0xca4a
lri $WR1,    #0x5549
cw 0xd
call send_back  ; 55686 (0xd986)

lri $AR1,    #0x8bad
lri $IX1,    #0x7c30
lri $WR1,    #0x56ca
cw 0xd
call send_back  ; 55687 (0xd987)

lri $AR1,    #0x5a92
lri $IX1,    #0xe070
lri $WR1,    #0x305e
cw 0xd
call send_back  ; 55688 (0xd988)

lri $AR1,    #0x985d
lri $IX1,    #0xf5c6
lri $WR1,    #0x6aaa
cw 0xd
call send_back  ; 55689 (0xd989)

lri $AR1,    #0x512e
lri $IX1,    #0x7d80
lri $WR1,    #0x6bbf
cw 0xd
call send_back  ; 55690 (0xd98a)

lri $AR1,    #0xc1c2
lri $IX1,    #0x1ef4
lri $WR1,    #0x4d4f
cw 0xd
call send_back  ; 55691 (0xd98b)

lri $AR1,    #0x6319
lri $IX1,    #0xc54a
lri $WR1,    #0x6fc0
cw 0xd
call send_back  ; 55692 (0xd98c)

lri $AR1,    #0x91f5
lri $IX1,    #0xc2fa
lri $WR1,    #0x4845
cw 0xd
call send_back  ; 55693 (0xd98d)

lri $AR1,    #0xc654
lri $IX1,    #0xf1c0
lri $WR1,    #0xe563
cw 0xd
call send_back  ; 55694 (0xd98e)

lri $AR1,    #0x92c8
lri $IX1,    #0x656a
lri $WR1,    #0x872a
cw 0xd
call send_back  ; 55695 (0xd98f)

lri $AR1,    #0x5b0b
lri $IX1,    #0x3b36
lri $WR1,    #0x4d7c
cw 0xd
call send_back  ; 55696 (0xd990)

lri $AR1,    #0x3c83
lri $IX1,    #0x772a
lri $WR1,    #0xc897
cw 0xd
call send_back  ; 55697 (0xd991)

lri $AR1,    #0x6318
lri $IX1,    #0x9c28
lri $WR1,    #0x8560
cw 0xd
call send_back  ; 55698 (0xd992)

lri $AR1,    #0x5831
lri $IX1,    #0x9b04
lri $WR1,    #0x6085
cw 0xd
call send_back  ; 55699 (0xd993)

lri $AR1,    #0xa10f
lri $IX1,    #0xb88a
lri $WR1,    #0xe107
cw 0xd
call send_back  ; 55700 (0xd994)

lri $AR1,    #0x9d6f
lri $IX1,    #0x01a6
lri $WR1,    #0x7438
cw 0xd
call send_back  ; 55701 (0xd995)

lri $AR1,    #0x66bf
lri $IX1,    #0xb08a
lri $WR1,    #0x82b9
cw 0xd
call send_back  ; 55702 (0xd996)

lri $AR1,    #0x53a6
lri $IX1,    #0x652c
lri $WR1,    #0x57a2
cw 0xd
call send_back  ; 55703 (0xd997)

lri $AR1,    #0x9b42
lri $IX1,    #0x26d8
lri $WR1,    #0x9832
cw 0xd
call send_back  ; 55704 (0xd998)

lri $AR1,    #0xbedf
lri $IX1,    #0xac30
lri $WR1,    #0x7452
cw 0xd
call send_back  ; 55705 (0xd999)

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